diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.cs index 4243ec415..f79454859 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestApmQueryArgs : global: public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGetArgs.cs index 89898f7ba..be06c369c 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestApmQueryGetArgs : glob public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index 6d9f17386..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetChangeDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetChangeDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 318ee0271..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index fbcbef5e5..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.cs index 419883315..520078cca 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestLogQueryArgs : global: public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGetArgs.cs index 3f16113ab..0f3c949fc 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestLogQueryGetArgs : glob public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index e968cb01e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index 8a4c901a2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetChangeDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetChangeDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index dc2fa99c7..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.cs index 4efedb8f4..c441cc0bc 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGetArgs.cs index 422c6b244..55a14ab4a 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index 7b93031e7..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index 683140c1b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 3f02b8bc9..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 8c9b607bc..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.cs index ae017fec7..2ab18aaff 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestRumQueryArgs : global: public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGetArgs.cs index 9d156f026..744b6c2a6 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestRumQueryGetArgs : glob public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index ed66c6b5e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetChangeDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetChangeDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index d2f035344..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.cs index 24ec61d45..65a43da88 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestSecurityQueryArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGetArgs.cs index 1f7f58569..1849c3763 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetChangeDefinitionRequestSecurityQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index b7a74ad45..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index c79d39335..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index e329f9811..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index d8ba9e47e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.cs index 3cacec5d4..9b8dab733 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestApmQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGetArgs.cs index 9bca3342f..640e105bc 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestApmQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs.cs deleted file mode 100644 index 57bd59e51..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index a5fa0f61e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 998c4665d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 019a2440d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.cs index d65aa8ea5..80654f313 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestLogQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGetArgs.cs index 62de6d645..9f412f004 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestLogQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index 62b26a2db..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index df75d1d77..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index c2b2d5e2b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 3f80ee3a2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.cs index 1765ac5ca..fc6ae6ed1 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestRumQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGetArgs.cs index d9c3ab049..11f20ebd3 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestRumQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index e7a640dc5..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index 7ebba8741..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 909fe310f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 7a05fefde..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.cs index 53ec63b31..f3c274622 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestSecurityQueryArg public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGetArgs.cs index c1dc0f5b1..4cc3d47bc 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetDistributionDefinitionRequestSecurityQueryGet public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index 4ef3363cf..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 1add6cc44..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index e5c844bfb..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 5aa2374b4..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.cs index 8722ad654..7f8c83622 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetGeomapDefinitionRequestLogQueryArgs : global: public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGetArgs.cs index 558e48191..a5edb1554 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetGeomapDefinitionRequestLogQueryGetArgs : glob public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index 7a40dd666..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index 2f1a3b023..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetGeomapDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 0f7888b6c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 5c80028a4..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.cs index 3b73b9b85..a11313eb1 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGetArgs.cs index 837c397a4..5dfffefd2 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index f08585c68..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index 65552475d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 2ac35e902..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index db2e13c0d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.cs index 8062cf741..0d1a6423b 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetGeomapDefinitionRequestRumQueryArgs : global: public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGetArgs.cs index 0005a572c..61d01c9b9 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetGeomapDefinitionRequestRumQueryGetArgs : glob public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index dccdabe28..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index e0b2ba313..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetGeomapDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index d17a8002f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 4619e1748..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGroupByArgs.cs similarity index 64% rename from sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs.cs rename to sdk/dotnet/Inputs/DashboardWidgetGroupByArgs.cs index cbf1a0c75..c1a8c1c81 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGroupByArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Datadog.Inputs { - public sealed class DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs + public sealed class DashboardWidgetGroupByArgs : global::Pulumi.ResourceArgs { /// /// The facet name. @@ -28,11 +28,11 @@ public sealed class DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs : /// A list of exactly one element describing the sort query to use. /// [Input("sortQuery")] - public Input? SortQuery { get; set; } + public Input? SortQuery { get; set; } - public DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs() + public DashboardWidgetGroupByArgs() { } - public static new DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs(); + public static new DashboardWidgetGroupByArgs Empty => new DashboardWidgetGroupByArgs(); } } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGroupByGetArgs.cs similarity index 64% rename from sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs.cs rename to sdk/dotnet/Inputs/DashboardWidgetGroupByGetArgs.cs index cdaf65284..b6bf1e2ac 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGroupByGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Datadog.Inputs { - public sealed class DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs + public sealed class DashboardWidgetGroupByGetArgs : global::Pulumi.ResourceArgs { /// /// The facet name. @@ -28,11 +28,11 @@ public sealed class DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs : /// A list of exactly one element describing the sort query to use. /// [Input("sortQuery")] - public Input? SortQuery { get; set; } + public Input? SortQuery { get; set; } - public DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs() + public DashboardWidgetGroupByGetArgs() { } - public static new DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs(); + public static new DashboardWidgetGroupByGetArgs Empty => new DashboardWidgetGroupByGetArgs(); } } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGroupBySortQueryArgs.cs similarity index 71% rename from sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs.cs rename to sdk/dotnet/Inputs/DashboardWidgetGroupBySortQueryArgs.cs index 39caa7bd3..18909fa02 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGroupBySortQueryArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Datadog.Inputs { - public sealed class DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs + public sealed class DashboardWidgetGroupBySortQueryArgs : global::Pulumi.ResourceArgs { /// /// The aggregation method. @@ -30,9 +30,9 @@ public sealed class DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQue [Input("order", required: true)] public Input Order { get; set; } = null!; - public DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs() + public DashboardWidgetGroupBySortQueryArgs() { } - public static new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs(); + public static new DashboardWidgetGroupBySortQueryArgs Empty => new DashboardWidgetGroupBySortQueryArgs(); } } diff --git a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetGroupBySortQueryGetArgs.cs similarity index 71% rename from sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs.cs rename to sdk/dotnet/Inputs/DashboardWidgetGroupBySortQueryGetArgs.cs index a6c89c8b8..8ac9587de 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetGroupBySortQueryGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Datadog.Inputs { - public sealed class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs + public sealed class DashboardWidgetGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs { /// /// The aggregation method. @@ -30,9 +30,9 @@ public sealed class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQue [Input("order", required: true)] public Input Order { get; set; } = null!; - public DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs() + public DashboardWidgetGroupBySortQueryGetArgs() { } - public static new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs(); + public static new DashboardWidgetGroupBySortQueryGetArgs Empty => new DashboardWidgetGroupBySortQueryGetArgs(); } } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.cs index 265720e9e..bbad2645a 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestApmQueryArgs : global public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGetArgs.cs index bb6429f7f..0e499e968 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestApmQueryGetArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs.cs deleted file mode 100644 index db4337b58..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index d9128c2ab..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 049a3ced6..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 47f252553..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.cs index 1beabb6d9..03f33447d 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestLogQueryArgs : global public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGetArgs.cs index 9f6044b1d..f1f958efb 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestLogQueryGetArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index b4d7087cb..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index fefa3e3e2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 9489be962..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 1a352a55d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.cs index 5c189045a..f73a79da2 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGetArgs.cs index d4e2f0d5c..893153a66 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index c39cb59e9..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index 68a7227ec..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 850b39768..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 439b1ab9d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.cs index 504379be8..f0fa0b748 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestRumQueryArgs : global public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGetArgs.cs index fb4daad02..51de9dd17 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestRumQueryGetArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index 771859c08..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index 579280792..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 7db6cce1a..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index b96941285..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.cs index 90f90194c..ede179660 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGetArgs.cs index 0353cebe6..f69e02481 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index 6cc4192c2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 256bf1d81..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 11c74574f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 2fecd674c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.cs index c5f590ba3..5c12b6d9e 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGetArgs.cs index 9e77a6029..ed34b0ebf 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillApmQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs.cs deleted file mode 100644 index 4469a3660..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByGetArgs.cs deleted file mode 100644 index a7629d8fc..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 934ed5063..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index c0ed7448c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.cs index 1aed59565..ce341d172 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGetArgs.cs index c306097bd..c44d8da9e 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillLogQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs.cs deleted file mode 100644 index 1afb6219b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByGetArgs.cs deleted file mode 100644 index 5a9d563d1..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index b923aea2b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 791182555..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.cs index 128c07262..98271d81a 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGetArgs.cs index a8844d2b7..1e2ddc404 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillRumQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs.cs deleted file mode 100644 index 269bee4d8..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByGetArgs.cs deleted file mode 100644 index 35175d23e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index acbbde9d7..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 48c4cea48..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.cs index a1fc332ed..030e598cc 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGetArgs.cs index 591e62212..6291a5f00 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGetA public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs.cs deleted file mode 100644 index f31bde0c3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 4c59de9de..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 50ad982f4..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index c31b14a57..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.cs index 452272b7f..615153bac 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGetArgs.cs index bb378e6c7..8e3642b9a 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs.cs deleted file mode 100644 index 2244977a1..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByGetArgs.cs deleted file mode 100644 index 0f94b70f5..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 47717e790..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 59ff4db35..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.cs index 0c85696a9..fe2d64711 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGetArgs.cs index 8ea66b4d6..2f10ea994 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs.cs deleted file mode 100644 index 4f7e506e1..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByGetArgs.cs deleted file mode 100644 index 315245b73..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index ea88a0602..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index f011ff5d5..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.cs index 20f0f850d..dda5336e3 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGetArgs.cs index cc3620cb5..083d2288b 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs.cs deleted file mode 100644 index ca1bfd1b5..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByGetArgs.cs deleted file mode 100644 index 249683bc8..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index d886628dc..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index f8304792e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.cs index fe534ac75..dc70d45fb 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGetArgs.cs index c2d3924bc..c56043a83 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGetA public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs.cs deleted file mode 100644 index e21e17a52..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 4e67499c2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 3232e3034..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 7c0d41a1f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.cs index 96b3906fc..a0c3c7973 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestApmQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGetArgs.cs index 9e3eb1d07..5b5520367 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestApmQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs.cs deleted file mode 100644 index cdd3f4335..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index 9f4fbc787..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 6f111fbb8..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 3883bbbc2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.cs index fc51be016..edea5800e 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestLogQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGetArgs.cs index 7ae31026a..e575a2184 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestLogQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index 520a2b425..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index f48f29309..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index f5e05f28c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 9251cb350..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.cs index e68239993..37bbd9af8 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGetArgs.cs index baee9d98b..a588a19bc 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index 099696b70..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index cab7490fb..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index cb7471b27..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 2e3f0a5da..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.cs index c10fcb9a0..1d775ca89 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestRumQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGetArgs.cs index 58bbd8a88..ed08f0c59 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestRumQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index 8806bbd31..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index c53361c41..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 2b8d9d28f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 85c77ccf8..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.cs index 424d4cc97..4c976197e 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGetArgs.cs index 08098cc52..9a9dad5fa 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGetAr public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index e299181dc..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index c26efb1bd..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 2911985ae..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 2f174b15a..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.cs index ab2fba70c..1a0cff627 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestApmQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGetArgs.cs index fd1fe5db8..9ff650e79 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestApmQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs.cs deleted file mode 100644 index f56274384..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index 3c8b65c1d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 5ca9b3dbf..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 6cb2d0172..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.cs index bf4bfbfd5..cc7680011 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGetArgs.cs index 6ef8702fe..120b3aa08 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestAuditQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs.cs deleted file mode 100644 index dddf7ed0e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs Empty => new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByGetArgs.cs deleted file mode 100644 index 2d4876ee3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 5d4df6212..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 4368de930..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.cs index bc979c3a8..754c7bc15 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestLogQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGetArgs.cs index 8656e0a43..07ccddea2 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestLogQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index d0d0b8e8a..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index 0e3ef96e2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 40bf76c17..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 53e42590c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.cs index f4deadeb5..eaa1e6a82 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGetArgs.cs index b6ec48f1e..f0e69de44 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index 392b7042e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index f217ae22a..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index ece951969..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 9a6a49d54..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.cs index ed7a54191..8fd7ba6c8 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestRumQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGetArgs.cs index 22b6abca3..908200f4b 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestRumQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index e7efbd6b4..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index a5aa60123..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 10855d699..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 7885b9047..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.cs index d2136eefd..39d5e832d 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGetArgs.cs index a668162ae..7f447617e 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGetAr public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index 879722695..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 2ab97e525..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 1f6fb3bda..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 2eb37f04c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.cs index 0619512e2..19146a65f 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGetArgs.cs index 34e25a471..b23f7842d 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs.cs deleted file mode 100644 index 63bcd41c3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index 4ee68f9f9..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 07230c814..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 99571fa9d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.cs index d00d6c155..ae8de6762 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGetArgs.cs index fa8a145a2..fd565b32d 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXApmQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs.cs deleted file mode 100644 index 4cfe7e07f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByGetArgs.cs deleted file mode 100644 index 071d5dc2e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index ef79f8ba6..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 1a34ee11f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.cs index d2ce06c4a..42ccceea2 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGetArgs.cs index 04320a2d7..970a40d90 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXLogQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs.cs deleted file mode 100644 index 2de6b3b5c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByGetArgs.cs deleted file mode 100644 index 41ad73349..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index c2fdc3f3f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index be1ffbfc3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.cs index bb0b1bd80..ca3e61685 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGetArgs.cs index 5cef78bec..d99891a29 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXRumQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs.cs deleted file mode 100644 index 285694e83..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByGetArgs.cs deleted file mode 100644 index e30131792..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index abd783c7f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 83196f38b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.cs index dded24951..73bd27a90 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArg public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGetArgs.cs index b5d65bd87..d328aebee 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGet public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs.cs deleted file mode 100644 index e478d5c43..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 350488f5c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index f0e89e021..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 02a65b7b1..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.cs index 6fc53a250..8dc01e6d3 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGetArgs.cs index 9a5fd5e89..5f3f4f4cf 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYApmQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs.cs deleted file mode 100644 index a4e7c6f18..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByGetArgs.cs deleted file mode 100644 index 592912940..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 899108eb3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index b31d334d2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.cs index 11abb4018..b63435df0 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGetArgs.cs index bd1b3c5a4..1f122d0fe 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYLogQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs.cs deleted file mode 100644 index cd6e23aca..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByGetArgs.cs deleted file mode 100644 index 7c55598ae..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index ced0e6e73..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 32355d3c7..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.cs index f49752005..76bb45e00 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGetArgs.cs index 03ae107a7..3e28d9168 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYRumQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs.cs deleted file mode 100644 index fc1c1b734..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByGetArgs.cs deleted file mode 100644 index 9de64675e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index dae02bb41..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 5df56d395..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.cs index 63431d8a2..97da8e25a 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArg public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGetArgs.cs index a4b290e4f..da1f88137 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGet public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs.cs deleted file mode 100644 index 5f0d0a5f1..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index caf891109..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index b21df48b9..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 405cd2bd8..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.cs index 80a0ecbd1..535417c0c 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestApmQueryArgs : globa public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGetArgs.cs index 2107d9acb..837544303 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestApmQueryGetArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs.cs deleted file mode 100644 index 93d31f368..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index 19d9ed525..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index d9bed9774..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 5bc5dcde2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.cs index bab353384..c7b17df49 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestAuditQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGetArgs.cs index 6e8ae083d..cdbd8d537 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestAuditQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs.cs deleted file mode 100644 index 371d2484d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs Empty => new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByGetArgs.cs deleted file mode 100644 index 4fc57e4b8..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs.cs deleted file mode 100644 index d9fd8a1f4..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs Empty => new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 76ed9081e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.cs index 57a5bffa1..2bc9a956b 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestLogQueryArgs : globa public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGetArgs.cs index e3272d533..ab3e5e505 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestLogQueryGetArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index 9db67e47b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index 19c481c39..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 2d3d4b642..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index a7ac0c644..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.cs index 0b10a1f84..ab44bf409 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGetArgs.cs index 2210dc294..24316d402 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestNetworkQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs.cs deleted file mode 100644 index 433e9371e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs Empty => new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByGetArgs.cs deleted file mode 100644 index ffbfa4120..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 406027ba0..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs Empty => new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index beeed36d2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.cs index 869b6b8dc..d41adb7c3 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGetArgs.cs index 0748adaa3..7e6f5de0f 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index 9ffcd503c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index 65900b93f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 6e63abb9c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 7dd17de66..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.cs index 31c46ae0f..18bca44e8 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestRumQueryArgs : globa public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGetArgs.cs index bc52eb32c..f54b284bf 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestRumQueryGetArgs : gl public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index 93f3d4b38..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index a98fd26eb..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index d28847563..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 814b02a21..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.cs index 823af7f2d..8c1a1fd5b 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGetArgs.cs index 9d5aee76b..1e3c29b3e 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetSunburstDefinitionRequestSecurityQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index 63bc2162a..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index a8df135a3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 1fa6acc0f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 7e02eb7a9..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.cs index f069b8baf..eaedacc4c 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGetArgs.cs index 73fc2380f..52339b713 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestApmQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs.cs deleted file mode 100644 index a71e91797..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index ee823a744..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index fa44c4673..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 3ed0cbfee..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.cs index fa9e8106d..3fe36bc7d 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGetArgs.cs index 9828a3772..819f3acb9 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs.cs deleted file mode 100644 index d7df7cce2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByGetArgs.cs deleted file mode 100644 index 587f1bda1..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs.cs deleted file mode 100644 index bbdb93255..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index f33055492..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.cs index 0aa41e752..cdf56710d 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGetArgs.cs index 8b8c37e95..191281c93 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestLogQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index df739fcce..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index 9da24b07a..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index ec112bb18..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 1e8e87ee0..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.cs index 8684973cb..5ccb0f3d4 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGetArgs.cs index 359cce60b..001012ae2 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGetArg public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs.cs deleted file mode 100644 index 0e56dff1b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByGetArgs.cs deleted file mode 100644 index dda520bd3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs.cs deleted file mode 100644 index e4bb5f7d5..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index fab899fbe..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.cs index a78c42d7f..3f017c8d1 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGetArgs.cs index 579551242..b56c73077 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index b0a7f23a0..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index 25d71257b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 5f234b7f4..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 6311924e0..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.cs index ace720385..6f45b8fbd 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGetArgs.cs index 050b137ea..65d5dda6a 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestRumQueryGetArgs : public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index 8e929b612..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index c67ba2324..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 60ad0fddf..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 4c28ff325..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.cs index a013d26f1..134571ff0 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGetArgs.cs index 04fdea13a..b7f3de423 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGetAr public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index 7c9908548..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 06ac76708..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 55686eefe..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 6084603f0..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.cs index 3bc923b2f..f8324a509 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestApmQueryArgs : global public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGetArgs.cs index a075f97fd..f49fce2cd 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestApmQueryGetArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs.cs deleted file mode 100644 index 7cde5818b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs Empty => new DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupByGetArgs.cs deleted file mode 100644 index 3a141063d..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestApmQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestApmQueryGroupByGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestApmQueryGroupByGetArgs Empty => new DashboardWidgetToplistDefinitionRequestApmQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 626281f45..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs Empty => new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index f76448caa..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.cs index a740812ab..08da06eb9 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestAuditQueryArgs : glob public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGetArgs.cs index 4435fcc62..807915ac6 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestAuditQueryGetArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs.cs deleted file mode 100644 index c97621a8b..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs Empty => new DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupByGetArgs.cs deleted file mode 100644 index e87158059..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestAuditQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupByGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestAuditQueryGroupByGetArgs Empty => new DashboardWidgetToplistDefinitionRequestAuditQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs.cs deleted file mode 100644 index fde7df0bd..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs Empty => new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 6eb8ce2a2..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.cs index e91c453da..1032ca6e3 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestLogQueryArgs : global public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGetArgs.cs index 99099c7a9..27891b5c3 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestLogQueryGetArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs.cs deleted file mode 100644 index 22781e58f..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs Empty => new DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupByGetArgs.cs deleted file mode 100644 index 3ef759526..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestLogQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestLogQueryGroupByGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestLogQueryGroupByGetArgs Empty => new DashboardWidgetToplistDefinitionRequestLogQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 3a99fdeb8..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs Empty => new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index ee2f5ce32..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.cs index 26d17b66c..0d58a8fce 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGetArgs.cs index 39224ee44..c6dc3054c 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index fd558a352..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index f5b2ab2b4..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 28d472cd5..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index d6dc1abc3..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.cs index f36f6b27c..0a8e4f18e 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestRumQueryArgs : global public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGetArgs.cs index 1a4a25ded..c32d74440 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestRumQueryGetArgs : glo public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs.cs deleted file mode 100644 index 22de2c7ed..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs Empty => new DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupByGetArgs.cs deleted file mode 100644 index bd7fb3ffa..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestRumQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestRumQueryGroupByGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestRumQueryGroupByGetArgs Empty => new DashboardWidgetToplistDefinitionRequestRumQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs.cs deleted file mode 100644 index 4fa411d48..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs Empty => new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 3c9fe0f1c..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.cs index 35150c25b..b05db8df8 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestSecurityQueryArgs : g public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGetArgs.cs index 4e7fc3507..2fdedd145 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGetArgs.cs @@ -19,14 +19,14 @@ public sealed class DashboardWidgetToplistDefinitionRequestSecurityQueryGetArgs public Input? ComputeQuery { get; set; } [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs.cs deleted file mode 100644 index aeefa1c87..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs Empty => new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByGetArgs.cs deleted file mode 100644 index 992c63862..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// The maximum number of items in the group. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// A list of exactly one element describing the sort query to use. - /// - [Input("sortQuery")] - public Input? SortQuery { get; set; } - - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByGetArgs Empty => new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs deleted file mode 100644 index a125412d0..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty => new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs deleted file mode 100644 index 345ebe5d0..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation method. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The facet name. - /// - [Input("facet")] - public Input? Facet { get; set; } - - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - [Input("order", required: true)] - public Input Order { get; set; } = null!; - - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryGetArgs() - { - } - public static new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryGetArgs Empty => new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.cs index 4e9b1859e..546400e4d 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGetArgs.cs index 6c258aec2..6e719e279 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGetArgs.cs @@ -31,14 +31,14 @@ public InputList DataSource { get; set; } = null!; [Input("groupBies")] - private InputList? _groupBies; + private InputList? _groupBies; /// /// Group by options. /// - public InputList GroupBies + public InputList GroupBies { - get => _groupBies ?? (_groupBies = new InputList()); + get => _groupBies ?? (_groupBies = new InputList()); set => _groupBies = value; } diff --git a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs.cs deleted file mode 100644 index cf706a881..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs() - { - } - public static new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs Empty => new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByGetArgs.cs deleted file mode 100644 index 5c19cb3ca..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The event facet. - /// - [Input("facet", required: true)] - public Input Facet { get; set; } = null!; - - /// - /// The number of groups to return. - /// - [Input("limit")] - public Input? Limit { get; set; } - - /// - /// The options for sorting group by results. - /// - [Input("sort")] - public Input? Sort { get; set; } - - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByGetArgs() - { - } - public static new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByGetArgs Empty => new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByGetArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs.cs deleted file mode 100644 index 042cfc45e..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs() - { - } - public static new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs Empty => new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs(); - } -} diff --git a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs deleted file mode 100644 index 3b6e3d155..000000000 --- a/sdk/dotnet/Inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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 DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - [Input("aggregation", required: true)] - public Input Aggregation { get; set; } = null!; - - /// - /// The metric used for sorting group by results. - /// - [Input("metric")] - public Input? Metric { get; set; } - - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - [Input("order")] - public Input? Order { get; set; } - - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortGetArgs() - { - } - public static new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortGetArgs Empty => new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortGetArgs(); - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQuery.cs index 16b0fb41d..3e2f29c09 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestApmQuery private DashboardWidgetChangeDefinitionRequestApmQuery( Outputs.DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index b214018df..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQuery.cs index c0ea72d97..773624344 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestLogQuery private DashboardWidgetChangeDefinitionRequestLogQuery( Outputs.DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index 7b6531771..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index 1e3ce26b9..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.cs index c0d0fbf7a..c48ab406d 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetChangeDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index 4610ee0ef..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index 9a691b781..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQuery.cs index 1afba4353..99fd8b44d 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestRumQuery private DashboardWidgetChangeDefinitionRequestRumQuery( Outputs.DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index c288b460c..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.cs index 5a24754f9..0973971ac 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestSecurityQuery private DashboardWidgetChangeDefinitionRequestSecurityQuery( Outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index 1130e3c21..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 98a3e4af1..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.cs index eb6cf40c9..14ab0d4cd 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestApmQuery private DashboardWidgetDistributionDefinitionRequestApmQuery( Outputs.DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.cs deleted file mode 100644 index a5dd4ee6b..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index 127aa0be6..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.cs index 693b6666a..fe1dbc5a9 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestLogQuery private DashboardWidgetDistributionDefinitionRequestLogQuery( Outputs.DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index ed1bd9f90..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index 32a39f109..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.cs index edd8ac0ed..723de9d10 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestRumQuery private DashboardWidgetDistributionDefinitionRequestRumQuery( Outputs.DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index dd4c2a300..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index 9562a9ef4..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.cs index 807d2937d..27dd32163 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetDistributionDefinitionRequestSecurityQuery private DashboardWidgetDistributionDefinitionRequestSecurityQuery( Outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index f09d920f1..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index ef9f3f1a5..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.cs index c5eb5b933..4f354fd08 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetGeomapDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetGeomapDefinitionRequestLogQuery private DashboardWidgetGeomapDefinitionRequestLogQuery( Outputs.DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index 0d13dbf8c..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index b6c20017e..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.cs index 342caca3d..6ccb1a28e 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetGeomapDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetGeomapDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index 03e0b9e08..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index 897050be3..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.cs index 0a3df941b..4236c8aed 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetGeomapDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetGeomapDefinitionRequestRumQuery private DashboardWidgetGeomapDefinitionRequestRumQuery( Outputs.DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index a5c1d251b..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index ed39a92cf..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetGroupBy.cs similarity index 72% rename from sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.cs rename to sdk/dotnet/Outputs/DashboardWidgetGroupBy.cs index bb7c77cb1..2fe337324 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetGroupBy.cs @@ -11,7 +11,7 @@ namespace Pulumi.Datadog.Outputs { [OutputType] - public sealed class DashboardWidgetChangeDefinitionRequestApmQueryGroupBy + public sealed class DashboardWidgetGroupBy { /// /// The facet name. @@ -24,15 +24,15 @@ public sealed class DashboardWidgetChangeDefinitionRequestApmQueryGroupBy /// /// A list of exactly one element describing the sort query to use. /// - public readonly Outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery? SortQuery; + public readonly Outputs.DashboardWidgetGroupBySortQuery? SortQuery; [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestApmQueryGroupBy( + private DashboardWidgetGroupBy( string? facet, int? limit, - Outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery? sortQuery) + Outputs.DashboardWidgetGroupBySortQuery? sortQuery) { Facet = facet; Limit = limit; diff --git a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetGroupBySortQuery.cs similarity index 85% rename from sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery.cs rename to sdk/dotnet/Outputs/DashboardWidgetGroupBySortQuery.cs index b3030f0a1..eae8c8818 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetGroupBySortQuery.cs @@ -11,7 +11,7 @@ namespace Pulumi.Datadog.Outputs { [OutputType] - public sealed class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery + public sealed class DashboardWidgetGroupBySortQuery { /// /// The aggregation method. @@ -27,7 +27,7 @@ public sealed class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQue public readonly string Order; [OutputConstructor] - private DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery( + private DashboardWidgetGroupBySortQuery( string aggregation, string? facet, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.cs index 5e1443536..a4818b2ea 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestApmQuery private DashboardWidgetHeatmapDefinitionRequestApmQuery( Outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.cs deleted file mode 100644 index 2026b90f6..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index 20e056ebd..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.cs index 81a7bffd1..4df7d836f 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestLogQuery private DashboardWidgetHeatmapDefinitionRequestLogQuery( Outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index 03f282fbf..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index 1140f4a72..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.cs index b80a4c2aa..2e32f7ead 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetHeatmapDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index faa7635e8..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index a7e18d357..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.cs index 75bf66b7b..0d94ef276 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestRumQuery private DashboardWidgetHeatmapDefinitionRequestRumQuery( Outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index 9848d4312..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index 96373daef..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.cs index 7b0a3991d..a2254c764 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHeatmapDefinitionRequestSecurityQuery private DashboardWidgetHeatmapDefinitionRequestSecurityQuery( Outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index 96e4200e3..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index b16c8f0a8..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.cs index 16074fcc5..4b6b15f5d 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillApmQuery private DashboardWidgetHostmapDefinitionRequestFillApmQuery( Outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.cs deleted file mode 100644 index 801173e6e..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery.cs deleted file mode 100644 index e6bfe3d13..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.cs index 42f547b11..4ce85127f 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillLogQuery private DashboardWidgetHostmapDefinitionRequestFillLogQuery( Outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.cs deleted file mode 100644 index d80244004..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery.cs deleted file mode 100644 index 3227a49c8..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.cs index 12ca02c49..a41ad84f9 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillRumQuery private DashboardWidgetHostmapDefinitionRequestFillRumQuery( Outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.cs deleted file mode 100644 index 84a388cd7..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery.cs deleted file mode 100644 index 56b5d05de..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.cs index 7c56fccf1..962a04cdb 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestFillSecurityQuery private DashboardWidgetHostmapDefinitionRequestFillSecurityQuery( Outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.cs deleted file mode 100644 index 2e0a08e82..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 0a486ee86..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.cs index 61c14d688..05d6ffc4d 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeApmQuery private DashboardWidgetHostmapDefinitionRequestSizeApmQuery( Outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.cs deleted file mode 100644 index 870ab3b4a..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery.cs deleted file mode 100644 index 03dc4dc08..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.cs index d65d0d9d6..42235cf2a 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeLogQuery private DashboardWidgetHostmapDefinitionRequestSizeLogQuery( Outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.cs deleted file mode 100644 index 3ce1c06f3..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery.cs deleted file mode 100644 index a03e7c104..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.cs index f01b39aad..75bbe700a 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeRumQuery private DashboardWidgetHostmapDefinitionRequestSizeRumQuery( Outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.cs deleted file mode 100644 index 161061732..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery.cs deleted file mode 100644 index 803466f3f..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.cs index 1e4db256d..b00767ee2 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery private DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery( Outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.cs deleted file mode 100644 index 481496e20..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 7b4295c2b..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.cs index f30d648c1..f31ac468f 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestApmQuery private DashboardWidgetQueryTableDefinitionRequestApmQuery( Outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.cs deleted file mode 100644 index c2fdcf2fe..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index 37b24288a..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.cs index 0abd0eb6b..12f79a831 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestLogQuery private DashboardWidgetQueryTableDefinitionRequestLogQuery( Outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index f9227f2de..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index 303c2c6d6..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.cs index 4df500c27..1276aecf3 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetQueryTableDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index 31a9999c6..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index 344b9eb37..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.cs index 60f20a359..78295aae1 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestRumQuery private DashboardWidgetQueryTableDefinitionRequestRumQuery( Outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index 78a6342f0..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index c32159286..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.cs index 1d1434cf6..98235aafb 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryTableDefinitionRequestSecurityQuery private DashboardWidgetQueryTableDefinitionRequestSecurityQuery( Outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index 3531d0f44..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 63e2ff7a6..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.cs index b59367050..fa014d3ac 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestApmQuery private DashboardWidgetQueryValueDefinitionRequestApmQuery( Outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.cs deleted file mode 100644 index 50d4d8f66..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index 9c205fae1..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.cs index 673fc9cc9..70dee0ce6 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestAuditQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestAuditQuery private DashboardWidgetQueryValueDefinitionRequestAuditQuery( Outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.cs deleted file mode 100644 index 82c8af364..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery.cs deleted file mode 100644 index 51e0271ea..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.cs index be503cd17..d267c3c8d 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestLogQuery private DashboardWidgetQueryValueDefinitionRequestLogQuery( Outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index cd8f39929..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index a690c7912..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.cs index f6f5e384a..4bfb70c7b 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetQueryValueDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index 39cc4e0b4..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index e778e6601..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.cs index 1fbb8206f..5898afc15 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestRumQuery private DashboardWidgetQueryValueDefinitionRequestRumQuery( Outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index 9d3fc22f6..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index 9a5f92dee..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.cs index dc31c1136..6b58e124f 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetQueryValueDefinitionRequestSecurityQuery private DashboardWidgetQueryValueDefinitionRequestSecurityQuery( Outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index 6425d46a1..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 5cbe2ad5f..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.cs index 8ffa448e3..ed36204ef 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQ /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQue string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy.cs deleted file mode 100644 index 505f1b51d..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort.cs deleted file mode 100644 index b1c8267dd..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.cs index d122d1268..b0485773f 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXApmQuery private DashboardWidgetScatterplotDefinitionRequestXApmQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.cs deleted file mode 100644 index 977ba28b8..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery.cs deleted file mode 100644 index faba4e3ed..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.cs index 1050a67b8..3c3c00479 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXLogQuery private DashboardWidgetScatterplotDefinitionRequestXLogQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.cs deleted file mode 100644 index 1329bbc2e..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery.cs deleted file mode 100644 index 7519a3cc5..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.cs index aaf9c588c..39d45460c 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXRumQuery private DashboardWidgetScatterplotDefinitionRequestXRumQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.cs deleted file mode 100644 index 297ee04e9..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery.cs deleted file mode 100644 index 3a182c899..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.cs index 3b0d0d208..4346baa5d 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestXSecurityQuery private DashboardWidgetScatterplotDefinitionRequestXSecurityQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.cs deleted file mode 100644 index c9502a5e8..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 299025869..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.cs index dadbdbe38..c2bbc85b4 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYApmQuery private DashboardWidgetScatterplotDefinitionRequestYApmQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.cs deleted file mode 100644 index f7aab2510..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery.cs deleted file mode 100644 index c876c0cb7..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.cs index b1c0f1777..a126300b2 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYLogQuery private DashboardWidgetScatterplotDefinitionRequestYLogQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.cs deleted file mode 100644 index d11afa318..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery.cs deleted file mode 100644 index 4015652cd..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.cs index 7f5eee27b..25dda28fe 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYRumQuery private DashboardWidgetScatterplotDefinitionRequestYRumQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.cs deleted file mode 100644 index e37ac2625..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery.cs deleted file mode 100644 index 35cd5cc80..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.cs index 9e5e8e6b1..5977c5ca7 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetScatterplotDefinitionRequestYSecurityQuery private DashboardWidgetScatterplotDefinitionRequestYSecurityQuery( Outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.cs deleted file mode 100644 index 540a189f9..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 8fce51e0f..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.cs index fe23b057f..e35e1a9cc 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestApmQuery private DashboardWidgetSunburstDefinitionRequestApmQuery( Outputs.DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.cs deleted file mode 100644 index d14bd6897..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index 72bbc3a44..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.cs index 790406d56..31a7fea2e 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestAuditQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestAuditQuery private DashboardWidgetSunburstDefinitionRequestAuditQuery( Outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.cs deleted file mode 100644 index dd05b2339..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery.cs deleted file mode 100644 index a2f34fa6c..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.cs index d94eb4f9f..d6f27020a 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestLogQuery private DashboardWidgetSunburstDefinitionRequestLogQuery( Outputs.DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index facef49de..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index 19cac2563..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.cs index 666f0fe1d..a239c9c9a 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestNetworkQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestNetworkQuery private DashboardWidgetSunburstDefinitionRequestNetworkQuery( Outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.cs deleted file mode 100644 index 53ad3ff5d..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery.cs deleted file mode 100644 index 17ad41be4..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.cs index 0ed3f0221..a13f2593e 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetSunburstDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index 4bcffcb50..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index 4a64a3288..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.cs index 4f6b5b202..a0137d89e 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestRumQuery private DashboardWidgetSunburstDefinitionRequestRumQuery( Outputs.DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index 5c6978640..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index edf07b2e1..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.cs index 526ffb666..9d66a2ddf 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetSunburstDefinitionRequestSecurityQuery private DashboardWidgetSunburstDefinitionRequestSecurityQuery( Outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index ecb99415e..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index 3e141ab8c..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.cs index e63be6b81..bdd30bb3f 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestApmQuery private DashboardWidgetTimeseriesDefinitionRequestApmQuery( Outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.cs deleted file mode 100644 index f51ac4bc2..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index 049c421d3..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.cs index 3eae9ef27..a8b143bb4 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestAuditQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestAuditQuery private DashboardWidgetTimeseriesDefinitionRequestAuditQuery( Outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.cs deleted file mode 100644 index c29092579..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery.cs deleted file mode 100644 index 0d21baa3c..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.cs index 64cb866d6..e55b07983 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestLogQuery private DashboardWidgetTimeseriesDefinitionRequestLogQuery( Outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index a148143d3..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index 42cbc9e7b..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.cs index 3e173e363..95d9a7d2c 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestNetworkQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestNetworkQuery private DashboardWidgetTimeseriesDefinitionRequestNetworkQuery( Outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.cs deleted file mode 100644 index 712d8e399..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery.cs deleted file mode 100644 index 442ac90f8..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.cs index 812af11a8..77fa7f2a7 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index c86305614..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index 2845a742c..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.cs index c7ea52f98..9eca842c7 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestRumQuery private DashboardWidgetTimeseriesDefinitionRequestRumQuery( Outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index 6a163d306..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index f149201c0..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.cs index 5ef8e771b..8b2505c2a 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetTimeseriesDefinitionRequestSecurityQuery private DashboardWidgetTimeseriesDefinitionRequestSecurityQuery( Outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index 4a09bbbc6..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index aab25da38..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQuery.cs index 7070b78e7..1e710d760 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestApmQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestApmQuery private DashboardWidgetToplistDefinitionRequestApmQuery( Outputs.DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.cs deleted file mode 100644 index 4a8c7d3ea..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestApmQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestApmQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery.cs deleted file mode 100644 index c8ba57d92..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.cs index 7ddc29f60..fbfcb9f06 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestAuditQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestAuditQuery private DashboardWidgetToplistDefinitionRequestAuditQuery( Outputs.DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.cs deleted file mode 100644 index d2c0e0497..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery.cs deleted file mode 100644 index 170a03009..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQuery.cs index cce78ef6e..165b9c277 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestLogQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestLogQuery private DashboardWidgetToplistDefinitionRequestLogQuery( Outputs.DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.cs deleted file mode 100644 index 5379d9c8c..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestLogQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestLogQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery.cs deleted file mode 100644 index 5a16e84ec..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.cs index 97d9e4825..28bcddfec 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetToplistDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index 23ffaaccc..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index 13b241cff..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQuery.cs index d8e716a6e..4b3ebbe4c 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestRumQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestRumQuery private DashboardWidgetToplistDefinitionRequestRumQuery( Outputs.DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.cs deleted file mode 100644 index b54ba393d..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestRumQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestRumQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery.cs deleted file mode 100644 index c7695e717..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.cs index c1111e04d..c8b6d3be3 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.cs @@ -20,7 +20,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestSecurityQuery /// /// Multiple `group_by` blocks are allowed using the structure below. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// The name of the index to query. /// @@ -38,7 +38,7 @@ public sealed class DashboardWidgetToplistDefinitionRequestSecurityQuery private DashboardWidgetToplistDefinitionRequestSecurityQuery( Outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery? computeQuery, - ImmutableArray groupBies, + ImmutableArray groupBies, string index, diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.cs deleted file mode 100644 index 2323c1d64..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy - { - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// The maximum number of items in the group. - /// - public readonly int? Limit; - /// - /// A list of exactly one element describing the sort query to use. - /// - public readonly Outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery? SortQuery; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy( - string? facet, - - int? limit, - - Outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery? sortQuery) - { - Facet = facet; - Limit = limit; - SortQuery = sortQuery; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery.cs deleted file mode 100644 index c050d2d1b..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery - { - /// - /// The aggregation method. - /// - public readonly string Aggregation; - /// - /// The facet name. - /// - public readonly string? Facet; - /// - /// Widget sorting methods. Valid values are `asc`, `desc`. - /// - public readonly string Order; - - [OutputConstructor] - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery( - string aggregation, - - string? facet, - - string order) - { - Aggregation = aggregation; - Facet = facet; - Order = order; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.cs b/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.cs index e85a2c8a6..7990e5d9d 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.cs @@ -24,7 +24,7 @@ public sealed class DashboardWidgetTreemapDefinitionRequestQueryEventQuery /// /// Group by options. /// - public readonly ImmutableArray GroupBies; + public readonly ImmutableArray GroupBies; /// /// An array of index names to query in the stream. /// @@ -48,7 +48,7 @@ private DashboardWidgetTreemapDefinitionRequestQueryEventQuery( string dataSource, - ImmutableArray groupBies, + ImmutableArray groupBies, ImmutableArray indexes, diff --git a/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy.cs b/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy.cs deleted file mode 100644 index e7b6b361b..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy - { - /// - /// The event facet. - /// - public readonly string Facet; - /// - /// The number of groups to return. - /// - public readonly int? Limit; - /// - /// The options for sorting group by results. - /// - public readonly Outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort? Sort; - - [OutputConstructor] - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy( - string facet, - - int? limit, - - Outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort? sort) - { - Facet = facet; - Limit = limit; - Sort = sort; - } - } -} diff --git a/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort.cs b/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort.cs deleted file mode 100644 index 68140535e..000000000 --- a/sdk/dotnet/Outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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 DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort - { - /// - /// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - /// - public readonly string Aggregation; - /// - /// The metric used for sorting group by results. - /// - public readonly string? Metric; - /// - /// Direction of sort. Valid values are `asc`, `desc`. - /// - public readonly string? Order; - - [OutputConstructor] - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort( - string aggregation, - - string? metric, - - string? order) - { - Aggregation = aggregation; - Metric = metric; - Order = order; - } - } -} diff --git a/sdk/go/datadog/dashboard.go b/sdk/go/datadog/dashboard.go index c7870518b..810c387ca 100644 --- a/sdk/go/datadog/dashboard.go +++ b/sdk/go/datadog/dashboard.go @@ -14,835 +14,6 @@ import ( // Provides a Datadog dashboard resource. This can be used to create and manage Datadog dashboards. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// // Example Ordered Layout -// _, err := datadog.NewDashboard(ctx, "ordered_dashboard", &datadog.DashboardArgs{ -// Title: pulumi.String("Ordered Layout Dashboard"), -// Description: pulumi.String("Created using the Datadog provider in Pulumi"), -// LayoutType: pulumi.String("ordered"), -// Widgets: datadog.DashboardWidgetArray{ -// &datadog.DashboardWidgetArgs{ -// AlertGraphDefinition: &datadog.DashboardWidgetAlertGraphDefinitionArgs{ -// AlertId: pulumi.String("895605"), -// VizType: pulumi.String("timeseries"), -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// AlertValueDefinition: &datadog.DashboardWidgetAlertValueDefinitionArgs{ -// AlertId: pulumi.String("895605"), -// Precision: pulumi.Int(3), -// Unit: pulumi.String("b"), -// TextAlign: pulumi.String("center"), -// Title: pulumi.String("Widget Title"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// AlertValueDefinition: &datadog.DashboardWidgetAlertValueDefinitionArgs{ -// AlertId: pulumi.String("895605"), -// Precision: pulumi.Int(3), -// Unit: pulumi.String("b"), -// TextAlign: pulumi.String("center"), -// Title: pulumi.String("Widget Title"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// ChangeDefinition: &datadog.DashboardWidgetChangeDefinitionArgs{ -// Requests: datadog.DashboardWidgetChangeDefinitionRequestArray{ -// &datadog.DashboardWidgetChangeDefinitionRequestArgs{ -// Q: pulumi.String("avg:system.load.1{env:staging} by {account}"), -// ChangeType: pulumi.String("absolute"), -// CompareTo: pulumi.String("week_before"), -// IncreaseGood: pulumi.Bool(true), -// OrderBy: pulumi.String("name"), -// OrderDir: pulumi.String("desc"), -// ShowPresent: pulumi.Bool(true), -// }, -// }, -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// DistributionDefinition: &datadog.DashboardWidgetDistributionDefinitionArgs{ -// Requests: datadog.DashboardWidgetDistributionDefinitionRequestArray{ -// &datadog.DashboardWidgetDistributionDefinitionRequestArgs{ -// Q: pulumi.String("avg:system.load.1{env:staging} by {account}"), -// Style: &datadog.DashboardWidgetDistributionDefinitionRequestStyleArgs{ -// Palette: pulumi.String("warm"), -// }, -// }, -// }, -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// CheckStatusDefinition: &datadog.DashboardWidgetCheckStatusDefinitionArgs{ -// Check: pulumi.String("aws.ecs.agent_connected"), -// Grouping: pulumi.String("cluster"), -// GroupBies: pulumi.StringArray{ -// pulumi.String("account"), -// pulumi.String("cluster"), -// }, -// Tags: pulumi.StringArray{ -// pulumi.String("account:demo"), -// pulumi.String("cluster:awseb-ruthebdog-env-8-dn3m6u3gvk"), -// }, -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// HeatmapDefinition: &datadog.DashboardWidgetHeatmapDefinitionArgs{ -// Requests: datadog.DashboardWidgetHeatmapDefinitionRequestArray{ -// &datadog.DashboardWidgetHeatmapDefinitionRequestArgs{ -// Q: pulumi.String("avg:system.load.1{env:staging} by {account}"), -// Style: &datadog.DashboardWidgetHeatmapDefinitionRequestStyleArgs{ -// Palette: pulumi.String("warm"), -// }, -// }, -// }, -// Yaxis: &datadog.DashboardWidgetHeatmapDefinitionYaxisArgs{ -// Min: pulumi.String("1"), -// Max: pulumi.String("2"), -// IncludeZero: pulumi.Bool(true), -// Scale: pulumi.String("sqrt"), -// }, -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// HostmapDefinition: &datadog.DashboardWidgetHostmapDefinitionArgs{ -// Request: &datadog.DashboardWidgetHostmapDefinitionRequestArgs{ -// Fills: datadog.DashboardWidgetHostmapDefinitionRequestFillArray{ -// &datadog.DashboardWidgetHostmapDefinitionRequestFillArgs{ -// Q: pulumi.String("avg:system.load.1{*} by {host}"), -// }, -// }, -// Sizes: datadog.DashboardWidgetHostmapDefinitionRequestSizeArray{ -// &datadog.DashboardWidgetHostmapDefinitionRequestSizeArgs{ -// Q: pulumi.String("avg:memcache.uptime{*} by {host}"), -// }, -// }, -// }, -// NodeType: pulumi.String("container"), -// Groups: pulumi.StringArray{ -// pulumi.String("host"), -// pulumi.String("region"), -// }, -// NoGroupHosts: pulumi.Bool(true), -// NoMetricHosts: pulumi.Bool(true), -// Scopes: pulumi.StringArray{ -// pulumi.String("region:us-east-1"), -// pulumi.String("aws_account:727006795293"), -// }, -// Style: &datadog.DashboardWidgetHostmapDefinitionStyleArgs{ -// Palette: pulumi.String("yellow_to_green"), -// PaletteFlip: pulumi.Bool(true), -// FillMin: pulumi.String("10"), -// FillMax: pulumi.String("20"), -// }, -// Title: pulumi.String("Widget Title"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// NoteDefinition: &datadog.DashboardWidgetNoteDefinitionArgs{ -// Content: pulumi.String("note text"), -// BackgroundColor: pulumi.String("pink"), -// FontSize: pulumi.String("14"), -// TextAlign: pulumi.String("center"), -// ShowTick: pulumi.Bool(true), -// TickEdge: pulumi.String("left"), -// TickPos: pulumi.String("50%"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// QueryValueDefinition: &datadog.DashboardWidgetQueryValueDefinitionArgs{ -// Requests: datadog.DashboardWidgetQueryValueDefinitionRequestArray{ -// &datadog.DashboardWidgetQueryValueDefinitionRequestArgs{ -// Q: pulumi.String("avg:system.load.1{env:staging} by {account}"), -// Aggregator: pulumi.String("sum"), -// ConditionalFormats: datadog.DashboardWidgetQueryValueDefinitionRequestConditionalFormatArray{ -// &datadog.DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs{ -// Comparator: pulumi.String("<"), -// Value: pulumi.Float64(2), -// Palette: pulumi.String("white_on_green"), -// }, -// &datadog.DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs{ -// Comparator: pulumi.String(">"), -// Value: pulumi.Float64(2.2), -// Palette: pulumi.String("white_on_red"), -// }, -// }, -// }, -// }, -// Autoscale: pulumi.Bool(true), -// CustomUnit: pulumi.String("xx"), -// Precision: pulumi.Int(4), -// TextAlign: pulumi.String("right"), -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// QueryTableDefinition: &datadog.DashboardWidgetQueryTableDefinitionArgs{ -// Requests: datadog.DashboardWidgetQueryTableDefinitionRequestArray{ -// &datadog.DashboardWidgetQueryTableDefinitionRequestArgs{ -// Q: pulumi.String("avg:system.load.1{env:staging} by {account}"), -// Aggregator: pulumi.String("sum"), -// Limit: pulumi.Int(10), -// ConditionalFormats: datadog.DashboardWidgetQueryTableDefinitionRequestConditionalFormatArray{ -// &datadog.DashboardWidgetQueryTableDefinitionRequestConditionalFormatArgs{ -// Comparator: pulumi.String("<"), -// Value: pulumi.Float64(2), -// Palette: pulumi.String("white_on_green"), -// }, -// &datadog.DashboardWidgetQueryTableDefinitionRequestConditionalFormatArgs{ -// Comparator: pulumi.String(">"), -// Value: pulumi.Float64(2.2), -// Palette: pulumi.String("white_on_red"), -// }, -// }, -// }, -// }, -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// ScatterplotDefinition: &datadog.DashboardWidgetScatterplotDefinitionArgs{ -// Request: &datadog.DashboardWidgetScatterplotDefinitionRequestArgs{ -// Xes: datadog.DashboardWidgetScatterplotDefinitionRequestXArray{ -// &datadog.DashboardWidgetScatterplotDefinitionRequestXArgs{ -// Q: pulumi.String("avg:system.cpu.user{*} by {service, account}"), -// Aggregator: pulumi.String("max"), -// }, -// }, -// Ys: datadog.DashboardWidgetScatterplotDefinitionRequestYArray{ -// &datadog.DashboardWidgetScatterplotDefinitionRequestYArgs{ -// Q: pulumi.String("avg:system.mem.used{*} by {service, account}"), -// Aggregator: pulumi.String("min"), -// }, -// }, -// }, -// ColorByGroups: pulumi.StringArray{ -// pulumi.String("account"), -// pulumi.String("apm-role-group"), -// }, -// Xaxis: &datadog.DashboardWidgetScatterplotDefinitionXaxisArgs{ -// IncludeZero: pulumi.Bool(true), -// Label: pulumi.String("x"), -// Min: pulumi.String("1"), -// Max: pulumi.String("2000"), -// Scale: pulumi.String("pow"), -// }, -// Yaxis: &datadog.DashboardWidgetScatterplotDefinitionYaxisArgs{ -// IncludeZero: pulumi.Bool(false), -// Label: pulumi.String("y"), -// Min: pulumi.String("5"), -// Max: pulumi.String("2222"), -// Scale: pulumi.String("log"), -// }, -// Title: pulumi.String("Widget Title"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// ServicemapDefinition: &datadog.DashboardWidgetServicemapDefinitionArgs{ -// Service: pulumi.String("master-db"), -// Filters: pulumi.StringArray{ -// pulumi.String("env:prod"), -// pulumi.String("datacenter:dc1"), -// }, -// Title: pulumi.String("env: prod, datacenter:dc1, service: master-db"), -// TitleSize: pulumi.String("16"), -// TitleAlign: pulumi.String("left"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// TimeseriesDefinition: &datadog.DashboardWidgetTimeseriesDefinitionArgs{ -// Requests: datadog.DashboardWidgetTimeseriesDefinitionRequestArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// Q: pulumi.String("avg:system.cpu.user{app:general} by {env}"), -// DisplayType: pulumi.String("line"), -// Style: &datadog.DashboardWidgetTimeseriesDefinitionRequestStyleArgs{ -// Palette: pulumi.String("warm"), -// LineType: pulumi.String("dashed"), -// LineWidth: pulumi.String("thin"), -// }, -// Metadatas: datadog.DashboardWidgetTimeseriesDefinitionRequestMetadataArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestMetadataArgs{ -// Expression: pulumi.String("avg:system.cpu.user{app:general} by {env}"), -// AliasName: pulumi.String("Alpha"), -// }, -// }, -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// LogQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs{ -// Index: pulumi.String("mcnulty"), -// ComputeQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{ -// Aggregation: pulumi.String("avg"), -// Facet: pulumi.String("@duration"), -// Interval: pulumi.Int(5000), -// }, -// SearchQuery: pulumi.String("status:info"), -// GroupBies: datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{ -// Facet: pulumi.String("host"), -// Limit: pulumi.Int(10), -// SortQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{ -// Aggregation: pulumi.String("avg"), -// Order: pulumi.String("desc"), -// Facet: pulumi.String("@duration"), -// }, -// }, -// }, -// }, -// DisplayType: pulumi.String("area"), -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// ApmQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs{ -// Index: pulumi.String("apm-search"), -// ComputeQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{ -// Aggregation: pulumi.String("avg"), -// Facet: pulumi.String("@duration"), -// Interval: pulumi.Int(5000), -// }, -// SearchQuery: pulumi.String("type:web"), -// GroupBies: datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{ -// Facet: pulumi.String("resource_name"), -// Limit: pulumi.Int(50), -// SortQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{ -// Aggregation: pulumi.String("avg"), -// Order: pulumi.String("desc"), -// Facet: pulumi.String("@string_query.interval"), -// }, -// }, -// }, -// }, -// DisplayType: pulumi.String("bars"), -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// ProcessQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestProcessQueryArgs{ -// Metric: pulumi.String("process.stat.cpu.total_pct"), -// SearchBy: pulumi.String("error"), -// FilterBies: pulumi.StringArray{ -// pulumi.String("active"), -// }, -// Limit: pulumi.Int(50), -// }, -// DisplayType: pulumi.String("area"), -// }, -// }, -// Markers: datadog.DashboardWidgetTimeseriesDefinitionMarkerArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionMarkerArgs{ -// DisplayType: pulumi.String("error dashed"), -// Label: pulumi.String(" z=6 "), -// Value: pulumi.String("y = 4"), -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionMarkerArgs{ -// DisplayType: pulumi.String("ok solid"), -// Value: pulumi.String("10 < y < 999"), -// Label: pulumi.String(" x=8 "), -// }, -// }, -// Title: pulumi.String("Widget Title"), -// ShowLegend: pulumi.Bool(true), -// LegendSize: pulumi.String("2"), -// LiveSpan: pulumi.String("1h"), -// Events: datadog.DashboardWidgetTimeseriesDefinitionEventArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionEventArgs{ -// Q: pulumi.String("sources:test tags:1"), -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionEventArgs{ -// Q: pulumi.String("sources:test tags:2"), -// }, -// }, -// Yaxis: &datadog.DashboardWidgetTimeseriesDefinitionYaxisArgs{ -// Scale: pulumi.String("log"), -// IncludeZero: pulumi.Bool(false), -// Max: pulumi.String("100"), -// }, -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// ToplistDefinition: &datadog.DashboardWidgetToplistDefinitionArgs{ -// Requests: datadog.DashboardWidgetToplistDefinitionRequestArray{ -// &datadog.DashboardWidgetToplistDefinitionRequestArgs{ -// Q: pulumi.String("avg:system.cpu.user{app:general} by {env}"), -// ConditionalFormats: datadog.DashboardWidgetToplistDefinitionRequestConditionalFormatArray{ -// &datadog.DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{ -// Comparator: pulumi.String("<"), -// Value: pulumi.Float64(2), -// Palette: pulumi.String("white_on_green"), -// }, -// &datadog.DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{ -// Comparator: pulumi.String(">"), -// Value: pulumi.Float64(2.2), -// Palette: pulumi.String("white_on_red"), -// }, -// }, -// }, -// }, -// Title: pulumi.String("Widget Title"), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// GroupDefinition: &datadog.DashboardWidgetGroupDefinitionArgs{ -// LayoutType: pulumi.String("ordered"), -// Title: pulumi.String("Group Widget"), -// Widgets: datadog.DashboardWidgetGroupDefinitionWidgetArray{ -// &datadog.DashboardWidgetGroupDefinitionWidgetArgs{ -// NoteDefinition: &datadog.DashboardWidgetNoteDefinitionArgs{ -// Content: pulumi.String("cluster note widget"), -// BackgroundColor: pulumi.String("pink"), -// FontSize: pulumi.String("14"), -// TextAlign: pulumi.String("center"), -// ShowTick: pulumi.Bool(true), -// TickEdge: pulumi.String("left"), -// TickPos: pulumi.String("50%"), -// }, -// }, -// &datadog.DashboardWidgetGroupDefinitionWidgetArgs{ -// AlertGraphDefinition: &datadog.DashboardWidgetAlertGraphDefinitionArgs{ -// AlertId: pulumi.String("123"), -// VizType: pulumi.String("toplist"), -// Title: pulumi.String("Alert Graph"), -// LiveSpan: pulumi.String("1h"), -// }, -// }, -// }, -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// ServiceLevelObjectiveDefinition: &datadog.DashboardWidgetServiceLevelObjectiveDefinitionArgs{ -// Title: pulumi.String("Widget Title"), -// ViewType: pulumi.String("detail"), -// SloId: pulumi.String("56789"), -// ShowErrorBudget: pulumi.Bool(true), -// ViewMode: pulumi.String("overall"), -// TimeWindows: pulumi.StringArray{ -// pulumi.String("7d"), -// pulumi.String("previous_week"), -// }, -// }, -// }, -// }, -// TemplateVariables: datadog.DashboardTemplateVariableArray{ -// &datadog.DashboardTemplateVariableArgs{ -// Name: pulumi.String("var_1"), -// Prefix: pulumi.String("host"), -// Default: pulumi.String("aws"), -// }, -// &datadog.DashboardTemplateVariableArgs{ -// Name: pulumi.String("var_2"), -// Prefix: pulumi.String("service_name"), -// Default: pulumi.String("autoscaling"), -// }, -// }, -// TemplateVariablePresets: datadog.DashboardTemplateVariablePresetArray{ -// &datadog.DashboardTemplateVariablePresetArgs{ -// Name: pulumi.String("preset_1"), -// TemplateVariables: datadog.DashboardTemplateVariablePresetTemplateVariableArray{ -// &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{ -// Name: pulumi.String("var_1"), -// Value: pulumi.String("host.dc"), -// }, -// &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{ -// Name: pulumi.String("var_2"), -// Value: pulumi.String("my_service"), -// }, -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// // Example Free Layout -// _, err = datadog.NewDashboard(ctx, "free_dashboard", &datadog.DashboardArgs{ -// Title: pulumi.String("Free Layout Dashboard"), -// Description: pulumi.String("Created using the Datadog provider in Pulumi"), -// LayoutType: pulumi.String("free"), -// Widgets: datadog.DashboardWidgetArray{ -// &datadog.DashboardWidgetArgs{ -// EventStreamDefinition: &datadog.DashboardWidgetEventStreamDefinitionArgs{ -// Query: pulumi.String("*"), -// EventSize: pulumi.String("l"), -// Title: pulumi.String("Widget Title"), -// TitleSize: pulumi.String("16"), -// TitleAlign: pulumi.String("left"), -// LiveSpan: pulumi.String("1h"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(43), -// Width: pulumi.Int(32), -// X: pulumi.Int(0), -// Y: pulumi.Int(0), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// EventTimelineDefinition: &datadog.DashboardWidgetEventTimelineDefinitionArgs{ -// Query: pulumi.String("*"), -// Title: pulumi.String("Widget Title"), -// TitleSize: pulumi.String("16"), -// TitleAlign: pulumi.String("left"), -// LiveSpan: pulumi.String("1h"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(9), -// Width: pulumi.Int(66), -// X: pulumi.Int(33), -// Y: pulumi.Int(60), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// FreeTextDefinition: &datadog.DashboardWidgetFreeTextDefinitionArgs{ -// Text: pulumi.String("free text content"), -// Color: pulumi.String("#d00"), -// FontSize: pulumi.String("36"), -// TextAlign: pulumi.String("left"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(20), -// Width: pulumi.Int(34), -// X: pulumi.Int(33), -// Y: pulumi.Int(0), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// IframeDefinition: &datadog.DashboardWidgetIframeDefinitionArgs{ -// Url: pulumi.String("http://google.com"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(46), -// Width: pulumi.Int(39), -// X: pulumi.Int(101), -// Y: pulumi.Int(0), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// ImageDefinition: &datadog.DashboardWidgetImageDefinitionArgs{ -// Url: pulumi.String("https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350"), -// Sizing: pulumi.String("fit"), -// Margin: pulumi.String("small"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(20), -// Width: pulumi.Int(30), -// X: pulumi.Int(69), -// Y: pulumi.Int(0), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// LogStreamDefinition: &datadog.DashboardWidgetLogStreamDefinitionArgs{ -// Indexes: pulumi.StringArray{ -// pulumi.String("main"), -// }, -// Query: pulumi.String("error"), -// Columns: pulumi.StringArray{ -// pulumi.String("core_host"), -// pulumi.String("core_service"), -// pulumi.String("tag_source"), -// }, -// ShowDateColumn: pulumi.Bool(true), -// ShowMessageColumn: pulumi.Bool(true), -// MessageDisplay: pulumi.String("expanded-md"), -// Sort: &datadog.DashboardWidgetLogStreamDefinitionSortArgs{ -// Column: pulumi.String("time"), -// Order: pulumi.String("desc"), -// }, -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(36), -// Width: pulumi.Int(32), -// X: pulumi.Int(0), -// Y: pulumi.Int(45), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// ManageStatusDefinition: &datadog.DashboardWidgetManageStatusDefinitionArgs{ -// ColorPreference: pulumi.String("text"), -// DisplayFormat: pulumi.String("countsAndList"), -// HideZeroCounts: pulumi.Bool(true), -// Query: pulumi.String("type:metric"), -// ShowLastTriggered: pulumi.Bool(false), -// Sort: pulumi.String("status,asc"), -// SummaryType: pulumi.String("monitors"), -// Title: pulumi.String("Widget Title"), -// TitleSize: pulumi.String("16"), -// TitleAlign: pulumi.String("left"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(40), -// Width: pulumi.Int(30), -// X: pulumi.Int(101), -// Y: pulumi.Int(48), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// TraceServiceDefinition: &datadog.DashboardWidgetTraceServiceDefinitionArgs{ -// DisplayFormat: pulumi.String("three_column"), -// Env: pulumi.String("datadog.com"), -// Service: pulumi.String("alerting-cassandra"), -// ShowBreakdown: pulumi.Bool(true), -// ShowDistribution: pulumi.Bool(true), -// ShowErrors: pulumi.Bool(true), -// ShowHits: pulumi.Bool(true), -// ShowLatency: pulumi.Bool(false), -// ShowResourceList: pulumi.Bool(false), -// SizeFormat: pulumi.String("large"), -// SpanName: pulumi.String("cassandra.query"), -// Title: pulumi.String("alerting-cassandra #env:datadog.com"), -// TitleAlign: pulumi.String("center"), -// TitleSize: pulumi.String("13"), -// LiveSpan: pulumi.String("1h"), -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(38), -// Width: pulumi.Int(66), -// X: pulumi.Int(33), -// Y: pulumi.Int(21), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// TimeseriesDefinition: &datadog.DashboardWidgetTimeseriesDefinitionArgs{ -// Requests: datadog.DashboardWidgetTimeseriesDefinitionRequestArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// Formulas: datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs{ -// FormulaExpression: pulumi.String("my_query_1 + my_query_2"), -// Alias: pulumi.String("my ff query"), -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs{ -// FormulaExpression: pulumi.String("my_query_1 * my_query_2"), -// Limit: &datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaLimitArgs{ -// Count: pulumi.Int(5), -// Order: pulumi.String("desc"), -// }, -// Alias: pulumi.String("my second ff query"), -// }, -// }, -// Queries: datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs{ -// MetricQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{ -// DataSource: pulumi.String("metrics"), -// Query: pulumi.String("avg:system.cpu.user{app:general} by {env}"), -// Name: pulumi.String("my_query_1"), -// Aggregator: pulumi.String("sum"), -// }, -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs{ -// MetricQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{ -// Query: pulumi.String("avg:system.cpu.user{app:general} by {env}"), -// Name: pulumi.String("my_query_2"), -// Aggregator: pulumi.String("sum"), -// }, -// }, -// }, -// }, -// }, -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(16), -// Width: pulumi.Int(25), -// X: pulumi.Int(58), -// Y: pulumi.Int(83), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// TimeseriesDefinition: &datadog.DashboardWidgetTimeseriesDefinitionArgs{ -// Requests: datadog.DashboardWidgetTimeseriesDefinitionRequestArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// Queries: datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs{ -// EventQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{ -// Name: pulumi.String("my-query"), -// DataSource: pulumi.String("logs"), -// Indexes: pulumi.StringArray{ -// pulumi.String("days-3"), -// }, -// Computes: datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{ -// Aggregation: pulumi.String("count"), -// }, -// }, -// GroupBies: datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{ -// Facet: pulumi.String("host"), -// Sort: &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{ -// Metric: pulumi.String("@lambda.max_memory_used"), -// Aggregation: pulumi.String("avg"), -// }, -// Limit: pulumi.Int(10), -// }, -// }, -// }, -// }, -// }, -// }, -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// DisplayType: pulumi.String("overlay"), -// Queries: datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs{ -// MetricQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{ -// Name: pulumi.String("MyOverlay"), -// DataSource: pulumi.String("metrics"), -// Query: pulumi.String("avg:system.cpu.user{host:COMP-QJWVM2FYT4}"), -// }, -// }, -// }, -// }, -// }, -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(16), -// Width: pulumi.Int(28), -// X: pulumi.Int(29), -// Y: pulumi.Int(83), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// TimeseriesDefinition: &datadog.DashboardWidgetTimeseriesDefinitionArgs{ -// Requests: datadog.DashboardWidgetTimeseriesDefinitionRequestArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// Queries: datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs{ -// ProcessQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{ -// DataSource: pulumi.String("process"), -// TextFilter: pulumi.String("abc"), -// Metric: pulumi.String("process.stat.cpu.total_pct"), -// Limit: pulumi.Int(10), -// TagFilters: pulumi.StringArray{ -// pulumi.String("some_filter"), -// }, -// Name: pulumi.String("my_process_query"), -// Sort: pulumi.String("asc"), -// IsNormalizedCpu: pulumi.Bool(true), -// Aggregator: pulumi.String("sum"), -// }, -// }, -// }, -// }, -// }, -// }, -// WidgetLayout: &datadog.DashboardWidgetWidgetLayoutArgs{ -// Height: pulumi.Int(16), -// Width: pulumi.Int(28), -// X: pulumi.Int(0), -// Y: pulumi.Int(83), -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// TimeseriesDefinition: &datadog.DashboardWidgetTimeseriesDefinitionArgs{ -// Requests: datadog.DashboardWidgetTimeseriesDefinitionRequestArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestArgs{ -// Formulas: datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs{ -// FormulaExpression: pulumi.String("query1"), -// Alias: pulumi.String("my cloud cost query"), -// }, -// }, -// Queries: datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArray{ -// &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs{ -// CloudCostQuery: &datadog.DashboardWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{ -// DataSource: pulumi.String("cloud_cost"), -// Query: pulumi.String("sum:aws.cost.amortized{*}"), -// Name: pulumi.String("query1"), -// Aggregator: pulumi.String("sum"), -// }, -// }, -// }, -// }, -// }, -// }, -// }, -// &datadog.DashboardWidgetArgs{ -// PowerpackDefinition: &datadog.DashboardWidgetPowerpackDefinitionArgs{ -// PowerpackId: pulumi.String("00000000-0000-0000-0000-000000000000"), -// BackgroundColor: pulumi.String("blue"), -// BannerImg: pulumi.String("https://example.org/example.png"), -// ShowTitle: pulumi.Bool(true), -// Title: pulumi.String("Powerpack Widget"), -// TemplateVariables: &datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesArgs{ -// ControlledExternallies: datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledExternallyArray{ -// &datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledExternallyArgs{ -// Name: pulumi.String("var_2"), -// Values: pulumi.StringArray{ -// pulumi.String("autoscaling"), -// }, -// Prefix: pulumi.String("service_name"), -// }, -// }, -// ControlledByPowerpacks: datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledByPowerpackArray{ -// &datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledByPowerpackArgs{ -// Name: pulumi.String("var_3"), -// Prefix: pulumi.String("timeframe"), -// Values: pulumi.StringArray{ -// pulumi.String("default"), -// pulumi.String("values"), -// pulumi.String("here"), -// }, -// }, -// }, -// }, -// }, -// }, -// }, -// TemplateVariables: datadog.DashboardTemplateVariableArray{ -// &datadog.DashboardTemplateVariableArgs{ -// Name: pulumi.String("var_1"), -// Prefix: pulumi.String("host"), -// Default: pulumi.String("aws"), -// }, -// &datadog.DashboardTemplateVariableArgs{ -// Name: pulumi.String("var_2"), -// Prefix: pulumi.String("service_name"), -// Default: pulumi.String("autoscaling"), -// }, -// }, -// TemplateVariablePresets: datadog.DashboardTemplateVariablePresetArray{ -// &datadog.DashboardTemplateVariablePresetArgs{ -// Name: pulumi.String("preset_1"), -// TemplateVariables: datadog.DashboardTemplateVariablePresetTemplateVariableArray{ -// &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{ -// Name: pulumi.String("var_1"), -// Value: pulumi.String("host.dc"), -// }, -// &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{ -// Name: pulumi.String("var_2"), -// Value: pulumi.String("my_service"), -// }, -// }, -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // ```sh diff --git a/sdk/go/datadog/pulumiTypes.go b/sdk/go/datadog/pulumiTypes.go index 3c5de21c5..5ed4f2527 100644 --- a/sdk/go/datadog/pulumiTypes.go +++ b/sdk/go/datadog/pulumiTypes.go @@ -3117,7 +3117,7 @@ type DashboardWidgetChangeDefinitionRequestApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetChangeDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -3141,7 +3141,7 @@ type DashboardWidgetChangeDefinitionRequestApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -3235,10 +3235,8 @@ func (o DashboardWidgetChangeDefinitionRequestApmQueryOutput) ComputeQuery() Das } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQuery) []DashboardWidgetChangeDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) +func (o DashboardWidgetChangeDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -3293,13 +3291,13 @@ func (o DashboardWidgetChangeDefinitionRequestApmQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestApmQuery) []DashboardWidgetChangeDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetChangeDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -3507,298 +3505,6 @@ func (o DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Int }).(pulumi.IntPtrOutput) } -type DashboardWidgetChangeDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetChangeDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs and DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestApmQueryGroupByInput` via: -// -// DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetChangeDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) -} - -// DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetChangeDefinitionRequestApmQueryGroupByArray and DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayInput` via: -// -// DashboardWidgetChangeDefinitionRequestApmQueryGroupByArray{ DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupByArray []DashboardWidgetChangeDefinitionRequestApmQueryGroupByInput - -func (DashboardWidgetChangeDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQueryGroupBy) *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetChangeDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetChangeDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput) -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -4547,7 +4253,7 @@ type DashboardWidgetChangeDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetChangeDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -4571,7 +4277,7 @@ type DashboardWidgetChangeDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -4665,10 +4371,8 @@ func (o DashboardWidgetChangeDefinitionRequestLogQueryOutput) ComputeQuery() Das } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQuery) []DashboardWidgetChangeDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) +func (o DashboardWidgetChangeDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -4723,13 +4427,13 @@ func (o DashboardWidgetChangeDefinitionRequestLogQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestLogQuery) []DashboardWidgetChangeDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetChangeDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -4937,298 +4641,6 @@ func (o DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Int }).(pulumi.IntPtrOutput) } -type DashboardWidgetChangeDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetChangeDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs and DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetChangeDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetChangeDefinitionRequestLogQueryGroupByArray and DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetChangeDefinitionRequestLogQueryGroupByArray{ DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupByArray []DashboardWidgetChangeDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetChangeDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQueryGroupBy) *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetChangeDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetChangeDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -6535,7 +5947,7 @@ type DashboardWidgetChangeDefinitionRequestQueryEventQuery struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -6563,7 +5975,7 @@ type DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -6664,10 +6076,10 @@ func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryOutput) DataSource( } // Group by options. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQuery) []DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -6737,13 +6149,13 @@ func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) DataSour } // Group by options. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestQueryEventQuery) []DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -6901,298 +6313,6 @@ func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) }).(DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByInput` via: -// -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) -} - -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByInput - -func (DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -8068,7 +7188,7 @@ type DashboardWidgetChangeDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetChangeDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -8092,7 +7212,7 @@ type DashboardWidgetChangeDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -8186,10 +7306,8 @@ func (o DashboardWidgetChangeDefinitionRequestRumQueryOutput) ComputeQuery() Das } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQuery) []DashboardWidgetChangeDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) +func (o DashboardWidgetChangeDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -8244,13 +7362,13 @@ func (o DashboardWidgetChangeDefinitionRequestRumQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestRumQuery) []DashboardWidgetChangeDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetChangeDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -8458,298 +7576,6 @@ func (o DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Int }).(pulumi.IntPtrOutput) } -type DashboardWidgetChangeDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetChangeDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs and DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestRumQueryGroupByInput` via: -// -// DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetChangeDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) -} - -// DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetChangeDefinitionRequestRumQueryGroupByArray and DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayInput` via: -// -// DashboardWidgetChangeDefinitionRequestRumQueryGroupByArray{ DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupByArray []DashboardWidgetChangeDefinitionRequestRumQueryGroupByInput - -func (DashboardWidgetChangeDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQueryGroupBy) *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetChangeDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetChangeDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput) -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs - -func DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -8869,7 +7695,7 @@ type DashboardWidgetChangeDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -8893,7 +7719,7 @@ type DashboardWidgetChangeDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -8987,10 +7813,10 @@ func (o DashboardWidgetChangeDefinitionRequestSecurityQueryOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQuery) []DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetChangeDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -9045,13 +7871,13 @@ func (o DashboardWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestSecurityQuery) []DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetChangeDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -9259,300 +8085,6 @@ func (o DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByInput` via: -// -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) -} - -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByInput - -func (DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -10385,7 +8917,7 @@ type DashboardWidgetDistributionDefinitionRequestApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -10409,7 +8941,7 @@ type DashboardWidgetDistributionDefinitionRequestApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -10503,10 +9035,10 @@ func (o DashboardWidgetDistributionDefinitionRequestApmQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQuery) []DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -10561,13 +9093,13 @@ func (o DashboardWidgetDistributionDefinitionRequestApmQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestApmQuery) []DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -10775,300 +9307,6 @@ func (o DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs and DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestApmQueryGroupByInput` via: -// -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) -} - -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArray and DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput` via: -// -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArray{ DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArray []DashboardWidgetDistributionDefinitionRequestApmQueryGroupByInput - -func (DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy) *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput) -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -11567,7 +9805,7 @@ type DashboardWidgetDistributionDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -11591,7 +9829,7 @@ type DashboardWidgetDistributionDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -11685,10 +9923,10 @@ func (o DashboardWidgetDistributionDefinitionRequestLogQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQuery) []DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -11743,13 +9981,13 @@ func (o DashboardWidgetDistributionDefinitionRequestLogQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestLogQuery) []DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -11957,300 +10195,6 @@ func (o DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs and DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArray and DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArray{ DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArray []DashboardWidgetDistributionDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy) *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -12564,7 +10508,7 @@ type DashboardWidgetDistributionDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -12588,7 +10532,7 @@ type DashboardWidgetDistributionDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -12682,10 +10626,10 @@ func (o DashboardWidgetDistributionDefinitionRequestRumQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQuery) []DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -12740,13 +10684,13 @@ func (o DashboardWidgetDistributionDefinitionRequestRumQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestRumQuery) []DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -12954,300 +10898,6 @@ func (o DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs and DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestRumQueryGroupByInput` via: -// -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) -} - -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArray and DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput` via: -// -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArray{ DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArray []DashboardWidgetDistributionDefinitionRequestRumQueryGroupByInput - -func (DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy) *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput) -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs - -func DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -13367,7 +11017,7 @@ type DashboardWidgetDistributionDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -13391,7 +11041,7 @@ type DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -13485,10 +11135,10 @@ func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryOutput) Compute } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQuery) []DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -13543,13 +11193,13 @@ func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) Comp } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestSecurityQuery) []DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -13759,304 +11409,6 @@ func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr }).(pulumi.IntPtrOutput) } -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByInput` via: -// -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) -} - -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByInput - -func (DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) -} - -type DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -16152,7 +13504,7 @@ type DashboardWidgetGeomapDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -16176,7 +13528,7 @@ type DashboardWidgetGeomapDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -16270,10 +13622,8 @@ func (o DashboardWidgetGeomapDefinitionRequestLogQueryOutput) ComputeQuery() Das } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQuery) []DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) +func (o DashboardWidgetGeomapDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -16328,13 +13678,13 @@ func (o DashboardWidgetGeomapDefinitionRequestLogQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestLogQuery) []DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetGeomapDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -16542,298 +13892,6 @@ func (o DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Int }).(pulumi.IntPtrOutput) } -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs and DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArray and DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArray{ DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArray []DashboardWidgetGeomapDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy) *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -17946,7 +15004,7 @@ type DashboardWidgetGeomapDefinitionRequestQueryEventQuery struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -17974,7 +15032,7 @@ type DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -18075,10 +15133,10 @@ func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryOutput) DataSource( } // Group by options. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQuery) []DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -18148,13 +15206,13 @@ func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) DataSour } // Group by options. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestQueryEventQuery) []DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -18312,298 +15370,6 @@ func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) }).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput` via: -// -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) -} - -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput - -func (DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -19479,7 +16245,7 @@ type DashboardWidgetGeomapDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -19503,7 +16269,7 @@ type DashboardWidgetGeomapDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -19597,10 +16363,8 @@ func (o DashboardWidgetGeomapDefinitionRequestRumQueryOutput) ComputeQuery() Das } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQuery) []DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) +func (o DashboardWidgetGeomapDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -19655,13 +16419,13 @@ func (o DashboardWidgetGeomapDefinitionRequestRumQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestRumQuery) []DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetGeomapDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -19869,298 +16633,6 @@ func (o DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Int }).(pulumi.IntPtrOutput) } -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs and DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestRumQueryGroupByInput` via: -// -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) -} - -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArray and DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput` via: -// -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArray{ DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArray []DashboardWidgetGeomapDefinitionRequestRumQueryGroupByInput - -func (DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy) *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput) -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs - -func DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -20569,6 +17041,296 @@ func (o DashboardWidgetGeomapDefinitionViewPtrOutput) Focus() pulumi.StringPtrOu }).(pulumi.StringPtrOutput) } +type DashboardWidgetGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *DashboardWidgetGroupBySortQuery `pulumi:"sortQuery"` +} + +// DashboardWidgetGroupByInput is an input type that accepts DashboardWidgetGroupByArgs and DashboardWidgetGroupByOutput values. +// You can construct a concrete instance of `DashboardWidgetGroupByInput` via: +// +// DashboardWidgetGroupByArgs{...} +type DashboardWidgetGroupByInput interface { + pulumi.Input + + ToDashboardWidgetGroupByOutput() DashboardWidgetGroupByOutput + ToDashboardWidgetGroupByOutputWithContext(context.Context) DashboardWidgetGroupByOutput +} + +type DashboardWidgetGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery DashboardWidgetGroupBySortQueryPtrInput `pulumi:"sortQuery"` +} + +func (DashboardWidgetGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetGroupBy)(nil)).Elem() +} + +func (i DashboardWidgetGroupByArgs) ToDashboardWidgetGroupByOutput() DashboardWidgetGroupByOutput { + return i.ToDashboardWidgetGroupByOutputWithContext(context.Background()) +} + +func (i DashboardWidgetGroupByArgs) ToDashboardWidgetGroupByOutputWithContext(ctx context.Context) DashboardWidgetGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGroupByOutput) +} + +// DashboardWidgetGroupByArrayInput is an input type that accepts DashboardWidgetGroupByArray and DashboardWidgetGroupByArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetGroupByArrayInput` via: +// +// DashboardWidgetGroupByArray{ DashboardWidgetGroupByArgs{...} } +type DashboardWidgetGroupByArrayInput interface { + pulumi.Input + + ToDashboardWidgetGroupByArrayOutput() DashboardWidgetGroupByArrayOutput + ToDashboardWidgetGroupByArrayOutputWithContext(context.Context) DashboardWidgetGroupByArrayOutput +} + +type DashboardWidgetGroupByArray []DashboardWidgetGroupByInput + +func (DashboardWidgetGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetGroupBy)(nil)).Elem() +} + +func (i DashboardWidgetGroupByArray) ToDashboardWidgetGroupByArrayOutput() DashboardWidgetGroupByArrayOutput { + return i.ToDashboardWidgetGroupByArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetGroupByArray) ToDashboardWidgetGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGroupByArrayOutput) +} + +type DashboardWidgetGroupByOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetGroupBy)(nil)).Elem() +} + +func (o DashboardWidgetGroupByOutput) ToDashboardWidgetGroupByOutput() DashboardWidgetGroupByOutput { + return o +} + +func (o DashboardWidgetGroupByOutput) ToDashboardWidgetGroupByOutputWithContext(ctx context.Context) DashboardWidgetGroupByOutput { + return o +} + +// The facet name. +func (o DashboardWidgetGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// The maximum number of items in the group. +func (o DashboardWidgetGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// A list of exactly one element describing the sort query to use. +func (o DashboardWidgetGroupByOutput) SortQuery() DashboardWidgetGroupBySortQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetGroupBy) *DashboardWidgetGroupBySortQuery { return v.SortQuery }).(DashboardWidgetGroupBySortQueryPtrOutput) +} + +type DashboardWidgetGroupByArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetGroupBy)(nil)).Elem() +} + +func (o DashboardWidgetGroupByArrayOutput) ToDashboardWidgetGroupByArrayOutput() DashboardWidgetGroupByArrayOutput { + return o +} + +func (o DashboardWidgetGroupByArrayOutput) ToDashboardWidgetGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetGroupByArrayOutput { + return o +} + +func (o DashboardWidgetGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetGroupBy { + return vs[0].([]DashboardWidgetGroupBy)[vs[1].(int)] + }).(DashboardWidgetGroupByOutput) +} + +type DashboardWidgetGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// DashboardWidgetGroupBySortQueryInput is an input type that accepts DashboardWidgetGroupBySortQueryArgs and DashboardWidgetGroupBySortQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetGroupBySortQueryInput` via: +// +// DashboardWidgetGroupBySortQueryArgs{...} +type DashboardWidgetGroupBySortQueryInput interface { + pulumi.Input + + ToDashboardWidgetGroupBySortQueryOutput() DashboardWidgetGroupBySortQueryOutput + ToDashboardWidgetGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetGroupBySortQueryOutput +} + +type DashboardWidgetGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` +} + +func (DashboardWidgetGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetGroupBySortQuery)(nil)).Elem() +} + +func (i DashboardWidgetGroupBySortQueryArgs) ToDashboardWidgetGroupBySortQueryOutput() DashboardWidgetGroupBySortQueryOutput { + return i.ToDashboardWidgetGroupBySortQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetGroupBySortQueryArgs) ToDashboardWidgetGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGroupBySortQueryOutput) +} + +func (i DashboardWidgetGroupBySortQueryArgs) ToDashboardWidgetGroupBySortQueryPtrOutput() DashboardWidgetGroupBySortQueryPtrOutput { + return i.ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetGroupBySortQueryArgs) ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGroupBySortQueryOutput).ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetGroupBySortQueryArgs, DashboardWidgetGroupBySortQueryPtr and DashboardWidgetGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetGroupBySortQueryPtrInput` via: +// +// DashboardWidgetGroupBySortQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetGroupBySortQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetGroupBySortQueryPtrOutput() DashboardWidgetGroupBySortQueryPtrOutput + ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetGroupBySortQueryPtrOutput +} + +type dashboardWidgetGroupBySortQueryPtrType DashboardWidgetGroupBySortQueryArgs + +func DashboardWidgetGroupBySortQueryPtr(v *DashboardWidgetGroupBySortQueryArgs) DashboardWidgetGroupBySortQueryPtrInput { + return (*dashboardWidgetGroupBySortQueryPtrType)(v) +} + +func (*dashboardWidgetGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetGroupBySortQuery)(nil)).Elem() +} + +func (i *dashboardWidgetGroupBySortQueryPtrType) ToDashboardWidgetGroupBySortQueryPtrOutput() DashboardWidgetGroupBySortQueryPtrOutput { + return i.ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetGroupBySortQueryPtrType) ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetGroupBySortQueryPtrOutput) +} + +type DashboardWidgetGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetGroupBySortQuery)(nil)).Elem() +} + +func (o DashboardWidgetGroupBySortQueryOutput) ToDashboardWidgetGroupBySortQueryOutput() DashboardWidgetGroupBySortQueryOutput { + return o +} + +func (o DashboardWidgetGroupBySortQueryOutput) ToDashboardWidgetGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetGroupBySortQueryOutput { + return o +} + +func (o DashboardWidgetGroupBySortQueryOutput) ToDashboardWidgetGroupBySortQueryPtrOutput() DashboardWidgetGroupBySortQueryPtrOutput { + return o.ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetGroupBySortQueryOutput) ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetGroupBySortQuery) *DashboardWidgetGroupBySortQuery { + return &v + }).(DashboardWidgetGroupBySortQueryPtrOutput) +} + +// The aggregation method. +func (o DashboardWidgetGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o DashboardWidgetGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} + +type DashboardWidgetGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetGroupBySortQuery)(nil)).Elem() +} + +func (o DashboardWidgetGroupBySortQueryPtrOutput) ToDashboardWidgetGroupBySortQueryPtrOutput() DashboardWidgetGroupBySortQueryPtrOutput { + return o +} + +func (o DashboardWidgetGroupBySortQueryPtrOutput) ToDashboardWidgetGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetGroupBySortQueryPtrOutput { + return o +} + +func (o DashboardWidgetGroupBySortQueryPtrOutput) Elem() DashboardWidgetGroupBySortQueryOutput { + return o.ApplyT(func(v *DashboardWidgetGroupBySortQuery) DashboardWidgetGroupBySortQuery { + if v != nil { + return *v + } + var ret DashboardWidgetGroupBySortQuery + return ret + }).(DashboardWidgetGroupBySortQueryOutput) +} + +// The aggregation method. +func (o DashboardWidgetGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o DashboardWidgetGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o DashboardWidgetGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) +} + type DashboardWidgetGroupDefinition struct { // The background color of the group title, options: `vividBlue`, `vividPurple`, `vividPink`, `vividOrange`, `vividYellow`, `vividGreen`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray` or `white` BackgroundColor *string `pulumi:"backgroundColor"` @@ -22193,7 +18955,7 @@ type DashboardWidgetHeatmapDefinitionRequestApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -22217,7 +18979,7 @@ type DashboardWidgetHeatmapDefinitionRequestApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -22311,10 +19073,8 @@ func (o DashboardWidgetHeatmapDefinitionRequestApmQueryOutput) ComputeQuery() Da } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQuery) []DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) +func (o DashboardWidgetHeatmapDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -22369,13 +19129,13 @@ func (o DashboardWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestApmQuery) []DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetHeatmapDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -22583,298 +19343,6 @@ func (o DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) In }).(pulumi.IntPtrOutput) } -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs and DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) -} - -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArray and DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArray{ DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArray []DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByInput - -func (DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy) *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -23627,7 +20095,7 @@ type DashboardWidgetHeatmapDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -23651,7 +20119,7 @@ type DashboardWidgetHeatmapDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -23745,10 +20213,8 @@ func (o DashboardWidgetHeatmapDefinitionRequestLogQueryOutput) ComputeQuery() Da } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQuery) []DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) +func (o DashboardWidgetHeatmapDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -23803,13 +20269,13 @@ func (o DashboardWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestLogQuery) []DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetHeatmapDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -24017,298 +20483,6 @@ func (o DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) In }).(pulumi.IntPtrOutput) } -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs and DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArray and DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArray{ DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArray []DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy) *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -25617,7 +21791,7 @@ type DashboardWidgetHeatmapDefinitionRequestQueryEventQuery struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -25645,7 +21819,7 @@ type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -25746,10 +21920,10 @@ func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryOutput) DataSource } // Group by options. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQuery) []DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -25819,13 +21993,13 @@ func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) DataSou } // Group by options. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestQueryEventQuery) []DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -25983,298 +22157,6 @@ func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput }).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) -} - -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput - -func (DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -27150,7 +23032,7 @@ type DashboardWidgetHeatmapDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -27174,7 +23056,7 @@ type DashboardWidgetHeatmapDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -27268,10 +23150,8 @@ func (o DashboardWidgetHeatmapDefinitionRequestRumQueryOutput) ComputeQuery() Da } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQuery) []DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) +func (o DashboardWidgetHeatmapDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -27326,13 +23206,13 @@ func (o DashboardWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestRumQuery) []DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetHeatmapDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -27540,298 +23420,6 @@ func (o DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) In }).(pulumi.IntPtrOutput) } -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs and DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) -} - -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArray and DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArray{ DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArray []DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByInput - -func (DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy) *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs - -func DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -27951,7 +23539,7 @@ type DashboardWidgetHeatmapDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -27975,7 +23563,7 @@ type DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -28069,10 +23657,10 @@ func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQuery) []DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -28127,13 +23715,13 @@ func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestSecurityQuery) []DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -28341,300 +23929,6 @@ func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) -} - -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput - -func (DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -29869,7 +25163,7 @@ type DashboardWidgetHostmapDefinitionRequestFillApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -29893,7 +25187,7 @@ type DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -29987,10 +25281,10 @@ func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQuery) []DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -30045,13 +25339,13 @@ func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillApmQuery) []DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -30259,300 +25553,6 @@ func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -30672,7 +25672,7 @@ type DashboardWidgetHostmapDefinitionRequestFillLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -30696,7 +25696,7 @@ type DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -30790,10 +25790,10 @@ func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQuery) []DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -30848,13 +25848,13 @@ func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillLogQuery) []DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -31062,300 +26062,6 @@ func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -31669,7 +26375,7 @@ type DashboardWidgetHostmapDefinitionRequestFillRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -31693,7 +26399,7 @@ type DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -31787,10 +26493,10 @@ func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQuery) []DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -31845,13 +26551,13 @@ func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillRumQuery) []DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -32059,300 +26765,6 @@ func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -32472,7 +26884,7 @@ type DashboardWidgetHostmapDefinitionRequestFillSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -32496,7 +26908,7 @@ type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -32590,10 +27002,10 @@ func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ComputeQ } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQuery) []DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -32648,13 +27060,13 @@ func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Compu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillSecurityQuery) []DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -32864,304 +27276,6 @@ func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrO }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -33435,7 +27549,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -33459,7 +27573,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -33553,10 +27667,10 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQuery) []DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -33611,13 +27725,13 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeApmQuery) []DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -33825,300 +27939,6 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -34238,7 +28058,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -34262,7 +28082,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -34356,10 +28176,10 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQuery) []DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -34414,13 +28234,13 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeLogQuery) []DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -34628,300 +28448,6 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -35235,7 +28761,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -35259,7 +28785,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -35353,10 +28879,10 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQuery) []DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -35411,13 +28937,13 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeRumQuery) []DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -35625,300 +29151,6 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -36038,7 +29270,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -36062,7 +29294,7 @@ type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -36156,10 +29388,10 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ComputeQ } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery) []DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -36214,13 +29446,13 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Compu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) GroupBies() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery) []DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { +func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -36430,304 +29662,6 @@ func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrO }).(pulumi.IntPtrOutput) } -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs and DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) -} - -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray and DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray{ DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} } -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray []DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput - -func (DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) SortQuery() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs and DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs, DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr and DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) -} - -type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -40468,7 +33402,7 @@ type DashboardWidgetQueryTableDefinitionRequestApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -40492,7 +33426,7 @@ type DashboardWidgetQueryTableDefinitionRequestApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -40586,10 +33520,10 @@ func (o DashboardWidgetQueryTableDefinitionRequestApmQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQuery) []DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -40644,13 +33578,13 @@ func (o DashboardWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestApmQuery) []DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -40858,300 +33792,6 @@ func (o DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs and DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) -} - -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArray and DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArray{ DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArray []DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByInput - -func (DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy) *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -42452,7 +35092,7 @@ type DashboardWidgetQueryTableDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -42476,7 +35116,7 @@ type DashboardWidgetQueryTableDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -42570,10 +35210,10 @@ func (o DashboardWidgetQueryTableDefinitionRequestLogQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQuery) []DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -42628,13 +35268,13 @@ func (o DashboardWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestLogQuery) []DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -42842,300 +35482,6 @@ func (o DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs and DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArray and DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArray{ DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArray []DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy) *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -44452,7 +36798,7 @@ type DashboardWidgetQueryTableDefinitionRequestQueryEventQuery struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -44480,7 +36826,7 @@ type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -44581,10 +36927,10 @@ func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryOutput) DataSou } // Group by options. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQuery) []DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -44654,13 +37000,13 @@ func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Data } // Group by options. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestQueryEventQuery) []DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -44818,300 +37164,6 @@ func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOut }).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) -} - -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput - -func (DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -45989,7 +38041,7 @@ type DashboardWidgetQueryTableDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -46013,7 +38065,7 @@ type DashboardWidgetQueryTableDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -46107,10 +38159,10 @@ func (o DashboardWidgetQueryTableDefinitionRequestRumQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQuery) []DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -46165,13 +38217,13 @@ func (o DashboardWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestRumQuery) []DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -46379,300 +38431,6 @@ func (o DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs and DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) -} - -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArray and DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArray{ DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArray []DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByInput - -func (DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy) *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs - -func DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -46792,7 +38550,7 @@ type DashboardWidgetQueryTableDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -46816,7 +38574,7 @@ type DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -46910,10 +38668,10 @@ func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQuery) []DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -46968,13 +38726,13 @@ func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Comput } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestSecurityQuery) []DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -47184,302 +38942,6 @@ func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOu }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) -} - -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput - -func (DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -48257,7 +39719,7 @@ type DashboardWidgetQueryValueDefinitionRequestApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -48281,7 +39743,7 @@ type DashboardWidgetQueryValueDefinitionRequestApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -48375,10 +39837,10 @@ func (o DashboardWidgetQueryValueDefinitionRequestApmQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQuery) []DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -48433,13 +39895,13 @@ func (o DashboardWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestApmQuery) []DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -48647,300 +40109,6 @@ func (o DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs and DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) -} - -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArray and DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArray{ DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArray []DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByInput - -func (DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy) *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -49060,7 +40228,7 @@ type DashboardWidgetQueryValueDefinitionRequestAuditQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -49084,7 +40252,7 @@ type DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -49178,10 +40346,10 @@ func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQuery) []DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -49236,13 +40404,13 @@ func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestAuditQuery) []DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -49450,300 +40618,6 @@ func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs and DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) -} - -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArray and DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArray{ DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} } -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArray []DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByInput - -func (DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) SortQuery() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy { - return vs[0].([]DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs and DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput).ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs, DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr and DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs - -func DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr(v *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -50665,7 +41539,7 @@ type DashboardWidgetQueryValueDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -50689,7 +41563,7 @@ type DashboardWidgetQueryValueDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -50783,10 +41657,10 @@ func (o DashboardWidgetQueryValueDefinitionRequestLogQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQuery) []DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -50841,13 +41715,13 @@ func (o DashboardWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestLogQuery) []DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -51055,300 +41929,6 @@ func (o DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs and DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArray and DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArray{ DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArray []DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy) *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -52665,7 +43245,7 @@ type DashboardWidgetQueryValueDefinitionRequestQueryEventQuery struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -52693,7 +43273,7 @@ type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -52794,10 +43374,10 @@ func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryOutput) DataSou } // Group by options. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQuery) []DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -52867,13 +43447,13 @@ func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Data } // Group by options. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestQueryEventQuery) []DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -53031,300 +43611,6 @@ func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOut }).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) -} - -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput - -func (DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -54202,7 +44488,7 @@ type DashboardWidgetQueryValueDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -54226,7 +44512,7 @@ type DashboardWidgetQueryValueDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -54320,10 +44606,10 @@ func (o DashboardWidgetQueryValueDefinitionRequestRumQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQuery) []DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -54378,13 +44664,13 @@ func (o DashboardWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestRumQuery) []DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -54592,300 +44878,6 @@ func (o DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs and DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) -} - -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArray and DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArray{ DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArray []DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByInput - -func (DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy) *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs - -func DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -55005,7 +44997,7 @@ type DashboardWidgetQueryValueDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -55029,7 +45021,7 @@ type DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -55123,10 +45115,10 @@ func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQuery) []DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -55181,13 +45173,13 @@ func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Comput } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestSecurityQuery) []DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -55397,302 +45389,6 @@ func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOu }).(pulumi.IntPtrOutput) } -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) -} - -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput - -func (DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -58518,7 +48214,7 @@ type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -58546,7 +48242,7 @@ type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryA // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -58649,10 +48345,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQue } // Group by options. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -58728,13 +48424,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQue } // Group by options. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -58898,308 +48594,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQue }).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) } -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) string { - return v.Facet - }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *int { - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Sort() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs and DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput).ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs, DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr and DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs - -func DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr(v *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - return v.Order - }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -60278,7 +49672,7 @@ type DashboardWidgetScatterplotDefinitionRequestXApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -60302,7 +49696,7 @@ type DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -60396,10 +49790,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQuery) []DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -60454,13 +49848,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXApmQuery) []DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -60668,300 +50062,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -61081,7 +50181,7 @@ type DashboardWidgetScatterplotDefinitionRequestXLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -61105,7 +50205,7 @@ type DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -61199,10 +50299,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQuery) []DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -61257,13 +50357,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXLogQuery) []DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -61471,300 +50571,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -62078,7 +50884,7 @@ type DashboardWidgetScatterplotDefinitionRequestXRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -62102,7 +50908,7 @@ type DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -62196,10 +51002,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQuery) []DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -62254,13 +51060,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXRumQuery) []DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -62468,300 +51274,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -62881,7 +51393,7 @@ type DashboardWidgetScatterplotDefinitionRequestXSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -62905,7 +51417,7 @@ type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -62999,10 +51511,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryOutput) Compute } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQuery) []DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -63057,13 +51569,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Comp } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXSecurityQuery) []DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -63273,304 +51785,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -63853,7 +52067,7 @@ type DashboardWidgetScatterplotDefinitionRequestYApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -63877,7 +52091,7 @@ type DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -63971,10 +52185,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQuery) []DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -64029,13 +52243,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYApmQuery) []DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -64243,300 +52457,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -64656,7 +52576,7 @@ type DashboardWidgetScatterplotDefinitionRequestYLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -64680,7 +52600,7 @@ type DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -64774,10 +52694,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQuery) []DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -64832,13 +52752,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYLogQuery) []DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -65046,300 +52966,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -65653,7 +53279,7 @@ type DashboardWidgetScatterplotDefinitionRequestYRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -65677,7 +53303,7 @@ type DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -65771,10 +53397,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQuery) []DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -65829,13 +53455,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYRumQuery) []DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -66043,300 +53669,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -66456,7 +53788,7 @@ type DashboardWidgetScatterplotDefinitionRequestYSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -66480,7 +53812,7 @@ type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -66574,10 +53906,10 @@ func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryOutput) Compute } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQuery) []DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -66632,13 +53964,13 @@ func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Comp } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) GroupBies() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYSecurityQuery) []DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { +func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -66848,304 +54180,6 @@ func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr }).(pulumi.IntPtrOutput) } -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs and DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) -} - -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray and DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{ DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} } -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray []DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput - -func (DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) SortQuery() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs and DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs, DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr and DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) -} - -type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -71373,7 +58407,7 @@ type DashboardWidgetSunburstDefinitionRequestApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -71397,7 +58431,7 @@ type DashboardWidgetSunburstDefinitionRequestApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -71491,10 +58525,8 @@ func (o DashboardWidgetSunburstDefinitionRequestApmQueryOutput) ComputeQuery() D } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQuery) []DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) +func (o DashboardWidgetSunburstDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -71549,13 +58581,13 @@ func (o DashboardWidgetSunburstDefinitionRequestApmQueryPtrOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestApmQuery) []DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -71763,298 +58795,6 @@ func (o DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) I }).(pulumi.IntPtrOutput) } -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs and DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestApmQueryGroupByInput` via: -// -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) -} - -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArray and DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput` via: -// -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArray{ DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArray []DashboardWidgetSunburstDefinitionRequestApmQueryGroupByInput - -func (DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy) *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput) -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -72174,7 +58914,7 @@ type DashboardWidgetSunburstDefinitionRequestAuditQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -72198,7 +58938,7 @@ type DashboardWidgetSunburstDefinitionRequestAuditQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -72292,10 +59032,10 @@ func (o DashboardWidgetSunburstDefinitionRequestAuditQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQuery) []DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -72350,13 +59090,13 @@ func (o DashboardWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestAuditQuery) []DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -72564,300 +59304,6 @@ func (o DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs and DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByInput` via: -// -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) -} - -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArray and DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput` via: -// -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArray{ DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} } -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArray []DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByInput - -func (DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) SortQuery() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy) *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy { - return vs[0].([]DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs and DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput` via: -// -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput).ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs, DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr and DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs - -func DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr(v *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - return &v - }).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery - return ret - }).(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -73610,7 +60056,7 @@ type DashboardWidgetSunburstDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -73634,7 +60080,7 @@ type DashboardWidgetSunburstDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -73728,10 +60174,8 @@ func (o DashboardWidgetSunburstDefinitionRequestLogQueryOutput) ComputeQuery() D } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQuery) []DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) +func (o DashboardWidgetSunburstDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -73786,13 +60230,13 @@ func (o DashboardWidgetSunburstDefinitionRequestLogQueryPtrOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestLogQuery) []DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -74000,298 +60444,6 @@ func (o DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) I }).(pulumi.IntPtrOutput) } -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs and DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArray and DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArray{ DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArray []DashboardWidgetSunburstDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy) *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -74411,7 +60563,7 @@ type DashboardWidgetSunburstDefinitionRequestNetworkQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -74435,7 +60587,7 @@ type DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -74529,10 +60681,10 @@ func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQuery) []DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -74587,13 +60739,13 @@ func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestNetworkQuery) []DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestNetworkQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -74801,300 +60953,6 @@ func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs and DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByInput` via: -// -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) -} - -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArray and DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput` via: -// -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{ DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} } -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArray []DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByInput - -func (DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) SortQuery() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy { - return vs[0].([]DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs and DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput` via: -// -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs, DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr and DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput - ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs - -func DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - return &v - }).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery - return ret - }).(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -76407,7 +62265,7 @@ type DashboardWidgetSunburstDefinitionRequestQueryEventQuery struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -76435,7 +62293,7 @@ type DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -76536,10 +62394,10 @@ func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryOutput) DataSourc } // Group by options. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQuery) []DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -76609,13 +62467,13 @@ func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) DataSo } // Group by options. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestQueryEventQuery) []DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -76773,300 +62631,6 @@ func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutpu }).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput` via: -// -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) -} - -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput - -func (DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -77942,7 +63506,7 @@ type DashboardWidgetSunburstDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -77966,7 +63530,7 @@ type DashboardWidgetSunburstDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -78060,10 +63624,8 @@ func (o DashboardWidgetSunburstDefinitionRequestRumQueryOutput) ComputeQuery() D } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQuery) []DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) +func (o DashboardWidgetSunburstDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -78118,13 +63680,13 @@ func (o DashboardWidgetSunburstDefinitionRequestRumQueryPtrOutput) ComputeQuery( } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestRumQuery) []DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -78332,298 +63894,6 @@ func (o DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) I }).(pulumi.IntPtrOutput) } -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs and DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestRumQueryGroupByInput` via: -// -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) -} - -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArray and DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput` via: -// -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArray{ DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArray []DashboardWidgetSunburstDefinitionRequestRumQueryGroupByInput - -func (DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy) *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput) -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs - -func DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -78743,7 +64013,7 @@ type DashboardWidgetSunburstDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -78767,7 +64037,7 @@ type DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -78861,10 +64131,10 @@ func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQuery) []DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -78919,13 +64189,13 @@ func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ComputeQ } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestSecurityQuery) []DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy { +func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -79133,300 +64403,6 @@ func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutp }).(pulumi.IntPtrOutput) } -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByInput` via: -// -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) -} - -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByInput - -func (DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -80652,7 +65628,7 @@ type DashboardWidgetTimeseriesDefinitionRequestApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -80676,7 +65652,7 @@ type DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -80770,10 +65746,10 @@ func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQuery) []DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -80828,13 +65804,13 @@ func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestApmQuery) []DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestApmQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -81042,300 +66018,6 @@ func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs and DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) -} - -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray and DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{ DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray []DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByInput - -func (DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -81455,7 +66137,7 @@ type DashboardWidgetTimeseriesDefinitionRequestAuditQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -81479,7 +66161,7 @@ type DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -81573,10 +66255,10 @@ func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryOutput) ComputeQuery } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQuery) []DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -81631,13 +66313,13 @@ func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ComputeQu } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestAuditQuery) []DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -81845,300 +66527,6 @@ func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs and DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) -} - -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray and DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray{ DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray []DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput - -func (DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) SortQuery() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs and DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs, DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr and DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs - -func DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -82891,7 +67279,7 @@ type DashboardWidgetTimeseriesDefinitionRequestLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -82915,7 +67303,7 @@ type DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -83009,10 +67397,10 @@ func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQuery) []DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -83067,13 +67455,13 @@ func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestLogQuery) []DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestLogQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -83281,300 +67669,6 @@ func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs and DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) -} - -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray and DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{ DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray []DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs - -func DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -83800,7 +67894,7 @@ type DashboardWidgetTimeseriesDefinitionRequestNetworkQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -83824,7 +67918,7 @@ type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -83918,10 +68012,10 @@ func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ComputeQue } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQuery) []DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -83976,13 +68070,13 @@ func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Compute } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestNetworkQuery) []DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestNetworkQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -84192,300 +68286,6 @@ func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOut }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs and DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) -} - -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray and DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{ DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray []DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput - -func (DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) SortQuery() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs and DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs, DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr and DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput -} - -type dashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs - -func DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) -} - -func (*dashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` @@ -85804,7 +69604,7 @@ type DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. @@ -85832,7 +69632,7 @@ type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs struct { // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. @@ -85933,10 +69733,10 @@ func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) DataSou } // Group by options. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery) []DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -86006,13 +69806,13 @@ func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Data } // Group by options. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery) []DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // An array of index names to query in the stream. @@ -86170,300 +69970,6 @@ func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOut }).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) -} - -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput - -func (DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type dashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*dashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - type DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` @@ -87341,7 +70847,7 @@ type DashboardWidgetTimeseriesDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery *DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []DashboardWidgetGroupBy `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. @@ -87365,7 +70871,7 @@ type DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. ComputeQuery DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies DashboardWidgetGroupByArrayInput `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. @@ -87459,10 +70965,10 @@ func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryOutput) ComputeQuery() } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQuery) []DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -87517,13 +71023,13 @@ func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ComputeQuer } // Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestRumQuery) []DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy { +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestRumQuery) []DashboardWidgetGroupBy { if v == nil { return nil } return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) + }).(DashboardWidgetGroupByArrayOutput) } // The name of the index to query. @@ -87731,273 +71237,490 @@ func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy struct { +type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs and DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByInput` via: +// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs and DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByInput interface { +// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} +type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput + ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput + ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs struct { +type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) +func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) } -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArray and DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput` via: +// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray and DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{ DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput interface { +// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{ DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} } +type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput + ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput + ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArray []DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByInput +type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray []DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) +func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { return o } +// The aggregation method. +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + // The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The maximum number of items in the group. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Define the time interval in seconds. +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { + return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) +} + +type DashboardWidgetTimeseriesDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []DashboardWidgetGroupBy `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 []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput` via: +// +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput +} + +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies DashboardWidgetGroupByArrayInput `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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) +} + +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs, DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtr and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput` via: +// +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput +} + +type dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs + +func DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput { + return (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType)(v) +} + +func (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return o.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery { + return &v + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ComputeQuery() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) MultiComputes() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) DashboardWidgetTimeseriesDefinitionRequestSecurityQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTimeseriesDefinitionRequestSecurityQuery + return ret + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) MultiComputes() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery struct { +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput` via: +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput interface { +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs struct { +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs, DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type dashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs +type dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs -func DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*dashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *dashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { return &v - }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) string { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery + var ret DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery return ret - }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) } // The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -88006,8 +71729,8 @@ func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOut } // The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -88015,17 +71738,17 @@ func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOut }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { +// Define the time interval in seconds. +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute struct { +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -88034,18 +71757,18 @@ type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs and DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput` via: +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput interface { +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs struct { +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -88054,90 +71777,20785 @@ type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) } -// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray and DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput` via: +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{ DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput interface { +// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray{ DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray []DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { return o } // The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) +func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) +} + +type DashboardWidgetTimeseriesDefinitionRequestStyle struct { + // The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. + LineType *string `pulumi:"lineType"` + // The width of line displayed. Valid values are `normal`, `thick`, `thin`. + LineWidth *string `pulumi:"lineWidth"` + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette *string `pulumi:"palette"` +} + +// DashboardWidgetTimeseriesDefinitionRequestStyleInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestStyleArgs and DashboardWidgetTimeseriesDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestStyleInput` via: +// +// DashboardWidgetTimeseriesDefinitionRequestStyleArgs{...} +type DashboardWidgetTimeseriesDefinitionRequestStyleInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionRequestStyleOutput() DashboardWidgetTimeseriesDefinitionRequestStyleOutput + ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestStyleOutput +} + +type DashboardWidgetTimeseriesDefinitionRequestStyleArgs struct { + // The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. + LineType pulumi.StringPtrInput `pulumi:"lineType"` + // The width of line displayed. Valid values are `normal`, `thick`, `thin`. + LineWidth pulumi.StringPtrInput `pulumi:"lineWidth"` + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette pulumi.StringPtrInput `pulumi:"palette"` +} + +func (DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +} + +func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutput() DashboardWidgetTimeseriesDefinitionRequestStyleOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestStyleOutput) +} + +func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestStyleOutput).ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx) +} + +// DashboardWidgetTimeseriesDefinitionRequestStylePtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestStyleArgs, DashboardWidgetTimeseriesDefinitionRequestStylePtr and DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestStylePtrInput` via: +// +// DashboardWidgetTimeseriesDefinitionRequestStyleArgs{...} +// +// or: +// +// nil +type DashboardWidgetTimeseriesDefinitionRequestStylePtrInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput + ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput +} + +type dashboardWidgetTimeseriesDefinitionRequestStylePtrType DashboardWidgetTimeseriesDefinitionRequestStyleArgs + +func DashboardWidgetTimeseriesDefinitionRequestStylePtr(v *DashboardWidgetTimeseriesDefinitionRequestStyleArgs) DashboardWidgetTimeseriesDefinitionRequestStylePtrInput { + return (*dashboardWidgetTimeseriesDefinitionRequestStylePtrType)(v) +} + +func (*dashboardWidgetTimeseriesDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +} + +func (i *dashboardWidgetTimeseriesDefinitionRequestStylePtrType) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTimeseriesDefinitionRequestStylePtrType) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionRequestStyleOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutput() DashboardWidgetTimeseriesDefinitionRequestStyleOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStyleOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return o.ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestStyle) *DashboardWidgetTimeseriesDefinitionRequestStyle { + return &v + }).(DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) +} + +// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. +func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) LineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineType }).(pulumi.StringPtrOutput) +} + +// The width of line displayed. Valid values are `normal`, `thick`, `thin`. +func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) LineWidth() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineWidth }).(pulumi.StringPtrOutput) +} + +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestStyleOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) DashboardWidgetTimeseriesDefinitionRequestStyle { + if v != nil { + return *v + } + var ret DashboardWidgetTimeseriesDefinitionRequestStyle + return ret + }).(DashboardWidgetTimeseriesDefinitionRequestStyleOutput) +} + +// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. +func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) LineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) *string { + if v == nil { + return nil + } + return v.LineType + }).(pulumi.StringPtrOutput) +} + +// The width of line displayed. Valid values are `normal`, `thick`, `thin`. +func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) LineWidth() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) *string { + if v == nil { + return nil + } + return v.LineWidth + }).(pulumi.StringPtrOutput) +} + +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionRightYaxis 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"` +} + +// DashboardWidgetTimeseriesDefinitionRightYaxisInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRightYaxisArgs and DashboardWidgetTimeseriesDefinitionRightYaxisOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRightYaxisInput` via: +// +// DashboardWidgetTimeseriesDefinitionRightYaxisArgs{...} +type DashboardWidgetTimeseriesDefinitionRightYaxisInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionRightYaxisOutput() DashboardWidgetTimeseriesDefinitionRightYaxisOutput + ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisOutput +} + +type DashboardWidgetTimeseriesDefinitionRightYaxisArgs 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 (DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +} + +func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutput() DashboardWidgetTimeseriesDefinitionRightYaxisOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRightYaxisOutput) +} + +func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRightYaxisOutput).ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx) +} + +// DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRightYaxisArgs, DashboardWidgetTimeseriesDefinitionRightYaxisPtr and DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput` via: +// +// DashboardWidgetTimeseriesDefinitionRightYaxisArgs{...} +// +// or: +// +// nil +type DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput + ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput +} + +type dashboardWidgetTimeseriesDefinitionRightYaxisPtrType DashboardWidgetTimeseriesDefinitionRightYaxisArgs + +func DashboardWidgetTimeseriesDefinitionRightYaxisPtr(v *DashboardWidgetTimeseriesDefinitionRightYaxisArgs) DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput { + return (*dashboardWidgetTimeseriesDefinitionRightYaxisPtrType)(v) +} + +func (*dashboardWidgetTimeseriesDefinitionRightYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +} + +func (i *dashboardWidgetTimeseriesDefinitionRightYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTimeseriesDefinitionRightYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionRightYaxisOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutput() DashboardWidgetTimeseriesDefinitionRightYaxisOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o.ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRightYaxis) *DashboardWidgetTimeseriesDefinitionRightYaxis { + return &v + }).(DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRightYaxisOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) DashboardWidgetTimeseriesDefinitionRightYaxis { + if v != nil { + return *v + } + var ret DashboardWidgetTimeseriesDefinitionRightYaxis + return ret + }).(DashboardWidgetTimeseriesDefinitionRightYaxisOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionYaxis 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"` +} + +// DashboardWidgetTimeseriesDefinitionYaxisInput is an input type that accepts DashboardWidgetTimeseriesDefinitionYaxisArgs and DashboardWidgetTimeseriesDefinitionYaxisOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionYaxisInput` via: +// +// DashboardWidgetTimeseriesDefinitionYaxisArgs{...} +type DashboardWidgetTimeseriesDefinitionYaxisInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionYaxisOutput() DashboardWidgetTimeseriesDefinitionYaxisOutput + ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionYaxisOutput +} + +type DashboardWidgetTimeseriesDefinitionYaxisArgs 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 (DashboardWidgetTimeseriesDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +} + +func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisOutput() DashboardWidgetTimeseriesDefinitionYaxisOutput { + return i.ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionYaxisOutput) +} + +func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionYaxisOutput).ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx) +} + +// DashboardWidgetTimeseriesDefinitionYaxisPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionYaxisArgs, DashboardWidgetTimeseriesDefinitionYaxisPtr and DashboardWidgetTimeseriesDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionYaxisPtrInput` via: +// +// DashboardWidgetTimeseriesDefinitionYaxisArgs{...} +// +// or: +// +// nil +type DashboardWidgetTimeseriesDefinitionYaxisPtrInput interface { + pulumi.Input + + ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput + ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput +} + +type dashboardWidgetTimeseriesDefinitionYaxisPtrType DashboardWidgetTimeseriesDefinitionYaxisArgs + +func DashboardWidgetTimeseriesDefinitionYaxisPtr(v *DashboardWidgetTimeseriesDefinitionYaxisArgs) DashboardWidgetTimeseriesDefinitionYaxisPtrInput { + return (*dashboardWidgetTimeseriesDefinitionYaxisPtrType)(v) +} + +func (*dashboardWidgetTimeseriesDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +} + +func (i *dashboardWidgetTimeseriesDefinitionYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return i.ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTimeseriesDefinitionYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionYaxisOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisOutput() DashboardWidgetTimeseriesDefinitionYaxisOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return o.ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionYaxis) *DashboardWidgetTimeseriesDefinitionYaxis { + return &v + }).(DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTimeseriesDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +} + +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { + return o +} + +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionYaxisOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) DashboardWidgetTimeseriesDefinitionYaxis { + if v != nil { + return *v + } + var ret DashboardWidgetTimeseriesDefinitionYaxis + return ret + }).(DashboardWidgetTimeseriesDefinitionYaxisOutput) +} + +// Always include zero or fit the axis to the data range. +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +// Specify the maximum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) +} + +// Specify the minimum value to show on the Y-axis. +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) +} + +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []DashboardWidgetToplistDefinitionCustomLink `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). + Requests []DashboardWidgetToplistDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` +} + +// DashboardWidgetToplistDefinitionInput is an input type that accepts DashboardWidgetToplistDefinitionArgs and DashboardWidgetToplistDefinitionOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionInput` via: +// +// DashboardWidgetToplistDefinitionArgs{...} +type DashboardWidgetToplistDefinitionInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionOutput() DashboardWidgetToplistDefinitionOutput + ToDashboardWidgetToplistDefinitionOutputWithContext(context.Context) DashboardWidgetToplistDefinitionOutput +} + +type DashboardWidgetToplistDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks DashboardWidgetToplistDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). + Requests DashboardWidgetToplistDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +} + +func (DashboardWidgetToplistDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinition)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionOutput() DashboardWidgetToplistDefinitionOutput { + return i.ToDashboardWidgetToplistDefinitionOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionOutput) +} + +func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { + return i.ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionOutput).ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionPtrInput is an input type that accepts DashboardWidgetToplistDefinitionArgs, DashboardWidgetToplistDefinitionPtr and DashboardWidgetToplistDefinitionPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionPtrInput` via: +// +// DashboardWidgetToplistDefinitionArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput + ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionPtrOutput +} + +type dashboardWidgetToplistDefinitionPtrType DashboardWidgetToplistDefinitionArgs + +func DashboardWidgetToplistDefinitionPtr(v *DashboardWidgetToplistDefinitionArgs) DashboardWidgetToplistDefinitionPtrInput { + return (*dashboardWidgetToplistDefinitionPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinition)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionPtrType) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { + return i.ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionPtrType) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionPtrOutput) +} + +type DashboardWidgetToplistDefinitionOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinition)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionOutput() DashboardWidgetToplistDefinitionOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { + return o.ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinition) *DashboardWidgetToplistDefinition { + return &v + }).(DashboardWidgetToplistDefinitionPtrOutput) +} + +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionOutput) CustomLinks() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionCustomLink { + return v.CustomLinks + }).(DashboardWidgetToplistDefinitionCustomLinkArrayOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o DashboardWidgetToplistDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +} + +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). +func (o DashboardWidgetToplistDefinitionOutput) Requests() DashboardWidgetToplistDefinitionRequestArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionRequest { return v.Requests }).(DashboardWidgetToplistDefinitionRequestArrayOutput) +} + +// The title of the widget. +func (o DashboardWidgetToplistDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o DashboardWidgetToplistDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o DashboardWidgetToplistDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinition)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionPtrOutput) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionPtrOutput) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionPtrOutput) Elem() DashboardWidgetToplistDefinitionOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) DashboardWidgetToplistDefinition { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinition + return ret + }).(DashboardWidgetToplistDefinitionOutput) +} + +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionPtrOutput) CustomLinks() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionCustomLink { + if v == nil { + return nil + } + return v.CustomLinks + }).(DashboardWidgetToplistDefinitionCustomLinkArrayOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o DashboardWidgetToplistDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) +} + +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). +func (o DashboardWidgetToplistDefinitionPtrOutput) Requests() DashboardWidgetToplistDefinitionRequestArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(DashboardWidgetToplistDefinitionRequestArrayOutput) +} + +// The title of the widget. +func (o DashboardWidgetToplistDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o DashboardWidgetToplistDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o DashboardWidgetToplistDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` +} + +// DashboardWidgetToplistDefinitionCustomLinkInput is an input type that accepts DashboardWidgetToplistDefinitionCustomLinkArgs and DashboardWidgetToplistDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionCustomLinkInput` via: +// +// DashboardWidgetToplistDefinitionCustomLinkArgs{...} +type DashboardWidgetToplistDefinitionCustomLinkInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionCustomLinkOutput() DashboardWidgetToplistDefinitionCustomLinkOutput + ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(context.Context) DashboardWidgetToplistDefinitionCustomLinkOutput +} + +type DashboardWidgetToplistDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +} + +func (DashboardWidgetToplistDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionCustomLinkArgs) ToDashboardWidgetToplistDefinitionCustomLinkOutput() DashboardWidgetToplistDefinitionCustomLinkOutput { + return i.ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionCustomLinkArgs) ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionCustomLinkOutput) +} + +// DashboardWidgetToplistDefinitionCustomLinkArrayInput is an input type that accepts DashboardWidgetToplistDefinitionCustomLinkArray and DashboardWidgetToplistDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionCustomLinkArrayInput` via: +// +// DashboardWidgetToplistDefinitionCustomLinkArray{ DashboardWidgetToplistDefinitionCustomLinkArgs{...} } +type DashboardWidgetToplistDefinitionCustomLinkArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionCustomLinkArrayOutput() DashboardWidgetToplistDefinitionCustomLinkArrayOutput + ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionCustomLinkArrayOutput +} + +type DashboardWidgetToplistDefinitionCustomLinkArray []DashboardWidgetToplistDefinitionCustomLinkInput + +func (DashboardWidgetToplistDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionCustomLinkArray) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutput() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { + return i.ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionCustomLinkArray) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionCustomLinkArrayOutput) +} + +type DashboardWidgetToplistDefinitionCustomLinkOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionCustomLinkOutput) ToDashboardWidgetToplistDefinitionCustomLinkOutput() DashboardWidgetToplistDefinitionCustomLinkOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionCustomLinkOutput) ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkOutput { + return o +} + +// The flag for toggling context menu link visibility. +func (o DashboardWidgetToplistDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +} + +// The label for the custom link URL. +func (o DashboardWidgetToplistDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// The URL of the custom link. +func (o DashboardWidgetToplistDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +} + +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o DashboardWidgetToplistDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionCustomLinkArrayOutput) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutput() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionCustomLinkArrayOutput) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionCustomLink { + return vs[0].([]DashboardWidgetToplistDefinitionCustomLink)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionCustomLinkOutput) +} + +type DashboardWidgetToplistDefinitionRequest struct { + // The query to use for this widget. + ApmQuery *DashboardWidgetToplistDefinitionRequestApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery *DashboardWidgetToplistDefinitionRequestAuditQuery `pulumi:"auditQuery"` + // Conditional formats allow you to set the color of your widget content or background, depending on a rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []DashboardWidgetToplistDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` + Formulas []DashboardWidgetToplistDefinitionRequestFormula `pulumi:"formulas"` + // The query to use for this widget. + LogQuery *DashboardWidgetToplistDefinitionRequestLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *DashboardWidgetToplistDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []DashboardWidgetToplistDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *DashboardWidgetToplistDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *DashboardWidgetToplistDefinitionRequestSecurityQuery `pulumi:"securityQuery"` + // Define request for the widget's style. + Style *DashboardWidgetToplistDefinitionRequestStyle `pulumi:"style"` +} + +// DashboardWidgetToplistDefinitionRequestInput is an input type that accepts DashboardWidgetToplistDefinitionRequestArgs and DashboardWidgetToplistDefinitionRequestOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestInput` via: +// +// DashboardWidgetToplistDefinitionRequestArgs{...} +type DashboardWidgetToplistDefinitionRequestInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestOutput() DashboardWidgetToplistDefinitionRequestOutput + ToDashboardWidgetToplistDefinitionRequestOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestOutput +} + +type DashboardWidgetToplistDefinitionRequestArgs struct { + // The query to use for this widget. + ApmQuery DashboardWidgetToplistDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` + // Conditional formats allow you to set the color of your widget content or background, depending on a rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` + Formulas DashboardWidgetToplistDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The query to use for this widget. + LogQuery DashboardWidgetToplistDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries DashboardWidgetToplistDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery DashboardWidgetToplistDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` + // Define request for the widget's style. + Style DashboardWidgetToplistDefinitionRequestStylePtrInput `pulumi:"style"` +} + +func (DashboardWidgetToplistDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestArgs) ToDashboardWidgetToplistDefinitionRequestOutput() DashboardWidgetToplistDefinitionRequestOutput { + return i.ToDashboardWidgetToplistDefinitionRequestOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestArgs) ToDashboardWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestOutput) +} + +// DashboardWidgetToplistDefinitionRequestArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestArray and DashboardWidgetToplistDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestArray{ DashboardWidgetToplistDefinitionRequestArgs{...} } +type DashboardWidgetToplistDefinitionRequestArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestArrayOutput() DashboardWidgetToplistDefinitionRequestArrayOutput + ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestArray []DashboardWidgetToplistDefinitionRequestInput + +func (DashboardWidgetToplistDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestArray) ToDashboardWidgetToplistDefinitionRequestArrayOutput() DashboardWidgetToplistDefinitionRequestArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestArray) ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestOutput) ToDashboardWidgetToplistDefinitionRequestOutput() DashboardWidgetToplistDefinitionRequestOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestOutput) ToDashboardWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestOutput { + return o +} + +// The query to use for this widget. +func (o DashboardWidgetToplistDefinitionRequestOutput) ApmQuery() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestApmQuery { + return v.ApmQuery + }).(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) +} + +// The query to use for this widget. +func (o DashboardWidgetToplistDefinitionRequestOutput) AuditQuery() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestAuditQuery { + return v.AuditQuery + }).(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) +} + +// Conditional formats allow you to set the color of your widget content or background, depending on a rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestOutput) ConditionalFormats() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) []DashboardWidgetToplistDefinitionRequestConditionalFormat { + return v.ConditionalFormats + }).(DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) +} + +func (o DashboardWidgetToplistDefinitionRequestOutput) Formulas() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) []DashboardWidgetToplistDefinitionRequestFormula { + return v.Formulas + }).(DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) +} + +// The query to use for this widget. +func (o DashboardWidgetToplistDefinitionRequestOutput) LogQuery() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestLogQuery { + return v.LogQuery + }).(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) +} + +// The process query to use in the widget. The structure of this block is described below. +func (o DashboardWidgetToplistDefinitionRequestOutput) ProcessQuery() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) +} + +// The metric query to use for this widget. +func (o DashboardWidgetToplistDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +} + +func (o DashboardWidgetToplistDefinitionRequestOutput) Queries() DashboardWidgetToplistDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) []DashboardWidgetToplistDefinitionRequestQuery { + return v.Queries + }).(DashboardWidgetToplistDefinitionRequestQueryArrayOutput) +} + +// The query to use for this widget. +func (o DashboardWidgetToplistDefinitionRequestOutput) RumQuery() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestRumQuery { + return v.RumQuery + }).(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) +} + +// The query to use for this widget. +func (o DashboardWidgetToplistDefinitionRequestOutput) SecurityQuery() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +} + +// Define request for the widget's style. +func (o DashboardWidgetToplistDefinitionRequestOutput) Style() DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestStyle { + return v.Style + }).(DashboardWidgetToplistDefinitionRequestStylePtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestArrayOutput) ToDashboardWidgetToplistDefinitionRequestArrayOutput() DashboardWidgetToplistDefinitionRequestArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestArrayOutput) ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequest { + return vs[0].([]DashboardWidgetToplistDefinitionRequest)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []DashboardWidgetGroupBy `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 []DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// DashboardWidgetToplistDefinitionRequestApmQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryArgs and DashboardWidgetToplistDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestApmQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestApmQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestApmQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryOutput + ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies DashboardWidgetGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (DashboardWidgetToplistDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryOutput).ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestApmQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryArgs, DashboardWidgetToplistDefinitionRequestApmQueryPtr and DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestApmQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestApmQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestApmQueryPtrType DashboardWidgetToplistDefinitionRequestApmQueryArgs + +func DashboardWidgetToplistDefinitionRequestApmQueryPtr(v *DashboardWidgetToplistDefinitionRequestApmQueryArgs) DashboardWidgetToplistDefinitionRequestApmQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestApmQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestApmQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestApmQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestApmQuery) *DashboardWidgetToplistDefinitionRequestApmQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) DashboardWidgetToplistDefinitionRequestApmQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestApmQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestApmQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) *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 DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery 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"` +} + +// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput + ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs 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 (DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs + +func DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute 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"` +} + +// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput` via: +// +// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} +type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput + ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput +} + +type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs 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 (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) +} + +// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} } +type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput + ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput + +func (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { + return vs[0].([]DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []DashboardWidgetGroupBy `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 []DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// DashboardWidgetToplistDefinitionRequestAuditQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryArgs and DashboardWidgetToplistDefinitionRequestAuditQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestAuditQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestAuditQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestAuditQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryOutput + ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies DashboardWidgetGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryOutput).ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryArgs, DashboardWidgetToplistDefinitionRequestAuditQueryPtr and DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestAuditQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestAuditQueryPtrType DashboardWidgetToplistDefinitionRequestAuditQueryArgs + +func DashboardWidgetToplistDefinitionRequestAuditQueryPtr(v *DashboardWidgetToplistDefinitionRequestAuditQueryArgs) DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestAuditQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestAuditQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestAuditQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestAuditQuery) *DashboardWidgetToplistDefinitionRequestAuditQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) DashboardWidgetToplistDefinitionRequestAuditQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestAuditQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestAuditQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) *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 DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery 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"` +} + +// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput + ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs 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 (DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs + +func DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute 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"` +} + +// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput` via: +// +// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} +type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput + ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs 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 (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) +} + +// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} } +type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput + ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput + +func (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { + return vs[0].([]DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) +} + +type DashboardWidgetToplistDefinitionRequestConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` +} + +// DashboardWidgetToplistDefinitionRequestConditionalFormatInput is an input type that accepts DashboardWidgetToplistDefinitionRequestConditionalFormatArgs and DashboardWidgetToplistDefinitionRequestConditionalFormatOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestConditionalFormatInput` via: +// +// DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{...} +type DashboardWidgetToplistDefinitionRequestConditionalFormatInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatOutput + ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput +} + +type DashboardWidgetToplistDefinitionRequestConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` +} + +func (DashboardWidgetToplistDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { + return i.ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) +} + +// DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestConditionalFormatArray and DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestConditionalFormatArray{ DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{...} } +type DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput + ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestConditionalFormatArray []DashboardWidgetToplistDefinitionRequestConditionalFormatInput + +func (DashboardWidgetToplistDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { + return o +} + +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +} + +// The color palette to apply to the background, same values available as palette. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +} + +// The color palette to apply to the foreground, same values available as palette. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) +} + +// Setting this to True hides values. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +} + +// Displays an image as the background. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +} + +// The metric from the request to correlate with this conditional format. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +} + +// Defines the displayed timeframe. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +} + +// A value for the comparator. +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} + +type DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestConditionalFormat { + return vs[0].([]DashboardWidgetToplistDefinitionRequestConditionalFormat)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *DashboardWidgetToplistDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *DashboardWidgetToplistDefinitionRequestFormulaStyle `pulumi:"style"` +} + +// DashboardWidgetToplistDefinitionRequestFormulaInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaArgs and DashboardWidgetToplistDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaArgs{...} +type DashboardWidgetToplistDefinitionRequestFormulaInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaOutput() DashboardWidgetToplistDefinitionRequestFormulaOutput + ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaOutput +} + +type DashboardWidgetToplistDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +} + +func (DashboardWidgetToplistDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaArgs) ToDashboardWidgetToplistDefinitionRequestFormulaOutput() DashboardWidgetToplistDefinitionRequestFormulaOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaArgs) ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaOutput) +} + +// DashboardWidgetToplistDefinitionRequestFormulaArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaArray and DashboardWidgetToplistDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaArray{ DashboardWidgetToplistDefinitionRequestFormulaArgs{...} } +type DashboardWidgetToplistDefinitionRequestFormulaArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput + ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestFormulaArray []DashboardWidgetToplistDefinitionRequestFormulaInput + +func (DashboardWidgetToplistDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaArray) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaArray) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) ToDashboardWidgetToplistDefinitionRequestFormulaOutput() DashboardWidgetToplistDefinitionRequestFormulaOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaOutput { + return o +} + +// An expression alias. +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +} + +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +} + +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) ConditionalFormats() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) []DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) +} + +// A string expression built from queries, formulas, and functions. +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +} + +// The options for limiting results returned. +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) Limit() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *DashboardWidgetToplistDefinitionRequestFormulaLimit { + return v.Limit + }).(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +} + +// Styling options for widget formulas. +func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) Style() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *DashboardWidgetToplistDefinitionRequestFormulaStyle { + return v.Style + }).(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestFormula { + return vs[0].([]DashboardWidgetToplistDefinitionRequestFormula)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestFormulaOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` +} + +// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs and DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} +type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput + ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput +} + +type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` +} + +func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) +} + +// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray and DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray{ DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} } +type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput + ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray []DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput + +func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return o +} + +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +} + +// The color palette to apply to the background, same values available as palette. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) +} + +// The color palette to apply to the foreground, same values available as palette. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor + }).(pulumi.StringPtrOutput) +} + +// Setting this to True hides values. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +} + +// Displays an image as the background. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +} + +// The metric from the request to correlate with this conditional format. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +} + +// Defines the displayed timeframe. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +} + +// A value for the comparator. +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} + +type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat { + return vs[0].([]DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` +} + +// DashboardWidgetToplistDefinitionRequestFormulaLimitInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaLimitArgs and DashboardWidgetToplistDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaLimitInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{...} +type DashboardWidgetToplistDefinitionRequestFormulaLimitInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput + ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitOutput +} + +type DashboardWidgetToplistDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` +} + +func (DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput).ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaLimitArgs, DashboardWidgetToplistDefinitionRequestFormulaLimitPtr and DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput + ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType DashboardWidgetToplistDefinitionRequestFormulaLimitArgs + +func DashboardWidgetToplistDefinitionRequestFormulaLimitPtr(v *DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput { + return (*dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestFormulaLimit) *DashboardWidgetToplistDefinitionRequestFormulaLimit { + return &v + }).(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +} + +// The number of results to return. +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaLimit) DashboardWidgetToplistDefinitionRequestFormulaLimit { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestFormulaLimit + return ret + }).(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) +} + +// The number of results to return. +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaLimit) *int { + if v == nil { + return nil + } + return v.Count + }).(pulumi.IntPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaLimit) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` +} + +// DashboardWidgetToplistDefinitionRequestFormulaStyleInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaStyleArgs and DashboardWidgetToplistDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaStyleInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{...} +type DashboardWidgetToplistDefinitionRequestFormulaStyleInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutput() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput + ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaStyleOutput +} + +type DashboardWidgetToplistDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` +} + +func (DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutput() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput).ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaStyleArgs, DashboardWidgetToplistDefinitionRequestFormulaStylePtr and DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput + ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput +} + +type dashboardWidgetToplistDefinitionRequestFormulaStylePtrType DashboardWidgetToplistDefinitionRequestFormulaStyleArgs + +func DashboardWidgetToplistDefinitionRequestFormulaStylePtr(v *DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput { + return (*dashboardWidgetToplistDefinitionRequestFormulaStylePtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestFormulaStylePtrType) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestFormulaStylePtrType) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutput() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestFormulaStyle) *DashboardWidgetToplistDefinitionRequestFormulaStyle { + return &v + }).(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) +} + +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +} + +// Index specifying which color to use within the palette. +func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) Elem() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaStyle) DashboardWidgetToplistDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestFormulaStyle + return ret + }).(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) +} + +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) +} + +// Index specifying which color to use within the palette. +func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaStyle) *int { + if v == nil { + return nil + } + return v.PaletteIndex + }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []DashboardWidgetGroupBy `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 []DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// DashboardWidgetToplistDefinitionRequestLogQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryArgs and DashboardWidgetToplistDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestLogQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestLogQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestLogQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryOutput + ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies DashboardWidgetGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (DashboardWidgetToplistDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryOutput).ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestLogQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryArgs, DashboardWidgetToplistDefinitionRequestLogQueryPtr and DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestLogQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestLogQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestLogQueryPtrType DashboardWidgetToplistDefinitionRequestLogQueryArgs + +func DashboardWidgetToplistDefinitionRequestLogQueryPtr(v *DashboardWidgetToplistDefinitionRequestLogQueryArgs) DashboardWidgetToplistDefinitionRequestLogQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestLogQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestLogQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestLogQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestLogQuery) *DashboardWidgetToplistDefinitionRequestLogQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) DashboardWidgetToplistDefinitionRequestLogQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestLogQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestLogQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) *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 DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery 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"` +} + +// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput + ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs 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 (DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs + +func DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute 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"` +} + +// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput` via: +// +// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} +type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput + ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput +} + +type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs 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 (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) +} + +// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} } +type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput + ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput + +func (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { + return vs[0].([]DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) +} + +type DashboardWidgetToplistDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` +} + +// DashboardWidgetToplistDefinitionRequestProcessQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestProcessQueryArgs and DashboardWidgetToplistDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestProcessQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestProcessQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestProcessQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestProcessQueryOutput() DashboardWidgetToplistDefinitionRequestProcessQueryOutput + ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` +} + +func (DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutput() DashboardWidgetToplistDefinitionRequestProcessQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestProcessQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestProcessQueryOutput).ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestProcessQueryArgs, DashboardWidgetToplistDefinitionRequestProcessQueryPtr and DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestProcessQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestProcessQueryPtrType DashboardWidgetToplistDefinitionRequestProcessQueryArgs + +func DashboardWidgetToplistDefinitionRequestProcessQueryPtr(v *DashboardWidgetToplistDefinitionRequestProcessQueryArgs) DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestProcessQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutput() DashboardWidgetToplistDefinitionRequestProcessQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestProcessQuery) *DashboardWidgetToplistDefinitionRequestProcessQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) +} + +// A list of processes. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +} + +// The max number of items in the filter list. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// Your chosen metric. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// Your chosen search term. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) DashboardWidgetToplistDefinitionRequestProcessQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestProcessQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestProcessQueryOutput) +} + +// A list of processes. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) []string { + if v == nil { + return nil + } + return v.FilterBies + }).(pulumi.StringArrayOutput) +} + +// The max number of items in the filter list. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// Your chosen metric. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) +} + +// Your chosen search term. +func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return v.SearchBy + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *DashboardWidgetToplistDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *DashboardWidgetToplistDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *DashboardWidgetToplistDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *DashboardWidgetToplistDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +} + +// DashboardWidgetToplistDefinitionRequestQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryArgs and DashboardWidgetToplistDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryOutput() DashboardWidgetToplistDefinitionRequestQueryOutput + ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryOutput() DashboardWidgetToplistDefinitionRequestQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryOutput) +} + +// DashboardWidgetToplistDefinitionRequestQueryArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryArray and DashboardWidgetToplistDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryArray{ DashboardWidgetToplistDefinitionRequestQueryArgs{...} } +type DashboardWidgetToplistDefinitionRequestQueryArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryArrayOutput() DashboardWidgetToplistDefinitionRequestQueryArrayOutput + ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryArray []DashboardWidgetToplistDefinitionRequestQueryInput + +func (DashboardWidgetToplistDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryArray) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutput() DashboardWidgetToplistDefinitionRequestQueryArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryArray) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryOutput() DashboardWidgetToplistDefinitionRequestQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryOutput { + return o +} + +// The APM Dependency Stats query using formulas and functions. +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ApmDependencyStatsQuery() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +// The APM Resource Stats query using formulas and functions. +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ApmResourceStatsQuery() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +// The Cloud Cost query using formulas and functions. +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) CloudCostQuery() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +// A timeseries formula and functions events query. +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) EventQuery() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +} + +// A timeseries formula and functions metrics query. +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) MetricQuery() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +} + +// The process query using formulas and functions. +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ProcessQuery() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) +} + +// The SLO query using formulas and functions. +func (o DashboardWidgetToplistDefinitionRequestQueryOutput) SloQuery() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutput() DashboardWidgetToplistDefinitionRequestQueryArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestQuery { + return vs[0].([]DashboardWidgetToplistDefinitionRequestQuery)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestQueryOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` +} + +// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs and DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput + ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs, DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr and DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs + +func DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) +} + +// APM environment. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} + +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// Name of operation on service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) +} + +// APM service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) +} + +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) +} + +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { + if v == nil { + return nil + } + return v.IsUpstream + }).(pulumi.BoolPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of operation on service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` +} + +// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs and DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput + ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs, DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr and DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs + +func DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// APM environment. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} + +// Array of fields to group results by. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// Name of operation on service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) +} + +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) +} + +// Array of fields to group results by. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { + if v == nil { + return nil + } + return v.GroupBies + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of operation on service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` +} + +// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs and DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput + ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs, DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtr and DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs + +func DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} + +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The cloud cost query definition. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) +} + +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The cloud cost query definition. +func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` +} + +// DashboardWidgetToplistDefinitionRequestQueryEventQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs and DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryEventQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs, DashboardWidgetToplistDefinitionRequestQueryEventQueryPtr and DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs + +func DashboardWidgetToplistDefinitionRequestQueryEventQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryEventQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +} + +// The compute options. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Computes() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Group by options. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// An array of index names to query in the stream. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The search options. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Search() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) DashboardWidgetToplistDefinitionRequestQueryEventQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQueryEventQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) +} + +// The compute options. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Computes() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { + if v == nil { + return nil + } + return v.Computes + }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Group by options. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// An array of index names to query in the stream. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The search options. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Search() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { + if v == nil { + return nil + } + return v.Search + }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` +} + +// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs and DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) +} + +// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray and DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray{ DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} } +type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput + ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray []DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput + +func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return o +} + +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// A time interval in milliseconds. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +// The measurable attribute to compute. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { + return vs[0].([]DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` +} + +// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs and DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput + ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput).ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs, DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtr and DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput + ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs + +func DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtr(v *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { + return &v + }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// The events search string. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch + return ret + }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) +} + +// The events search string. +func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` +} + +// DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs and DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput + ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs, DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtr and DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs + +func DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *DashboardWidgetToplistDefinitionRequestQueryMetricQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} + +// The data source for metrics queries. Defaults to `"metrics"`. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The metrics query definition. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) DashboardWidgetToplistDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQueryMetricQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for metrics queries. Defaults to `"metrics"`. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The metrics query definition. +func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit *int `pulumi:"limit"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` +} + +// DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs and DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput + ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +} + +func (DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs, DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtr and DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs + +func DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *DashboardWidgetToplistDefinitionRequestQueryProcessQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} + +// The data source for process queries. Valid values are `process`, `container`. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Whether to normalize the CPU percentages. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +} + +// The number of hits to return. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +} + +// An array of tags to filter by. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) DashboardWidgetToplistDefinitionRequestQueryProcessQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQueryProcessQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for process queries. Valid values are `process`, `container`. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Whether to normalize the CPU percentages. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) +} + +// The number of hits to return. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Sort + }).(pulumi.StringPtrOutput) +} + +// An array of tags to filter by. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) []string { + if v == nil { + return nil + } + return v.TagFilters + }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.TextFilter + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` +} + +// DashboardWidgetToplistDefinitionRequestQuerySloQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs and DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQuerySloQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestQuerySloQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput + ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +} + +func (DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput).ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs, DashboardWidgetToplistDefinitionRequestQuerySloQueryPtr and DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs + +func DashboardWidgetToplistDefinitionRequestQuerySloQueryPtr(v *DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *DashboardWidgetToplistDefinitionRequestQuerySloQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) +} + +// Additional filters applied to the SLO query. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) +} + +// The data source for SLO queries. Valid values are `slo`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +} + +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) DashboardWidgetToplistDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestQuerySloQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) +} + +// Additional filters applied to the SLO query. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) +} + +// The data source for SLO queries. Valid values are `slo`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) +} + +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []DashboardWidgetGroupBy `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 []DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// DashboardWidgetToplistDefinitionRequestRumQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryArgs and DashboardWidgetToplistDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestRumQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestRumQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestRumQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryOutput + ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies DashboardWidgetGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (DashboardWidgetToplistDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryOutput).ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestRumQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryArgs, DashboardWidgetToplistDefinitionRequestRumQueryPtr and DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestRumQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestRumQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestRumQueryPtrType DashboardWidgetToplistDefinitionRequestRumQueryArgs + +func DashboardWidgetToplistDefinitionRequestRumQueryPtr(v *DashboardWidgetToplistDefinitionRequestRumQueryArgs) DashboardWidgetToplistDefinitionRequestRumQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestRumQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestRumQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestRumQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestRumQuery) *DashboardWidgetToplistDefinitionRequestRumQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetGroupBy { return v.GroupBies }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) DashboardWidgetToplistDefinitionRequestRumQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestRumQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestRumQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) *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 DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery 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"` +} + +// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput + ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs 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 (DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs + +func DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute 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"` +} + +// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput` via: +// +// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} +type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput + ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput +} + +type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs 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 (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) +} + +// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} } +type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput + ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput + +func (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { + return vs[0].([]DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []DashboardWidgetGroupBy `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 []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// DashboardWidgetToplistDefinitionRequestSecurityQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestSecurityQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput + ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies DashboardWidgetGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput).ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryArgs, DashboardWidgetToplistDefinitionRequestSecurityQueryPtr and DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType DashboardWidgetToplistDefinitionRequestSecurityQueryArgs + +func DashboardWidgetToplistDefinitionRequestSecurityQueryPtr(v *DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestSecurityQuery) *DashboardWidgetToplistDefinitionRequestSecurityQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) DashboardWidgetToplistDefinitionRequestSecurityQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestSecurityQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// The name of the index to query. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) *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 DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery 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"` +} + +// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput` via: +// +// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} +type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput + ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs 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 (DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput +} + +type dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs + +func DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { + return &v + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery + return ret + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute 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"` +} + +// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput` via: +// +// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} +type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput + ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs 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 (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) +} + +// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// +// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) +} + +type DashboardWidgetToplistDefinitionRequestStyle struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette *string `pulumi:"palette"` +} + +// DashboardWidgetToplistDefinitionRequestStyleInput is an input type that accepts DashboardWidgetToplistDefinitionRequestStyleArgs and DashboardWidgetToplistDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestStyleInput` via: +// +// DashboardWidgetToplistDefinitionRequestStyleArgs{...} +type DashboardWidgetToplistDefinitionRequestStyleInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestStyleOutput() DashboardWidgetToplistDefinitionRequestStyleOutput + ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestStyleOutput +} + +type DashboardWidgetToplistDefinitionRequestStyleArgs struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette pulumi.StringPtrInput `pulumi:"palette"` +} + +func (DashboardWidgetToplistDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStyleOutput() DashboardWidgetToplistDefinitionRequestStyleOutput { + return i.ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestStyleOutput) +} + +func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestStyleOutput).ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx) +} + +// DashboardWidgetToplistDefinitionRequestStylePtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestStyleArgs, DashboardWidgetToplistDefinitionRequestStylePtr and DashboardWidgetToplistDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestStylePtrInput` via: +// +// DashboardWidgetToplistDefinitionRequestStyleArgs{...} +// +// or: +// +// nil +type DashboardWidgetToplistDefinitionRequestStylePtrInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput + ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput +} + +type dashboardWidgetToplistDefinitionRequestStylePtrType DashboardWidgetToplistDefinitionRequestStyleArgs + +func DashboardWidgetToplistDefinitionRequestStylePtr(v *DashboardWidgetToplistDefinitionRequestStyleArgs) DashboardWidgetToplistDefinitionRequestStylePtrInput { + return (*dashboardWidgetToplistDefinitionRequestStylePtrType)(v) +} + +func (*dashboardWidgetToplistDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +} + +func (i *dashboardWidgetToplistDefinitionRequestStylePtrType) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return i.ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetToplistDefinitionRequestStylePtrType) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestStylePtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestStyleOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStyleOutput() DashboardWidgetToplistDefinitionRequestStyleOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStyleOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return o.ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestStyle) *DashboardWidgetToplistDefinitionRequestStyle { + return &v + }).(DashboardWidgetToplistDefinitionRequestStylePtrOutput) +} + +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o DashboardWidgetToplistDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) Elem() DashboardWidgetToplistDefinitionRequestStyleOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestStyle) DashboardWidgetToplistDefinitionRequestStyle { + if v != nil { + return *v + } + var ret DashboardWidgetToplistDefinitionRequestStyle + return ret + }).(DashboardWidgetToplistDefinitionRequestStyleOutput) +} + +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTopologyMapDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []DashboardWidgetTopologyMapDefinitionCustomLink `pulumi:"customLinks"` + // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). + Requests []DashboardWidgetTopologyMapDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` +} + +// DashboardWidgetTopologyMapDefinitionInput is an input type that accepts DashboardWidgetTopologyMapDefinitionArgs and DashboardWidgetTopologyMapDefinitionOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionInput` via: +// +// DashboardWidgetTopologyMapDefinitionArgs{...} +type DashboardWidgetTopologyMapDefinitionInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionOutput() DashboardWidgetTopologyMapDefinitionOutput + ToDashboardWidgetTopologyMapDefinitionOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionOutput +} + +type DashboardWidgetTopologyMapDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). + Requests DashboardWidgetTopologyMapDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +} + +func (DashboardWidgetTopologyMapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinition)(nil)).Elem() +} + +func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionOutput() DashboardWidgetTopologyMapDefinitionOutput { + return i.ToDashboardWidgetTopologyMapDefinitionOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionOutput) +} + +func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { + return i.ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionOutput).ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx) +} + +// DashboardWidgetTopologyMapDefinitionPtrInput is an input type that accepts DashboardWidgetTopologyMapDefinitionArgs, DashboardWidgetTopologyMapDefinitionPtr and DashboardWidgetTopologyMapDefinitionPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionPtrInput` via: +// +// DashboardWidgetTopologyMapDefinitionArgs{...} +// +// or: +// +// nil +type DashboardWidgetTopologyMapDefinitionPtrInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput + ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput +} + +type dashboardWidgetTopologyMapDefinitionPtrType DashboardWidgetTopologyMapDefinitionArgs + +func DashboardWidgetTopologyMapDefinitionPtr(v *DashboardWidgetTopologyMapDefinitionArgs) DashboardWidgetTopologyMapDefinitionPtrInput { + return (*dashboardWidgetTopologyMapDefinitionPtrType)(v) +} + +func (*dashboardWidgetTopologyMapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTopologyMapDefinition)(nil)).Elem() +} + +func (i *dashboardWidgetTopologyMapDefinitionPtrType) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { + return i.ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTopologyMapDefinitionPtrType) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionPtrOutput) +} + +type DashboardWidgetTopologyMapDefinitionOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinition)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionOutput() DashboardWidgetTopologyMapDefinitionOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { + return o.ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTopologyMapDefinition) *DashboardWidgetTopologyMapDefinition { + return &v + }).(DashboardWidgetTopologyMapDefinitionPtrOutput) +} + +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o DashboardWidgetTopologyMapDefinitionOutput) CustomLinks() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionCustomLink { + return v.CustomLinks + }).(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) +} + +// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). +func (o DashboardWidgetTopologyMapDefinitionOutput) Requests() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionRequest { + return v.Requests + }).(DashboardWidgetTopologyMapDefinitionRequestArrayOutput) +} + +// The title of the widget. +func (o DashboardWidgetTopologyMapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o DashboardWidgetTopologyMapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o DashboardWidgetTopologyMapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTopologyMapDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTopologyMapDefinition)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) Elem() DashboardWidgetTopologyMapDefinitionOutput { + return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) DashboardWidgetTopologyMapDefinition { + if v != nil { + return *v + } + var ret DashboardWidgetTopologyMapDefinition + return ret + }).(DashboardWidgetTopologyMapDefinitionOutput) +} + +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) CustomLinks() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionCustomLink { + if v == nil { + return nil + } + return v.CustomLinks + }).(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) +} + +// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) Requests() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(DashboardWidgetTopologyMapDefinitionRequestArrayOutput) +} + +// The title of the widget. +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o DashboardWidgetTopologyMapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTopologyMapDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` +} + +// DashboardWidgetTopologyMapDefinitionCustomLinkInput is an input type that accepts DashboardWidgetTopologyMapDefinitionCustomLinkArgs and DashboardWidgetTopologyMapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionCustomLinkInput` via: +// +// DashboardWidgetTopologyMapDefinitionCustomLinkArgs{...} +type DashboardWidgetTopologyMapDefinitionCustomLinkInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionCustomLinkOutput() DashboardWidgetTopologyMapDefinitionCustomLinkOutput + ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkOutput +} + +type DashboardWidgetTopologyMapDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +} + +func (DashboardWidgetTopologyMapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +} + +func (i DashboardWidgetTopologyMapDefinitionCustomLinkArgs) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutput() DashboardWidgetTopologyMapDefinitionCustomLinkOutput { + return i.ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionCustomLinkArgs) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionCustomLinkOutput) +} + +// DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput is an input type that accepts DashboardWidgetTopologyMapDefinitionCustomLinkArray and DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput` via: +// +// DashboardWidgetTopologyMapDefinitionCustomLinkArray{ DashboardWidgetTopologyMapDefinitionCustomLinkArgs{...} } +type DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput + ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput +} + +type DashboardWidgetTopologyMapDefinitionCustomLinkArray []DashboardWidgetTopologyMapDefinitionCustomLinkInput + +func (DashboardWidgetTopologyMapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +} + +func (i DashboardWidgetTopologyMapDefinitionCustomLinkArray) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return i.ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionCustomLinkArray) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) +} + +type DashboardWidgetTopologyMapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutput() DashboardWidgetTopologyMapDefinitionCustomLinkOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkOutput { + return o +} + +// The flag for toggling context menu link visibility. +func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +} + +// The label for the custom link URL. +func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// The URL of the custom link. +func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +} + +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTopologyMapDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTopologyMapDefinitionCustomLink { + return vs[0].([]DashboardWidgetTopologyMapDefinitionCustomLink)[vs[1].(int)] + }).(DashboardWidgetTopologyMapDefinitionCustomLinkOutput) +} + +type DashboardWidgetTopologyMapDefinitionRequest struct { + // The query for a Topology request. + Queries []DashboardWidgetTopologyMapDefinitionRequestQuery `pulumi:"queries"` + // The request type for the Topology request ('topology'). Valid values are `topology`. + RequestType string `pulumi:"requestType"` +} + +// DashboardWidgetTopologyMapDefinitionRequestInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestArgs and DashboardWidgetTopologyMapDefinitionRequestOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestInput` via: +// +// DashboardWidgetTopologyMapDefinitionRequestArgs{...} +type DashboardWidgetTopologyMapDefinitionRequestInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionRequestOutput() DashboardWidgetTopologyMapDefinitionRequestOutput + ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestOutput +} + +type DashboardWidgetTopologyMapDefinitionRequestArgs struct { + // The query for a Topology request. + Queries DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The request type for the Topology request ('topology'). Valid values are `topology`. + RequestType pulumi.StringInput `pulumi:"requestType"` +} + +func (DashboardWidgetTopologyMapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +} + +func (i DashboardWidgetTopologyMapDefinitionRequestArgs) ToDashboardWidgetTopologyMapDefinitionRequestOutput() DashboardWidgetTopologyMapDefinitionRequestOutput { + return i.ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionRequestArgs) ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestOutput) +} + +// DashboardWidgetTopologyMapDefinitionRequestArrayInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestArray and DashboardWidgetTopologyMapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestArrayInput` via: +// +// DashboardWidgetTopologyMapDefinitionRequestArray{ DashboardWidgetTopologyMapDefinitionRequestArgs{...} } +type DashboardWidgetTopologyMapDefinitionRequestArrayInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionRequestArrayOutput() DashboardWidgetTopologyMapDefinitionRequestArrayOutput + ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestArrayOutput +} + +type DashboardWidgetTopologyMapDefinitionRequestArray []DashboardWidgetTopologyMapDefinitionRequestInput + +func (DashboardWidgetTopologyMapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +} + +func (i DashboardWidgetTopologyMapDefinitionRequestArray) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutput() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { + return i.ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionRequestArray) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestArrayOutput) +} + +type DashboardWidgetTopologyMapDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionRequestOutput) ToDashboardWidgetTopologyMapDefinitionRequestOutput() DashboardWidgetTopologyMapDefinitionRequestOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionRequestOutput) ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestOutput { + return o +} + +// The query for a Topology request. +func (o DashboardWidgetTopologyMapDefinitionRequestOutput) Queries() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequest) []DashboardWidgetTopologyMapDefinitionRequestQuery { + return v.Queries + }).(DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) +} + +// The request type for the Topology request ('topology'). Valid values are `topology`. +func (o DashboardWidgetTopologyMapDefinitionRequestOutput) RequestType() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequest) string { return v.RequestType }).(pulumi.StringOutput) +} + +type DashboardWidgetTopologyMapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionRequestArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutput() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionRequestArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestArrayOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTopologyMapDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTopologyMapDefinitionRequest { + return vs[0].([]DashboardWidgetTopologyMapDefinitionRequest)[vs[1].(int)] + }).(DashboardWidgetTopologyMapDefinitionRequestOutput) +} + +type DashboardWidgetTopologyMapDefinitionRequestQuery struct { + // The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. + DataSource string `pulumi:"dataSource"` + // Your environment and primary tag (or `*` if enabled for your account). + Filters []string `pulumi:"filters"` + // The ID of the service to map. + Service string `pulumi:"service"` +} + +// DashboardWidgetTopologyMapDefinitionRequestQueryInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestQueryArgs and DashboardWidgetTopologyMapDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestQueryInput` via: +// +// DashboardWidgetTopologyMapDefinitionRequestQueryArgs{...} +type DashboardWidgetTopologyMapDefinitionRequestQueryInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionRequestQueryOutput() DashboardWidgetTopologyMapDefinitionRequestQueryOutput + ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryOutput +} + +type DashboardWidgetTopologyMapDefinitionRequestQueryArgs struct { + // The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Your environment and primary tag (or `*` if enabled for your account). + Filters pulumi.StringArrayInput `pulumi:"filters"` + // The ID of the service to map. + Service pulumi.StringInput `pulumi:"service"` +} + +func (DashboardWidgetTopologyMapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +} + +func (i DashboardWidgetTopologyMapDefinitionRequestQueryArgs) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutput() DashboardWidgetTopologyMapDefinitionRequestQueryOutput { + return i.ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionRequestQueryArgs) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestQueryOutput) +} + +// DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestQueryArray and DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput` via: +// +// DashboardWidgetTopologyMapDefinitionRequestQueryArray{ DashboardWidgetTopologyMapDefinitionRequestQueryArgs{...} } +type DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput interface { + pulumi.Input + + ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput + ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput +} + +type DashboardWidgetTopologyMapDefinitionRequestQueryArray []DashboardWidgetTopologyMapDefinitionRequestQueryInput + +func (DashboardWidgetTopologyMapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +} + +func (i DashboardWidgetTopologyMapDefinitionRequestQueryArray) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return i.ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTopologyMapDefinitionRequestQueryArray) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) +} + +type DashboardWidgetTopologyMapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutput() DashboardWidgetTopologyMapDefinitionRequestQueryOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryOutput { + return o +} + +// The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. +func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Your environment and primary tag (or `*` if enabled for your account). +func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) Filters() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequestQuery) []string { return v.Filters }).(pulumi.StringArrayOutput) +} + +// The ID of the service to map. +func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequestQuery) string { return v.Service }).(pulumi.StringOutput) +} + +type DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +} + +func (o DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return o +} + +func (o DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTopologyMapDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTopologyMapDefinitionRequestQuery { + return vs[0].([]DashboardWidgetTopologyMapDefinitionRequestQuery)[vs[1].(int)] + }).(DashboardWidgetTopologyMapDefinitionRequestQueryOutput) +} + +type DashboardWidgetTraceServiceDefinition struct { + // The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. + DisplayFormat *string `pulumi:"displayFormat"` + // APM environment. + Env string `pulumi:"env"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // APM service. + Service string `pulumi:"service"` + // Whether to show the latency breakdown or not. + ShowBreakdown *bool `pulumi:"showBreakdown"` + // Whether to show the latency distribution or not. + ShowDistribution *bool `pulumi:"showDistribution"` + // Whether to show the error metrics or not. + ShowErrors *bool `pulumi:"showErrors"` + // Whether to show the hits metrics or not + ShowHits *bool `pulumi:"showHits"` + // Whether to show the latency metrics or not. + ShowLatency *bool `pulumi:"showLatency"` + // Whether to show the resource list or not. + ShowResourceList *bool `pulumi:"showResourceList"` + // The size of the widget. Valid values are `small`, `medium`, `large`. + SizeFormat *string `pulumi:"sizeFormat"` + // APM span name + SpanName string `pulumi:"spanName"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` +} + +// DashboardWidgetTraceServiceDefinitionInput is an input type that accepts DashboardWidgetTraceServiceDefinitionArgs and DashboardWidgetTraceServiceDefinitionOutput values. +// You can construct a concrete instance of `DashboardWidgetTraceServiceDefinitionInput` via: +// +// DashboardWidgetTraceServiceDefinitionArgs{...} +type DashboardWidgetTraceServiceDefinitionInput interface { + pulumi.Input + + ToDashboardWidgetTraceServiceDefinitionOutput() DashboardWidgetTraceServiceDefinitionOutput + ToDashboardWidgetTraceServiceDefinitionOutputWithContext(context.Context) DashboardWidgetTraceServiceDefinitionOutput +} + +type DashboardWidgetTraceServiceDefinitionArgs struct { + // The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. + DisplayFormat pulumi.StringPtrInput `pulumi:"displayFormat"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // Whether to show the latency breakdown or not. + ShowBreakdown pulumi.BoolPtrInput `pulumi:"showBreakdown"` + // Whether to show the latency distribution or not. + ShowDistribution pulumi.BoolPtrInput `pulumi:"showDistribution"` + // Whether to show the error metrics or not. + ShowErrors pulumi.BoolPtrInput `pulumi:"showErrors"` + // Whether to show the hits metrics or not + ShowHits pulumi.BoolPtrInput `pulumi:"showHits"` + // Whether to show the latency metrics or not. + ShowLatency pulumi.BoolPtrInput `pulumi:"showLatency"` + // Whether to show the resource list or not. + ShowResourceList pulumi.BoolPtrInput `pulumi:"showResourceList"` + // The size of the widget. Valid values are `small`, `medium`, `large`. + SizeFormat pulumi.StringPtrInput `pulumi:"sizeFormat"` + // APM span name + SpanName pulumi.StringInput `pulumi:"spanName"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +} + +func (DashboardWidgetTraceServiceDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTraceServiceDefinition)(nil)).Elem() +} + +func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionOutput() DashboardWidgetTraceServiceDefinitionOutput { + return i.ToDashboardWidgetTraceServiceDefinitionOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTraceServiceDefinitionOutput) +} + +func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { + return i.ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTraceServiceDefinitionOutput).ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx) +} + +// DashboardWidgetTraceServiceDefinitionPtrInput is an input type that accepts DashboardWidgetTraceServiceDefinitionArgs, DashboardWidgetTraceServiceDefinitionPtr and DashboardWidgetTraceServiceDefinitionPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTraceServiceDefinitionPtrInput` via: +// +// DashboardWidgetTraceServiceDefinitionArgs{...} +// +// or: +// +// nil +type DashboardWidgetTraceServiceDefinitionPtrInput interface { + pulumi.Input + + ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput + ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput +} + +type dashboardWidgetTraceServiceDefinitionPtrType DashboardWidgetTraceServiceDefinitionArgs + +func DashboardWidgetTraceServiceDefinitionPtr(v *DashboardWidgetTraceServiceDefinitionArgs) DashboardWidgetTraceServiceDefinitionPtrInput { + return (*dashboardWidgetTraceServiceDefinitionPtrType)(v) +} + +func (*dashboardWidgetTraceServiceDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTraceServiceDefinition)(nil)).Elem() +} + +func (i *dashboardWidgetTraceServiceDefinitionPtrType) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { + return i.ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTraceServiceDefinitionPtrType) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTraceServiceDefinitionPtrOutput) +} + +type DashboardWidgetTraceServiceDefinitionOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTraceServiceDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTraceServiceDefinition)(nil)).Elem() +} + +func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionOutput() DashboardWidgetTraceServiceDefinitionOutput { + return o +} + +func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionOutput { + return o +} + +func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { + return o.ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTraceServiceDefinition) *DashboardWidgetTraceServiceDefinition { + return &v + }).(DashboardWidgetTraceServiceDefinitionPtrOutput) +} + +// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. +func (o DashboardWidgetTraceServiceDefinitionOutput) DisplayFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.DisplayFormat }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o DashboardWidgetTraceServiceDefinitionOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) string { return v.Env }).(pulumi.StringOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o DashboardWidgetTraceServiceDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetTraceServiceDefinitionOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) string { return v.Service }).(pulumi.StringOutput) +} + +// Whether to show the latency breakdown or not. +func (o DashboardWidgetTraceServiceDefinitionOutput) ShowBreakdown() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowBreakdown }).(pulumi.BoolPtrOutput) +} + +// Whether to show the latency distribution or not. +func (o DashboardWidgetTraceServiceDefinitionOutput) ShowDistribution() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowDistribution }).(pulumi.BoolPtrOutput) +} + +// Whether to show the error metrics or not. +func (o DashboardWidgetTraceServiceDefinitionOutput) ShowErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowErrors }).(pulumi.BoolPtrOutput) +} + +// Whether to show the hits metrics or not +func (o DashboardWidgetTraceServiceDefinitionOutput) ShowHits() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowHits }).(pulumi.BoolPtrOutput) +} + +// Whether to show the latency metrics or not. +func (o DashboardWidgetTraceServiceDefinitionOutput) ShowLatency() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowLatency }).(pulumi.BoolPtrOutput) +} + +// Whether to show the resource list or not. +func (o DashboardWidgetTraceServiceDefinitionOutput) ShowResourceList() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowResourceList }).(pulumi.BoolPtrOutput) +} + +// The size of the widget. Valid values are `small`, `medium`, `large`. +func (o DashboardWidgetTraceServiceDefinitionOutput) SizeFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.SizeFormat }).(pulumi.StringPtrOutput) +} + +// APM span name +func (o DashboardWidgetTraceServiceDefinitionOutput) SpanName() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) string { return v.SpanName }).(pulumi.StringOutput) +} + +// The title of the widget. +func (o DashboardWidgetTraceServiceDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o DashboardWidgetTraceServiceDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o DashboardWidgetTraceServiceDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTraceServiceDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTraceServiceDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTraceServiceDefinition)(nil)).Elem() +} + +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Elem() DashboardWidgetTraceServiceDefinitionOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) DashboardWidgetTraceServiceDefinition { + if v != nil { + return *v + } + var ret DashboardWidgetTraceServiceDefinition + return ret + }).(DashboardWidgetTraceServiceDefinitionOutput) +} + +// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) DisplayFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.DisplayFormat + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// Whether to show the latency breakdown or not. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowBreakdown() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowBreakdown + }).(pulumi.BoolPtrOutput) +} + +// Whether to show the latency distribution or not. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowDistribution() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowDistribution + }).(pulumi.BoolPtrOutput) +} + +// Whether to show the error metrics or not. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowErrors + }).(pulumi.BoolPtrOutput) +} + +// Whether to show the hits metrics or not +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowHits() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowHits + }).(pulumi.BoolPtrOutput) +} + +// Whether to show the latency metrics or not. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowLatency() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowLatency + }).(pulumi.BoolPtrOutput) +} + +// Whether to show the resource list or not. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowResourceList() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowResourceList + }).(pulumi.BoolPtrOutput) +} + +// The size of the widget. Valid values are `small`, `medium`, `large`. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) SizeFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.SizeFormat + }).(pulumi.StringPtrOutput) +} + +// APM span name +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) SpanName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return &v.SpanName + }).(pulumi.StringPtrOutput) +} + +// The title of the widget. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o DashboardWidgetTraceServiceDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinition struct { + // Nested block describing the request to use when displaying the widget. + Requests []DashboardWidgetTreemapDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` +} + +// DashboardWidgetTreemapDefinitionInput is an input type that accepts DashboardWidgetTreemapDefinitionArgs and DashboardWidgetTreemapDefinitionOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionInput` via: +// +// DashboardWidgetTreemapDefinitionArgs{...} +type DashboardWidgetTreemapDefinitionInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionOutput() DashboardWidgetTreemapDefinitionOutput + ToDashboardWidgetTreemapDefinitionOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionOutput +} + +type DashboardWidgetTreemapDefinitionArgs struct { + // Nested block describing the request to use when displaying the widget. + Requests DashboardWidgetTreemapDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` +} + +func (DashboardWidgetTreemapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinition)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionOutput() DashboardWidgetTreemapDefinitionOutput { + return i.ToDashboardWidgetTreemapDefinitionOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionOutput) +} + +func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionOutput).ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionArgs, DashboardWidgetTreemapDefinitionPtr and DashboardWidgetTreemapDefinitionPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionPtrInput` via: +// +// DashboardWidgetTreemapDefinitionArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput + ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionPtrOutput +} + +type dashboardWidgetTreemapDefinitionPtrType DashboardWidgetTreemapDefinitionArgs + +func DashboardWidgetTreemapDefinitionPtr(v *DashboardWidgetTreemapDefinitionArgs) DashboardWidgetTreemapDefinitionPtrInput { + return (*dashboardWidgetTreemapDefinitionPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinition)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionPtrType) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionPtrType) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionPtrOutput) +} + +type DashboardWidgetTreemapDefinitionOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinition)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionOutput() DashboardWidgetTreemapDefinitionOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinition) *DashboardWidgetTreemapDefinition { + return &v + }).(DashboardWidgetTreemapDefinitionPtrOutput) +} + +// Nested block describing the request to use when displaying the widget. +func (o DashboardWidgetTreemapDefinitionOutput) Requests() DashboardWidgetTreemapDefinitionRequestArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinition) []DashboardWidgetTreemapDefinitionRequest { return v.Requests }).(DashboardWidgetTreemapDefinitionRequestArrayOutput) +} + +// The title of the widget. +func (o DashboardWidgetTreemapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinition)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionPtrOutput) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionPtrOutput) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionPtrOutput) Elem() DashboardWidgetTreemapDefinitionOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinition) DashboardWidgetTreemapDefinition { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinition + return ret + }).(DashboardWidgetTreemapDefinitionOutput) +} + +// Nested block describing the request to use when displaying the widget. +func (o DashboardWidgetTreemapDefinitionPtrOutput) Requests() DashboardWidgetTreemapDefinitionRequestArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinition) []DashboardWidgetTreemapDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(DashboardWidgetTreemapDefinitionRequestArrayOutput) +} + +// The title of the widget. +func (o DashboardWidgetTreemapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequest struct { + Formulas []DashboardWidgetTreemapDefinitionRequestFormula `pulumi:"formulas"` + Queries []DashboardWidgetTreemapDefinitionRequestQuery `pulumi:"queries"` +} + +// DashboardWidgetTreemapDefinitionRequestInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestArgs and DashboardWidgetTreemapDefinitionRequestOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestInput` via: +// +// DashboardWidgetTreemapDefinitionRequestArgs{...} +type DashboardWidgetTreemapDefinitionRequestInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestOutput() DashboardWidgetTreemapDefinitionRequestOutput + ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestOutput +} + +type DashboardWidgetTreemapDefinitionRequestArgs struct { + Formulas DashboardWidgetTreemapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + Queries DashboardWidgetTreemapDefinitionRequestQueryArrayInput `pulumi:"queries"` +} + +func (DashboardWidgetTreemapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestArgs) ToDashboardWidgetTreemapDefinitionRequestOutput() DashboardWidgetTreemapDefinitionRequestOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestArgs) ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestOutput) +} + +// DashboardWidgetTreemapDefinitionRequestArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestArray and DashboardWidgetTreemapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestArrayInput` via: +// +// DashboardWidgetTreemapDefinitionRequestArray{ DashboardWidgetTreemapDefinitionRequestArgs{...} } +type DashboardWidgetTreemapDefinitionRequestArrayInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestArrayOutput() DashboardWidgetTreemapDefinitionRequestArrayOutput + ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestArrayOutput +} + +type DashboardWidgetTreemapDefinitionRequestArray []DashboardWidgetTreemapDefinitionRequestInput + +func (DashboardWidgetTreemapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestArray) ToDashboardWidgetTreemapDefinitionRequestArrayOutput() DashboardWidgetTreemapDefinitionRequestArrayOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestArray) ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestArrayOutput) +} + +type DashboardWidgetTreemapDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestOutput) ToDashboardWidgetTreemapDefinitionRequestOutput() DashboardWidgetTreemapDefinitionRequestOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestOutput) ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestOutput) Formulas() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequest) []DashboardWidgetTreemapDefinitionRequestFormula { + return v.Formulas + }).(DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) +} + +func (o DashboardWidgetTreemapDefinitionRequestOutput) Queries() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequest) []DashboardWidgetTreemapDefinitionRequestQuery { + return v.Queries + }).(DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) +} + +type DashboardWidgetTreemapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestArrayOutput) ToDashboardWidgetTreemapDefinitionRequestArrayOutput() DashboardWidgetTreemapDefinitionRequestArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestArrayOutput) ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequest { + return vs[0].([]DashboardWidgetTreemapDefinitionRequest)[vs[1].(int)] + }).(DashboardWidgetTreemapDefinitionRequestOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *DashboardWidgetTreemapDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *DashboardWidgetTreemapDefinitionRequestFormulaStyle `pulumi:"style"` +} + +// DashboardWidgetTreemapDefinitionRequestFormulaInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaArgs and DashboardWidgetTreemapDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaArgs{...} +type DashboardWidgetTreemapDefinitionRequestFormulaInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaOutput() DashboardWidgetTreemapDefinitionRequestFormulaOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaOutput +} + +type DashboardWidgetTreemapDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +} + +func (DashboardWidgetTreemapDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaOutput() DashboardWidgetTreemapDefinitionRequestFormulaOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaOutput) +} + +// DashboardWidgetTreemapDefinitionRequestFormulaArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaArray and DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaArrayInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaArray{ DashboardWidgetTreemapDefinitionRequestFormulaArgs{...} } +type DashboardWidgetTreemapDefinitionRequestFormulaArrayInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput +} + +type DashboardWidgetTreemapDefinitionRequestFormulaArray []DashboardWidgetTreemapDefinitionRequestFormulaInput + +func (DashboardWidgetTreemapDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaArray) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaArray) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaOutput() DashboardWidgetTreemapDefinitionRequestFormulaOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaOutput { + return o +} + +// An expression alias. +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +} + +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +} + +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) ConditionalFormats() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) []DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) +} + +// A string expression built from queries, formulas, and functions. +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +} + +// The options for limiting results returned. +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) Limit() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *DashboardWidgetTreemapDefinitionRequestFormulaLimit { + return v.Limit + }).(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) +} + +// Styling options for widget formulas. +func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) Style() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *DashboardWidgetTreemapDefinitionRequestFormulaStyle { + return v.Style + }).(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestFormula { + return vs[0].([]DashboardWidgetTreemapDefinitionRequestFormula)[vs[1].(int)] + }).(DashboardWidgetTreemapDefinitionRequestFormulaOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` +} + +// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs and DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} +type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput +} + +type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` +} + +func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) +} + +// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray and DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray{ DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} } +type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput +} + +type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray []DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput + +func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return o +} + +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +} + +// The color palette to apply to the background, same values available as palette. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) +} + +// The color palette to apply to the foreground, same values available as palette. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor + }).(pulumi.StringPtrOutput) +} + +// Setting this to True hides values. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +} + +// Displays an image as the background. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +} + +// The metric from the request to correlate with this conditional format. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +} + +// Defines the displayed timeframe. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +} + +// A value for the comparator. +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat { + return vs[0].([]DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` +} + +// DashboardWidgetTreemapDefinitionRequestFormulaLimitInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs and DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaLimitInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{...} +type DashboardWidgetTreemapDefinitionRequestFormulaLimitInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput +} + +type DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` +} + +func (DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput).ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs, DashboardWidgetTreemapDefinitionRequestFormulaLimitPtr and DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs + +func DashboardWidgetTreemapDefinitionRequestFormulaLimitPtr(v *DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestFormulaLimit) *DashboardWidgetTreemapDefinitionRequestFormulaLimit { + return &v + }).(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) +} + +// The number of results to return. +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaLimit) DashboardWidgetTreemapDefinitionRequestFormulaLimit { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestFormulaLimit + return ret + }).(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) +} + +// The number of results to return. +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaLimit) *int { + if v == nil { + return nil + } + return v.Count + }).(pulumi.IntPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaLimit) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` +} + +// DashboardWidgetTreemapDefinitionRequestFormulaStyleInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs and DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaStyleInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{...} +type DashboardWidgetTreemapDefinitionRequestFormulaStyleInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutput() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput +} + +type DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` +} + +func (DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutput() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput).ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs, DashboardWidgetTreemapDefinitionRequestFormulaStylePtr and DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput + ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs + +func DashboardWidgetTreemapDefinitionRequestFormulaStylePtr(v *DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput { + return (*dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutput() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestFormulaStyle) *DashboardWidgetTreemapDefinitionRequestFormulaStyle { + return &v + }).(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) +} + +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +} + +// Index specifying which color to use within the palette. +func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaStyle) DashboardWidgetTreemapDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestFormulaStyle + return ret + }).(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) +} + +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) +} + +// Index specifying which color to use within the palette. +func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaStyle) *int { + if v == nil { + return nil + } + return v.PaletteIndex + }).(pulumi.IntPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *DashboardWidgetTreemapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *DashboardWidgetTreemapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryOutput) +} + +// DashboardWidgetTreemapDefinitionRequestQueryArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryArray and DashboardWidgetTreemapDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryArrayInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryArray{ DashboardWidgetTreemapDefinitionRequestQueryArgs{...} } +type DashboardWidgetTreemapDefinitionRequestQueryArrayInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput + ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryArrayOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryArray []DashboardWidgetTreemapDefinitionRequestQueryInput + +func (DashboardWidgetTreemapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryArray) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryArray) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryOutput { + return o +} + +// The APM Dependency Stats query using formulas and functions. +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +// The APM Resource Stats query using formulas and functions. +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ApmResourceStatsQuery() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +// The Cloud Cost query using formulas and functions. +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) CloudCostQuery() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +// A timeseries formula and functions events query. +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) EventQuery() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +} + +// A timeseries formula and functions metrics query. +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) MetricQuery() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) +} + +// The process query using formulas and functions. +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ProcessQuery() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) +} + +// The SLO query using formulas and functions. +func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) SloQuery() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestQuery { + return vs[0].([]DashboardWidgetTreemapDefinitionRequestQuery)[vs[1].(int)] + }).(DashboardWidgetTreemapDefinitionRequestQueryOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs + +func DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) +} + +// APM environment. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} + +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// Name of operation on service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) +} + +// APM service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery + return ret + }).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) +} + +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) +} + +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { + if v == nil { + return nil + } + return v.IsUpstream + }).(pulumi.BoolPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of operation on service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs + +func DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// APM environment. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} + +// Array of fields to group results by. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// Name of operation on service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery + return ret + }).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) +} + +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) +} + +// Array of fields to group results by. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { + if v == nil { + return nil + } + return v.GroupBies + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of operation on service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs + +func DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} + +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The cloud cost query definition. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery + return ret + }).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) +} + +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The cloud cost query definition. +func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []DashboardWidgetGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies DashboardWidgetGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs + +func DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuery { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +} + +// The compute options. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Computes() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Group by options. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// An array of index names to query in the stream. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The search options. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Search() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) DashboardWidgetTreemapDefinitionRequestQueryEventQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQueryEventQuery + return ret + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) +} + +// The compute options. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Computes() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { + if v == nil { + return nil + } + return v.Computes + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Group by options. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetGroupByArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(DashboardWidgetGroupByArrayOutput) +} + +// An array of index names to query in the stream. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The search options. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Search() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { + if v == nil { + return nil + } + return v.Search + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) +} + +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray and DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray{ DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} } +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput + ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray []DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return o +} + +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// A time interval in milliseconds. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +// The measurable attribute to compute. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { + return vs[0].([]DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput + ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput).ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs, DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr and DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs + +func DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// The events search string. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch + return ret + }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) +} + +// The events search string. +func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs + +func DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} + +// The data source for metrics queries. Defaults to `"metrics"`. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The metrics query definition. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) DashboardWidgetTreemapDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQueryMetricQuery + return ret + }).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for metrics queries. Defaults to `"metrics"`. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The metrics query definition. +func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit *int `pulumi:"limit"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` +} + +// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +} + +func (DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs + +func DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} + +// The data source for process queries. Valid values are `process`, `container`. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Whether to normalize the CPU percentages. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +} + +// The number of hits to return. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +} + +// An array of tags to filter by. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) DashboardWidgetTreemapDefinitionRequestQueryProcessQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQueryProcessQuery + return ret + }).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for process queries. Valid values are `process`, `container`. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Whether to normalize the CPU percentages. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) +} + +// The number of hits to return. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Sort + }).(pulumi.StringPtrOutput) +} + +// An array of tags to filter by. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) []string { + if v == nil { + return nil + } + return v.TagFilters + }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.TextFilter + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` +} + +// DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs and DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} +type DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput + ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput +} + +type DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +} + +func (DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) +} + +func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +} + +// DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs, DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtr and DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput` via: +// +// DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput interface { + pulumi.Input + + ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput + ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput +} + +type dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs + +func DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput { + return (*dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType)(v) +} + +func (*dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (i *dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *DashboardWidgetTreemapDefinitionRequestQuerySloQuery { + return &v + }).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +} + +// Additional filters applied to the SLO query. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) +} + +// The data source for SLO queries. Valid values are `slo`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +} + +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) DashboardWidgetTreemapDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret DashboardWidgetTreemapDefinitionRequestQuerySloQuery + return ret + }).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) +} + +// Additional filters applied to the SLO query. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) +} + +// The data source for SLO queries. Valid values are `slo`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) +} + +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetWidgetLayout struct { + // The height of the widget. + Height int `pulumi:"height"` + // Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. + IsColumnBreak *bool `pulumi:"isColumnBreak"` + // The width of the widget. + Width int `pulumi:"width"` + // The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. + X int `pulumi:"x"` + // The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. + Y int `pulumi:"y"` +} + +// DashboardWidgetWidgetLayoutInput is an input type that accepts DashboardWidgetWidgetLayoutArgs and DashboardWidgetWidgetLayoutOutput values. +// You can construct a concrete instance of `DashboardWidgetWidgetLayoutInput` via: +// +// DashboardWidgetWidgetLayoutArgs{...} +type DashboardWidgetWidgetLayoutInput interface { + pulumi.Input + + ToDashboardWidgetWidgetLayoutOutput() DashboardWidgetWidgetLayoutOutput + ToDashboardWidgetWidgetLayoutOutputWithContext(context.Context) DashboardWidgetWidgetLayoutOutput +} + +type DashboardWidgetWidgetLayoutArgs struct { + // The height of the widget. + Height pulumi.IntInput `pulumi:"height"` + // Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. + IsColumnBreak pulumi.BoolPtrInput `pulumi:"isColumnBreak"` + // The width of the widget. + Width pulumi.IntInput `pulumi:"width"` + // The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. + X pulumi.IntInput `pulumi:"x"` + // The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. + Y pulumi.IntInput `pulumi:"y"` +} + +func (DashboardWidgetWidgetLayoutArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetWidgetLayout)(nil)).Elem() +} + +func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutOutput() DashboardWidgetWidgetLayoutOutput { + return i.ToDashboardWidgetWidgetLayoutOutputWithContext(context.Background()) +} + +func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetWidgetLayoutOutput) +} + +func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { + return i.ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetWidgetLayoutOutput).ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx) +} + +// DashboardWidgetWidgetLayoutPtrInput is an input type that accepts DashboardWidgetWidgetLayoutArgs, DashboardWidgetWidgetLayoutPtr and DashboardWidgetWidgetLayoutPtrOutput values. +// You can construct a concrete instance of `DashboardWidgetWidgetLayoutPtrInput` via: +// +// DashboardWidgetWidgetLayoutArgs{...} +// +// or: +// +// nil +type DashboardWidgetWidgetLayoutPtrInput interface { + pulumi.Input + + ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput + ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Context) DashboardWidgetWidgetLayoutPtrOutput +} + +type dashboardWidgetWidgetLayoutPtrType DashboardWidgetWidgetLayoutArgs + +func DashboardWidgetWidgetLayoutPtr(v *DashboardWidgetWidgetLayoutArgs) DashboardWidgetWidgetLayoutPtrInput { + return (*dashboardWidgetWidgetLayoutPtrType)(v) +} + +func (*dashboardWidgetWidgetLayoutPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetWidgetLayout)(nil)).Elem() +} + +func (i *dashboardWidgetWidgetLayoutPtrType) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { + return i.ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetWidgetLayoutPtrType) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetWidgetLayoutPtrOutput) +} + +type DashboardWidgetWidgetLayoutOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetWidgetLayoutOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetWidgetLayout)(nil)).Elem() +} + +func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutOutput() DashboardWidgetWidgetLayoutOutput { + return o +} + +func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutOutput { + return o +} + +func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { + return o.ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetWidgetLayout) *DashboardWidgetWidgetLayout { + return &v + }).(DashboardWidgetWidgetLayoutPtrOutput) +} + +// The height of the widget. +func (o DashboardWidgetWidgetLayoutOutput) Height() pulumi.IntOutput { + return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.Height }).(pulumi.IntOutput) +} + +// Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. +func (o DashboardWidgetWidgetLayoutOutput) IsColumnBreak() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DashboardWidgetWidgetLayout) *bool { return v.IsColumnBreak }).(pulumi.BoolPtrOutput) +} + +// The width of the widget. +func (o DashboardWidgetWidgetLayoutOutput) Width() pulumi.IntOutput { + return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.Width }).(pulumi.IntOutput) +} + +// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. +func (o DashboardWidgetWidgetLayoutOutput) X() pulumi.IntOutput { + return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.X }).(pulumi.IntOutput) +} + +// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. +func (o DashboardWidgetWidgetLayoutOutput) Y() pulumi.IntOutput { + return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.Y }).(pulumi.IntOutput) +} + +type DashboardWidgetWidgetLayoutPtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetWidgetLayoutPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetWidgetLayout)(nil)).Elem() +} + +func (o DashboardWidgetWidgetLayoutPtrOutput) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { + return o +} + +func (o DashboardWidgetWidgetLayoutPtrOutput) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { + return o +} + +func (o DashboardWidgetWidgetLayoutPtrOutput) Elem() DashboardWidgetWidgetLayoutOutput { + return o.ApplyT(func(v *DashboardWidgetWidgetLayout) DashboardWidgetWidgetLayout { + if v != nil { + return *v + } + var ret DashboardWidgetWidgetLayout + return ret + }).(DashboardWidgetWidgetLayoutOutput) +} + +// The height of the widget. +func (o DashboardWidgetWidgetLayoutPtrOutput) Height() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { + if v == nil { + return nil + } + return &v.Height + }).(pulumi.IntPtrOutput) +} + +// Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. +func (o DashboardWidgetWidgetLayoutPtrOutput) IsColumnBreak() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *bool { + if v == nil { + return nil + } + return v.IsColumnBreak + }).(pulumi.BoolPtrOutput) +} + +// The width of the widget. +func (o DashboardWidgetWidgetLayoutPtrOutput) Width() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { + if v == nil { + return nil + } + return &v.Width + }).(pulumi.IntPtrOutput) +} + +// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. +func (o DashboardWidgetWidgetLayoutPtrOutput) X() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { + if v == nil { + return nil + } + return &v.X + }).(pulumi.IntPtrOutput) +} + +// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. +func (o DashboardWidgetWidgetLayoutPtrOutput) Y() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { + if v == nil { + return nil + } + return &v.Y + }).(pulumi.IntPtrOutput) +} + +type DowntimeRecurrence struct { + // How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. + Period *int `pulumi:"period"` + // The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. + Rrule *string `pulumi:"rrule"` + // One of `days`, `weeks`, `months`, `years`, or `rrule`. + Type string `pulumi:"type"` + // The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. + UntilDate *int `pulumi:"untilDate"` + // How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. + UntilOccurrences *int `pulumi:"untilOccurrences"` + // A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. + WeekDays []string `pulumi:"weekDays"` +} + +// DowntimeRecurrenceInput is an input type that accepts DowntimeRecurrenceArgs and DowntimeRecurrenceOutput values. +// You can construct a concrete instance of `DowntimeRecurrenceInput` via: +// +// DowntimeRecurrenceArgs{...} +type DowntimeRecurrenceInput interface { + pulumi.Input + + ToDowntimeRecurrenceOutput() DowntimeRecurrenceOutput + ToDowntimeRecurrenceOutputWithContext(context.Context) DowntimeRecurrenceOutput +} + +type DowntimeRecurrenceArgs struct { + // How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. + Period pulumi.IntPtrInput `pulumi:"period"` + // The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. + Rrule pulumi.StringPtrInput `pulumi:"rrule"` + // One of `days`, `weeks`, `months`, `years`, or `rrule`. + Type pulumi.StringInput `pulumi:"type"` + // The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. + UntilDate pulumi.IntPtrInput `pulumi:"untilDate"` + // How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. + UntilOccurrences pulumi.IntPtrInput `pulumi:"untilOccurrences"` + // A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. + WeekDays pulumi.StringArrayInput `pulumi:"weekDays"` +} + +func (DowntimeRecurrenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeRecurrence)(nil)).Elem() +} + +func (i DowntimeRecurrenceArgs) ToDowntimeRecurrenceOutput() DowntimeRecurrenceOutput { + return i.ToDowntimeRecurrenceOutputWithContext(context.Background()) +} + +func (i DowntimeRecurrenceArgs) ToDowntimeRecurrenceOutputWithContext(ctx context.Context) DowntimeRecurrenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeRecurrenceOutput) +} + +func (i DowntimeRecurrenceArgs) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { + return i.ToDowntimeRecurrencePtrOutputWithContext(context.Background()) +} + +func (i DowntimeRecurrenceArgs) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeRecurrenceOutput).ToDowntimeRecurrencePtrOutputWithContext(ctx) +} + +// DowntimeRecurrencePtrInput is an input type that accepts DowntimeRecurrenceArgs, DowntimeRecurrencePtr and DowntimeRecurrencePtrOutput values. +// You can construct a concrete instance of `DowntimeRecurrencePtrInput` via: +// +// DowntimeRecurrenceArgs{...} +// +// or: +// +// nil +type DowntimeRecurrencePtrInput interface { + pulumi.Input + + ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput + ToDowntimeRecurrencePtrOutputWithContext(context.Context) DowntimeRecurrencePtrOutput +} + +type downtimeRecurrencePtrType DowntimeRecurrenceArgs + +func DowntimeRecurrencePtr(v *DowntimeRecurrenceArgs) DowntimeRecurrencePtrInput { + return (*downtimeRecurrencePtrType)(v) +} + +func (*downtimeRecurrencePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeRecurrence)(nil)).Elem() +} + +func (i *downtimeRecurrencePtrType) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { + return i.ToDowntimeRecurrencePtrOutputWithContext(context.Background()) +} + +func (i *downtimeRecurrencePtrType) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeRecurrencePtrOutput) +} + +type DowntimeRecurrenceOutput struct{ *pulumi.OutputState } + +func (DowntimeRecurrenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeRecurrence)(nil)).Elem() +} + +func (o DowntimeRecurrenceOutput) ToDowntimeRecurrenceOutput() DowntimeRecurrenceOutput { + return o +} + +func (o DowntimeRecurrenceOutput) ToDowntimeRecurrenceOutputWithContext(ctx context.Context) DowntimeRecurrenceOutput { + return o +} + +func (o DowntimeRecurrenceOutput) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { + return o.ToDowntimeRecurrencePtrOutputWithContext(context.Background()) +} + +func (o DowntimeRecurrenceOutput) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeRecurrence) *DowntimeRecurrence { + return &v + }).(DowntimeRecurrencePtrOutput) +} + +// How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. +func (o DowntimeRecurrenceOutput) Period() pulumi.IntPtrOutput { + return o.ApplyT(func(v DowntimeRecurrence) *int { return v.Period }).(pulumi.IntPtrOutput) +} + +// The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. +func (o DowntimeRecurrenceOutput) Rrule() pulumi.StringPtrOutput { + return o.ApplyT(func(v DowntimeRecurrence) *string { return v.Rrule }).(pulumi.StringPtrOutput) +} + +// One of `days`, `weeks`, `months`, `years`, or `rrule`. +func (o DowntimeRecurrenceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v DowntimeRecurrence) string { return v.Type }).(pulumi.StringOutput) +} + +// The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. +func (o DowntimeRecurrenceOutput) UntilDate() pulumi.IntPtrOutput { + return o.ApplyT(func(v DowntimeRecurrence) *int { return v.UntilDate }).(pulumi.IntPtrOutput) +} + +// How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. +func (o DowntimeRecurrenceOutput) UntilOccurrences() pulumi.IntPtrOutput { + return o.ApplyT(func(v DowntimeRecurrence) *int { return v.UntilOccurrences }).(pulumi.IntPtrOutput) +} + +// A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. +func (o DowntimeRecurrenceOutput) WeekDays() pulumi.StringArrayOutput { + return o.ApplyT(func(v DowntimeRecurrence) []string { return v.WeekDays }).(pulumi.StringArrayOutput) +} + +type DowntimeRecurrencePtrOutput struct{ *pulumi.OutputState } + +func (DowntimeRecurrencePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeRecurrence)(nil)).Elem() +} + +func (o DowntimeRecurrencePtrOutput) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { + return o +} + +func (o DowntimeRecurrencePtrOutput) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { + return o +} + +func (o DowntimeRecurrencePtrOutput) Elem() DowntimeRecurrenceOutput { + return o.ApplyT(func(v *DowntimeRecurrence) DowntimeRecurrence { + if v != nil { + return *v + } + var ret DowntimeRecurrence + return ret + }).(DowntimeRecurrenceOutput) +} + +// How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. +func (o DowntimeRecurrencePtrOutput) Period() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DowntimeRecurrence) *int { + if v == nil { + return nil + } + return v.Period + }).(pulumi.IntPtrOutput) +} + +// The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. +func (o DowntimeRecurrencePtrOutput) Rrule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DowntimeRecurrence) *string { + if v == nil { + return nil + } + return v.Rrule + }).(pulumi.StringPtrOutput) +} + +// One of `days`, `weeks`, `months`, `years`, or `rrule`. +func (o DowntimeRecurrencePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DowntimeRecurrence) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. +func (o DowntimeRecurrencePtrOutput) UntilDate() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DowntimeRecurrence) *int { + if v == nil { + return nil + } + return v.UntilDate + }).(pulumi.IntPtrOutput) +} + +// How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. +func (o DowntimeRecurrencePtrOutput) UntilOccurrences() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DowntimeRecurrence) *int { + if v == nil { + return nil + } + return v.UntilOccurrences + }).(pulumi.IntPtrOutput) +} + +// A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. +func (o DowntimeRecurrencePtrOutput) WeekDays() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DowntimeRecurrence) []string { + if v == nil { + return nil + } + return v.WeekDays + }).(pulumi.StringArrayOutput) +} + +type DowntimeScheduleMonitorIdentifier struct { + // ID of the monitor to prevent notifications. + MonitorId *int `pulumi:"monitorId"` + // A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. + MonitorTags []string `pulumi:"monitorTags"` +} + +// DowntimeScheduleMonitorIdentifierInput is an input type that accepts DowntimeScheduleMonitorIdentifierArgs and DowntimeScheduleMonitorIdentifierOutput values. +// You can construct a concrete instance of `DowntimeScheduleMonitorIdentifierInput` via: +// +// DowntimeScheduleMonitorIdentifierArgs{...} +type DowntimeScheduleMonitorIdentifierInput interface { + pulumi.Input + + ToDowntimeScheduleMonitorIdentifierOutput() DowntimeScheduleMonitorIdentifierOutput + ToDowntimeScheduleMonitorIdentifierOutputWithContext(context.Context) DowntimeScheduleMonitorIdentifierOutput +} + +type DowntimeScheduleMonitorIdentifierArgs struct { + // ID of the monitor to prevent notifications. + MonitorId pulumi.IntPtrInput `pulumi:"monitorId"` + // A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. + MonitorTags pulumi.StringArrayInput `pulumi:"monitorTags"` +} + +func (DowntimeScheduleMonitorIdentifierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleMonitorIdentifier)(nil)).Elem() +} + +func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierOutput() DowntimeScheduleMonitorIdentifierOutput { + return i.ToDowntimeScheduleMonitorIdentifierOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleMonitorIdentifierOutput) +} + +func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { + return i.ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleMonitorIdentifierOutput).ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx) +} + +// DowntimeScheduleMonitorIdentifierPtrInput is an input type that accepts DowntimeScheduleMonitorIdentifierArgs, DowntimeScheduleMonitorIdentifierPtr and DowntimeScheduleMonitorIdentifierPtrOutput values. +// You can construct a concrete instance of `DowntimeScheduleMonitorIdentifierPtrInput` via: +// +// DowntimeScheduleMonitorIdentifierArgs{...} +// +// or: +// +// nil +type DowntimeScheduleMonitorIdentifierPtrInput interface { + pulumi.Input + + ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput + ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Context) DowntimeScheduleMonitorIdentifierPtrOutput +} + +type downtimeScheduleMonitorIdentifierPtrType DowntimeScheduleMonitorIdentifierArgs + +func DowntimeScheduleMonitorIdentifierPtr(v *DowntimeScheduleMonitorIdentifierArgs) DowntimeScheduleMonitorIdentifierPtrInput { + return (*downtimeScheduleMonitorIdentifierPtrType)(v) +} + +func (*downtimeScheduleMonitorIdentifierPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeScheduleMonitorIdentifier)(nil)).Elem() +} + +func (i *downtimeScheduleMonitorIdentifierPtrType) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { + return i.ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Background()) +} + +func (i *downtimeScheduleMonitorIdentifierPtrType) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleMonitorIdentifierPtrOutput) +} + +type DowntimeScheduleMonitorIdentifierOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleMonitorIdentifierOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleMonitorIdentifier)(nil)).Elem() +} + +func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierOutput() DowntimeScheduleMonitorIdentifierOutput { + return o +} + +func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierOutput { + return o +} + +func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { + return o.ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Background()) +} + +func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeScheduleMonitorIdentifier) *DowntimeScheduleMonitorIdentifier { + return &v + }).(DowntimeScheduleMonitorIdentifierPtrOutput) +} + +// ID of the monitor to prevent notifications. +func (o DowntimeScheduleMonitorIdentifierOutput) MonitorId() pulumi.IntPtrOutput { + return o.ApplyT(func(v DowntimeScheduleMonitorIdentifier) *int { return v.MonitorId }).(pulumi.IntPtrOutput) +} + +// A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. +func (o DowntimeScheduleMonitorIdentifierOutput) MonitorTags() pulumi.StringArrayOutput { + return o.ApplyT(func(v DowntimeScheduleMonitorIdentifier) []string { return v.MonitorTags }).(pulumi.StringArrayOutput) +} + +type DowntimeScheduleMonitorIdentifierPtrOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleMonitorIdentifierPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeScheduleMonitorIdentifier)(nil)).Elem() +} + +func (o DowntimeScheduleMonitorIdentifierPtrOutput) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { + return o +} + +func (o DowntimeScheduleMonitorIdentifierPtrOutput) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { + return o +} + +func (o DowntimeScheduleMonitorIdentifierPtrOutput) Elem() DowntimeScheduleMonitorIdentifierOutput { + return o.ApplyT(func(v *DowntimeScheduleMonitorIdentifier) DowntimeScheduleMonitorIdentifier { + if v != nil { + return *v + } + var ret DowntimeScheduleMonitorIdentifier + return ret + }).(DowntimeScheduleMonitorIdentifierOutput) +} + +// ID of the monitor to prevent notifications. +func (o DowntimeScheduleMonitorIdentifierPtrOutput) MonitorId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DowntimeScheduleMonitorIdentifier) *int { + if v == nil { + return nil + } + return v.MonitorId + }).(pulumi.IntPtrOutput) +} + +// A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. +func (o DowntimeScheduleMonitorIdentifierPtrOutput) MonitorTags() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DowntimeScheduleMonitorIdentifier) []string { + if v == nil { + return nil + } + return v.MonitorTags + }).(pulumi.StringArrayOutput) +} + +type DowntimeScheduleOneTimeSchedule struct { + // ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. + End *string `pulumi:"end"` + // ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. + Start *string `pulumi:"start"` +} + +// DowntimeScheduleOneTimeScheduleInput is an input type that accepts DowntimeScheduleOneTimeScheduleArgs and DowntimeScheduleOneTimeScheduleOutput values. +// You can construct a concrete instance of `DowntimeScheduleOneTimeScheduleInput` via: +// +// DowntimeScheduleOneTimeScheduleArgs{...} +type DowntimeScheduleOneTimeScheduleInput interface { + pulumi.Input + + ToDowntimeScheduleOneTimeScheduleOutput() DowntimeScheduleOneTimeScheduleOutput + ToDowntimeScheduleOneTimeScheduleOutputWithContext(context.Context) DowntimeScheduleOneTimeScheduleOutput +} + +type DowntimeScheduleOneTimeScheduleArgs struct { + // ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. + End pulumi.StringPtrInput `pulumi:"end"` + // ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. + Start pulumi.StringPtrInput `pulumi:"start"` +} + +func (DowntimeScheduleOneTimeScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleOneTimeSchedule)(nil)).Elem() +} + +func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeScheduleOutput() DowntimeScheduleOneTimeScheduleOutput { + return i.ToDowntimeScheduleOneTimeScheduleOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeScheduleOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleOneTimeScheduleOutput) +} + +func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { + return i.ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleOneTimeScheduleOutput).ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx) +} + +// DowntimeScheduleOneTimeSchedulePtrInput is an input type that accepts DowntimeScheduleOneTimeScheduleArgs, DowntimeScheduleOneTimeSchedulePtr and DowntimeScheduleOneTimeSchedulePtrOutput values. +// You can construct a concrete instance of `DowntimeScheduleOneTimeSchedulePtrInput` via: +// +// DowntimeScheduleOneTimeScheduleArgs{...} +// +// or: +// +// nil +type DowntimeScheduleOneTimeSchedulePtrInput interface { + pulumi.Input + + ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput + ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Context) DowntimeScheduleOneTimeSchedulePtrOutput +} + +type downtimeScheduleOneTimeSchedulePtrType DowntimeScheduleOneTimeScheduleArgs + +func DowntimeScheduleOneTimeSchedulePtr(v *DowntimeScheduleOneTimeScheduleArgs) DowntimeScheduleOneTimeSchedulePtrInput { + return (*downtimeScheduleOneTimeSchedulePtrType)(v) +} + +func (*downtimeScheduleOneTimeSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeScheduleOneTimeSchedule)(nil)).Elem() +} + +func (i *downtimeScheduleOneTimeSchedulePtrType) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { + return i.ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Background()) +} + +func (i *downtimeScheduleOneTimeSchedulePtrType) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleOneTimeSchedulePtrOutput) +} + +type DowntimeScheduleOneTimeScheduleOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleOneTimeScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleOneTimeSchedule)(nil)).Elem() +} + +func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeScheduleOutput() DowntimeScheduleOneTimeScheduleOutput { + return o +} + +func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeScheduleOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeScheduleOutput { + return o +} + +func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { + return o.ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Background()) +} + +func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeScheduleOneTimeSchedule) *DowntimeScheduleOneTimeSchedule { + return &v + }).(DowntimeScheduleOneTimeSchedulePtrOutput) +} + +// ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. +func (o DowntimeScheduleOneTimeScheduleOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v DowntimeScheduleOneTimeSchedule) *string { return v.End }).(pulumi.StringPtrOutput) +} + +// ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. +func (o DowntimeScheduleOneTimeScheduleOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v DowntimeScheduleOneTimeSchedule) *string { return v.Start }).(pulumi.StringPtrOutput) +} + +type DowntimeScheduleOneTimeSchedulePtrOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleOneTimeSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeScheduleOneTimeSchedule)(nil)).Elem() +} + +func (o DowntimeScheduleOneTimeSchedulePtrOutput) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { + return o +} + +func (o DowntimeScheduleOneTimeSchedulePtrOutput) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { + return o +} + +func (o DowntimeScheduleOneTimeSchedulePtrOutput) Elem() DowntimeScheduleOneTimeScheduleOutput { + return o.ApplyT(func(v *DowntimeScheduleOneTimeSchedule) DowntimeScheduleOneTimeSchedule { + if v != nil { + return *v + } + var ret DowntimeScheduleOneTimeSchedule + return ret + }).(DowntimeScheduleOneTimeScheduleOutput) +} + +// ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. +func (o DowntimeScheduleOneTimeSchedulePtrOutput) End() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DowntimeScheduleOneTimeSchedule) *string { + if v == nil { + return nil + } + return v.End + }).(pulumi.StringPtrOutput) +} + +// ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. +func (o DowntimeScheduleOneTimeSchedulePtrOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DowntimeScheduleOneTimeSchedule) *string { + if v == nil { + return nil + } + return v.Start + }).(pulumi.StringPtrOutput) +} + +type DowntimeScheduleRecurringSchedule struct { + Recurrences []DowntimeScheduleRecurringScheduleRecurrence `pulumi:"recurrences"` + // The timezone in which to schedule the downtime. + Timezone *string `pulumi:"timezone"` +} + +// DowntimeScheduleRecurringScheduleInput is an input type that accepts DowntimeScheduleRecurringScheduleArgs and DowntimeScheduleRecurringScheduleOutput values. +// You can construct a concrete instance of `DowntimeScheduleRecurringScheduleInput` via: +// +// DowntimeScheduleRecurringScheduleArgs{...} +type DowntimeScheduleRecurringScheduleInput interface { + pulumi.Input + + ToDowntimeScheduleRecurringScheduleOutput() DowntimeScheduleRecurringScheduleOutput + ToDowntimeScheduleRecurringScheduleOutputWithContext(context.Context) DowntimeScheduleRecurringScheduleOutput +} + +type DowntimeScheduleRecurringScheduleArgs struct { + Recurrences DowntimeScheduleRecurringScheduleRecurrenceArrayInput `pulumi:"recurrences"` + // The timezone in which to schedule the downtime. + Timezone pulumi.StringPtrInput `pulumi:"timezone"` +} + +func (DowntimeScheduleRecurringScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleRecurringSchedule)(nil)).Elem() +} + +func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringScheduleOutput() DowntimeScheduleRecurringScheduleOutput { + return i.ToDowntimeScheduleRecurringScheduleOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringScheduleOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleOutput) +} + +func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { + return i.ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleOutput).ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx) +} + +// DowntimeScheduleRecurringSchedulePtrInput is an input type that accepts DowntimeScheduleRecurringScheduleArgs, DowntimeScheduleRecurringSchedulePtr and DowntimeScheduleRecurringSchedulePtrOutput values. +// You can construct a concrete instance of `DowntimeScheduleRecurringSchedulePtrInput` via: +// +// DowntimeScheduleRecurringScheduleArgs{...} +// +// or: +// +// nil +type DowntimeScheduleRecurringSchedulePtrInput interface { + pulumi.Input + + ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput + ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Context) DowntimeScheduleRecurringSchedulePtrOutput +} + +type downtimeScheduleRecurringSchedulePtrType DowntimeScheduleRecurringScheduleArgs + +func DowntimeScheduleRecurringSchedulePtr(v *DowntimeScheduleRecurringScheduleArgs) DowntimeScheduleRecurringSchedulePtrInput { + return (*downtimeScheduleRecurringSchedulePtrType)(v) +} + +func (*downtimeScheduleRecurringSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeScheduleRecurringSchedule)(nil)).Elem() +} + +func (i *downtimeScheduleRecurringSchedulePtrType) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { + return i.ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Background()) +} + +func (i *downtimeScheduleRecurringSchedulePtrType) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringSchedulePtrOutput) +} + +type DowntimeScheduleRecurringScheduleOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleRecurringScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleRecurringSchedule)(nil)).Elem() +} + +func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringScheduleOutput() DowntimeScheduleRecurringScheduleOutput { + return o +} + +func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringScheduleOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleOutput { + return o +} + +func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { + return o.ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Background()) +} + +func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeScheduleRecurringSchedule) *DowntimeScheduleRecurringSchedule { + return &v + }).(DowntimeScheduleRecurringSchedulePtrOutput) +} + +func (o DowntimeScheduleRecurringScheduleOutput) Recurrences() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { + return o.ApplyT(func(v DowntimeScheduleRecurringSchedule) []DowntimeScheduleRecurringScheduleRecurrence { + return v.Recurrences + }).(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) +} + +// The timezone in which to schedule the downtime. +func (o DowntimeScheduleRecurringScheduleOutput) Timezone() pulumi.StringPtrOutput { + return o.ApplyT(func(v DowntimeScheduleRecurringSchedule) *string { return v.Timezone }).(pulumi.StringPtrOutput) +} + +type DowntimeScheduleRecurringSchedulePtrOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleRecurringSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DowntimeScheduleRecurringSchedule)(nil)).Elem() +} + +func (o DowntimeScheduleRecurringSchedulePtrOutput) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { + return o +} + +func (o DowntimeScheduleRecurringSchedulePtrOutput) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { + return o +} + +func (o DowntimeScheduleRecurringSchedulePtrOutput) Elem() DowntimeScheduleRecurringScheduleOutput { + return o.ApplyT(func(v *DowntimeScheduleRecurringSchedule) DowntimeScheduleRecurringSchedule { + if v != nil { + return *v + } + var ret DowntimeScheduleRecurringSchedule + return ret + }).(DowntimeScheduleRecurringScheduleOutput) +} + +func (o DowntimeScheduleRecurringSchedulePtrOutput) Recurrences() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { + return o.ApplyT(func(v *DowntimeScheduleRecurringSchedule) []DowntimeScheduleRecurringScheduleRecurrence { + if v == nil { + return nil + } + return v.Recurrences + }).(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) +} + +// The timezone in which to schedule the downtime. +func (o DowntimeScheduleRecurringSchedulePtrOutput) Timezone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DowntimeScheduleRecurringSchedule) *string { + if v == nil { + return nil + } + return v.Timezone + }).(pulumi.StringPtrOutput) +} + +type DowntimeScheduleRecurringScheduleRecurrence struct { + // The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'. + Duration string `pulumi:"duration"` + // The `RRULE` standard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api). + Rrule string `pulumi:"rrule"` + // ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created. + Start *string `pulumi:"start"` +} + +// DowntimeScheduleRecurringScheduleRecurrenceInput is an input type that accepts DowntimeScheduleRecurringScheduleRecurrenceArgs and DowntimeScheduleRecurringScheduleRecurrenceOutput values. +// You can construct a concrete instance of `DowntimeScheduleRecurringScheduleRecurrenceInput` via: +// +// DowntimeScheduleRecurringScheduleRecurrenceArgs{...} +type DowntimeScheduleRecurringScheduleRecurrenceInput interface { + pulumi.Input + + ToDowntimeScheduleRecurringScheduleRecurrenceOutput() DowntimeScheduleRecurringScheduleRecurrenceOutput + ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(context.Context) DowntimeScheduleRecurringScheduleRecurrenceOutput +} + +type DowntimeScheduleRecurringScheduleRecurrenceArgs struct { + // The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'. + Duration pulumi.StringInput `pulumi:"duration"` + // The `RRULE` standard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api). + Rrule pulumi.StringInput `pulumi:"rrule"` + // ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created. + Start pulumi.StringPtrInput `pulumi:"start"` +} + +func (DowntimeScheduleRecurringScheduleRecurrenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() +} + +func (i DowntimeScheduleRecurringScheduleRecurrenceArgs) ToDowntimeScheduleRecurringScheduleRecurrenceOutput() DowntimeScheduleRecurringScheduleRecurrenceOutput { + return i.ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleRecurringScheduleRecurrenceArgs) ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleRecurrenceOutput) +} + +// DowntimeScheduleRecurringScheduleRecurrenceArrayInput is an input type that accepts DowntimeScheduleRecurringScheduleRecurrenceArray and DowntimeScheduleRecurringScheduleRecurrenceArrayOutput values. +// You can construct a concrete instance of `DowntimeScheduleRecurringScheduleRecurrenceArrayInput` via: +// +// DowntimeScheduleRecurringScheduleRecurrenceArray{ DowntimeScheduleRecurringScheduleRecurrenceArgs{...} } +type DowntimeScheduleRecurringScheduleRecurrenceArrayInput interface { + pulumi.Input + + ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutput() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput + ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(context.Context) DowntimeScheduleRecurringScheduleRecurrenceArrayOutput +} + +type DowntimeScheduleRecurringScheduleRecurrenceArray []DowntimeScheduleRecurringScheduleRecurrenceInput + +func (DowntimeScheduleRecurringScheduleRecurrenceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() +} + +func (i DowntimeScheduleRecurringScheduleRecurrenceArray) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutput() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { + return i.ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(context.Background()) +} + +func (i DowntimeScheduleRecurringScheduleRecurrenceArray) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) +} + +type DowntimeScheduleRecurringScheduleRecurrenceOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleRecurringScheduleRecurrenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() +} + +func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) ToDowntimeScheduleRecurringScheduleRecurrenceOutput() DowntimeScheduleRecurringScheduleRecurrenceOutput { + return o +} + +func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceOutput { + return o +} + +// The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'. +func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v DowntimeScheduleRecurringScheduleRecurrence) string { return v.Duration }).(pulumi.StringOutput) +} + +// The `RRULE` standard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api). +func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) Rrule() pulumi.StringOutput { + return o.ApplyT(func(v DowntimeScheduleRecurringScheduleRecurrence) string { return v.Rrule }).(pulumi.StringOutput) +} + +// ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created. +func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v DowntimeScheduleRecurringScheduleRecurrence) *string { return v.Start }).(pulumi.StringPtrOutput) +} + +type DowntimeScheduleRecurringScheduleRecurrenceArrayOutput struct{ *pulumi.OutputState } + +func (DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() +} + +func (o DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutput() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { + return o +} + +func (o DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { + return o +} + +func (o DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) Index(i pulumi.IntInput) DowntimeScheduleRecurringScheduleRecurrenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DowntimeScheduleRecurringScheduleRecurrence { + return vs[0].([]DowntimeScheduleRecurringScheduleRecurrence)[vs[1].(int)] + }).(DowntimeScheduleRecurringScheduleRecurrenceOutput) +} + +type IpAllowlistEntry struct { + // IP address or range of addresses. + CidrBlock string `pulumi:"cidrBlock"` + // Note accompanying IP address. + Note *string `pulumi:"note"` +} + +// IpAllowlistEntryInput is an input type that accepts IpAllowlistEntryArgs and IpAllowlistEntryOutput values. +// You can construct a concrete instance of `IpAllowlistEntryInput` via: +// +// IpAllowlistEntryArgs{...} +type IpAllowlistEntryInput interface { + pulumi.Input + + ToIpAllowlistEntryOutput() IpAllowlistEntryOutput + ToIpAllowlistEntryOutputWithContext(context.Context) IpAllowlistEntryOutput +} + +type IpAllowlistEntryArgs struct { + // IP address or range of addresses. + CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` + // Note accompanying IP address. + Note pulumi.StringPtrInput `pulumi:"note"` +} + +func (IpAllowlistEntryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpAllowlistEntry)(nil)).Elem() +} + +func (i IpAllowlistEntryArgs) ToIpAllowlistEntryOutput() IpAllowlistEntryOutput { + return i.ToIpAllowlistEntryOutputWithContext(context.Background()) +} + +func (i IpAllowlistEntryArgs) ToIpAllowlistEntryOutputWithContext(ctx context.Context) IpAllowlistEntryOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpAllowlistEntryOutput) +} + +// IpAllowlistEntryArrayInput is an input type that accepts IpAllowlistEntryArray and IpAllowlistEntryArrayOutput values. +// You can construct a concrete instance of `IpAllowlistEntryArrayInput` via: +// +// IpAllowlistEntryArray{ IpAllowlistEntryArgs{...} } +type IpAllowlistEntryArrayInput interface { + pulumi.Input + + ToIpAllowlistEntryArrayOutput() IpAllowlistEntryArrayOutput + ToIpAllowlistEntryArrayOutputWithContext(context.Context) IpAllowlistEntryArrayOutput +} + +type IpAllowlistEntryArray []IpAllowlistEntryInput + +func (IpAllowlistEntryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpAllowlistEntry)(nil)).Elem() +} + +func (i IpAllowlistEntryArray) ToIpAllowlistEntryArrayOutput() IpAllowlistEntryArrayOutput { + return i.ToIpAllowlistEntryArrayOutputWithContext(context.Background()) +} + +func (i IpAllowlistEntryArray) ToIpAllowlistEntryArrayOutputWithContext(ctx context.Context) IpAllowlistEntryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpAllowlistEntryArrayOutput) +} + +type IpAllowlistEntryOutput struct{ *pulumi.OutputState } + +func (IpAllowlistEntryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpAllowlistEntry)(nil)).Elem() +} + +func (o IpAllowlistEntryOutput) ToIpAllowlistEntryOutput() IpAllowlistEntryOutput { + return o +} + +func (o IpAllowlistEntryOutput) ToIpAllowlistEntryOutputWithContext(ctx context.Context) IpAllowlistEntryOutput { + return o +} + +// IP address or range of addresses. +func (o IpAllowlistEntryOutput) CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v IpAllowlistEntry) string { return v.CidrBlock }).(pulumi.StringOutput) +} + +// Note accompanying IP address. +func (o IpAllowlistEntryOutput) Note() pulumi.StringPtrOutput { + return o.ApplyT(func(v IpAllowlistEntry) *string { return v.Note }).(pulumi.StringPtrOutput) +} + +type IpAllowlistEntryArrayOutput struct{ *pulumi.OutputState } + +func (IpAllowlistEntryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpAllowlistEntry)(nil)).Elem() +} + +func (o IpAllowlistEntryArrayOutput) ToIpAllowlistEntryArrayOutput() IpAllowlistEntryArrayOutput { + return o +} + +func (o IpAllowlistEntryArrayOutput) ToIpAllowlistEntryArrayOutputWithContext(ctx context.Context) IpAllowlistEntryArrayOutput { + return o +} + +func (o IpAllowlistEntryArrayOutput) Index(i pulumi.IntInput) IpAllowlistEntryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpAllowlistEntry { + return vs[0].([]IpAllowlistEntry)[vs[1].(int)] + }).(IpAllowlistEntryOutput) +} + +type LogsArchiveAzureArchive struct { + // Your client id. + ClientId string `pulumi:"clientId"` + // The container where the archive is stored. + Container string `pulumi:"container"` + // The path where the archive is stored. + Path *string `pulumi:"path"` + // The associated storage account. + StorageAccount string `pulumi:"storageAccount"` + // Your tenant id. + TenantId string `pulumi:"tenantId"` +} + +// LogsArchiveAzureArchiveInput is an input type that accepts LogsArchiveAzureArchiveArgs and LogsArchiveAzureArchiveOutput values. +// You can construct a concrete instance of `LogsArchiveAzureArchiveInput` via: +// +// LogsArchiveAzureArchiveArgs{...} +type LogsArchiveAzureArchiveInput interface { + pulumi.Input + + ToLogsArchiveAzureArchiveOutput() LogsArchiveAzureArchiveOutput + ToLogsArchiveAzureArchiveOutputWithContext(context.Context) LogsArchiveAzureArchiveOutput +} + +type LogsArchiveAzureArchiveArgs struct { + // Your client id. + ClientId pulumi.StringInput `pulumi:"clientId"` + // The container where the archive is stored. + Container pulumi.StringInput `pulumi:"container"` + // The path where the archive is stored. + Path pulumi.StringPtrInput `pulumi:"path"` + // The associated storage account. + StorageAccount pulumi.StringInput `pulumi:"storageAccount"` + // Your tenant id. + TenantId pulumi.StringInput `pulumi:"tenantId"` +} + +func (LogsArchiveAzureArchiveArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsArchiveAzureArchive)(nil)).Elem() +} + +func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchiveOutput() LogsArchiveAzureArchiveOutput { + return i.ToLogsArchiveAzureArchiveOutputWithContext(context.Background()) +} + +func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchiveOutputWithContext(ctx context.Context) LogsArchiveAzureArchiveOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveAzureArchiveOutput) +} + +func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { + return i.ToLogsArchiveAzureArchivePtrOutputWithContext(context.Background()) +} + +func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveAzureArchiveOutput).ToLogsArchiveAzureArchivePtrOutputWithContext(ctx) +} + +// LogsArchiveAzureArchivePtrInput is an input type that accepts LogsArchiveAzureArchiveArgs, LogsArchiveAzureArchivePtr and LogsArchiveAzureArchivePtrOutput values. +// You can construct a concrete instance of `LogsArchiveAzureArchivePtrInput` via: +// +// LogsArchiveAzureArchiveArgs{...} +// +// or: +// +// nil +type LogsArchiveAzureArchivePtrInput interface { + pulumi.Input + + ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput + ToLogsArchiveAzureArchivePtrOutputWithContext(context.Context) LogsArchiveAzureArchivePtrOutput +} + +type logsArchiveAzureArchivePtrType LogsArchiveAzureArchiveArgs + +func LogsArchiveAzureArchivePtr(v *LogsArchiveAzureArchiveArgs) LogsArchiveAzureArchivePtrInput { + return (*logsArchiveAzureArchivePtrType)(v) +} + +func (*logsArchiveAzureArchivePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsArchiveAzureArchive)(nil)).Elem() +} + +func (i *logsArchiveAzureArchivePtrType) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { + return i.ToLogsArchiveAzureArchivePtrOutputWithContext(context.Background()) +} + +func (i *logsArchiveAzureArchivePtrType) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveAzureArchivePtrOutput) +} + +type LogsArchiveAzureArchiveOutput struct{ *pulumi.OutputState } + +func (LogsArchiveAzureArchiveOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsArchiveAzureArchive)(nil)).Elem() +} + +func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchiveOutput() LogsArchiveAzureArchiveOutput { + return o +} + +func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchiveOutputWithContext(ctx context.Context) LogsArchiveAzureArchiveOutput { + return o +} + +func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { + return o.ToLogsArchiveAzureArchivePtrOutputWithContext(context.Background()) +} + +func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsArchiveAzureArchive) *LogsArchiveAzureArchive { + return &v + }).(LogsArchiveAzureArchivePtrOutput) +} + +// Your client id. +func (o LogsArchiveAzureArchiveOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.ClientId }).(pulumi.StringOutput) +} + +// The container where the archive is stored. +func (o LogsArchiveAzureArchiveOutput) Container() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.Container }).(pulumi.StringOutput) +} + +// The path where the archive is stored. +func (o LogsArchiveAzureArchiveOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsArchiveAzureArchive) *string { return v.Path }).(pulumi.StringPtrOutput) +} + +// The associated storage account. +func (o LogsArchiveAzureArchiveOutput) StorageAccount() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.StorageAccount }).(pulumi.StringOutput) +} + +// Your tenant id. +func (o LogsArchiveAzureArchiveOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.TenantId }).(pulumi.StringOutput) +} + +type LogsArchiveAzureArchivePtrOutput struct{ *pulumi.OutputState } + +func (LogsArchiveAzureArchivePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsArchiveAzureArchive)(nil)).Elem() +} + +func (o LogsArchiveAzureArchivePtrOutput) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { + return o +} + +func (o LogsArchiveAzureArchivePtrOutput) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { + return o +} + +func (o LogsArchiveAzureArchivePtrOutput) Elem() LogsArchiveAzureArchiveOutput { + return o.ApplyT(func(v *LogsArchiveAzureArchive) LogsArchiveAzureArchive { + if v != nil { + return *v + } + var ret LogsArchiveAzureArchive + return ret + }).(LogsArchiveAzureArchiveOutput) +} + +// Your client id. +func (o LogsArchiveAzureArchivePtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { + if v == nil { + return nil + } + return &v.ClientId + }).(pulumi.StringPtrOutput) +} + +// The container where the archive is stored. +func (o LogsArchiveAzureArchivePtrOutput) Container() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { + if v == nil { + return nil + } + return &v.Container + }).(pulumi.StringPtrOutput) +} + +// The path where the archive is stored. +func (o LogsArchiveAzureArchivePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { + if v == nil { + return nil + } + return v.Path + }).(pulumi.StringPtrOutput) +} + +// The associated storage account. +func (o LogsArchiveAzureArchivePtrOutput) StorageAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { + if v == nil { + return nil + } + return &v.StorageAccount + }).(pulumi.StringPtrOutput) +} + +// Your tenant id. +func (o LogsArchiveAzureArchivePtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { + if v == nil { + return nil + } + return &v.TenantId + }).(pulumi.StringPtrOutput) +} + +type LogsArchiveGcsArchive struct { + // Name of your GCS bucket. + Bucket string `pulumi:"bucket"` + // Your client email. + ClientEmail string `pulumi:"clientEmail"` + // Path where the archive is stored. + Path *string `pulumi:"path"` + // Your project id. + ProjectId *string `pulumi:"projectId"` +} + +// LogsArchiveGcsArchiveInput is an input type that accepts LogsArchiveGcsArchiveArgs and LogsArchiveGcsArchiveOutput values. +// You can construct a concrete instance of `LogsArchiveGcsArchiveInput` via: +// +// LogsArchiveGcsArchiveArgs{...} +type LogsArchiveGcsArchiveInput interface { + pulumi.Input + + ToLogsArchiveGcsArchiveOutput() LogsArchiveGcsArchiveOutput + ToLogsArchiveGcsArchiveOutputWithContext(context.Context) LogsArchiveGcsArchiveOutput +} + +type LogsArchiveGcsArchiveArgs struct { + // Name of your GCS bucket. + Bucket pulumi.StringInput `pulumi:"bucket"` + // Your client email. + ClientEmail pulumi.StringInput `pulumi:"clientEmail"` + // Path where the archive is stored. + Path pulumi.StringPtrInput `pulumi:"path"` + // Your project id. + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` +} + +func (LogsArchiveGcsArchiveArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsArchiveGcsArchive)(nil)).Elem() +} + +func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchiveOutput() LogsArchiveGcsArchiveOutput { + return i.ToLogsArchiveGcsArchiveOutputWithContext(context.Background()) +} + +func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchiveOutputWithContext(ctx context.Context) LogsArchiveGcsArchiveOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveGcsArchiveOutput) +} + +func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { + return i.ToLogsArchiveGcsArchivePtrOutputWithContext(context.Background()) +} + +func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveGcsArchiveOutput).ToLogsArchiveGcsArchivePtrOutputWithContext(ctx) +} + +// LogsArchiveGcsArchivePtrInput is an input type that accepts LogsArchiveGcsArchiveArgs, LogsArchiveGcsArchivePtr and LogsArchiveGcsArchivePtrOutput values. +// You can construct a concrete instance of `LogsArchiveGcsArchivePtrInput` via: +// +// LogsArchiveGcsArchiveArgs{...} +// +// or: +// +// nil +type LogsArchiveGcsArchivePtrInput interface { + pulumi.Input + + ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput + ToLogsArchiveGcsArchivePtrOutputWithContext(context.Context) LogsArchiveGcsArchivePtrOutput +} + +type logsArchiveGcsArchivePtrType LogsArchiveGcsArchiveArgs + +func LogsArchiveGcsArchivePtr(v *LogsArchiveGcsArchiveArgs) LogsArchiveGcsArchivePtrInput { + return (*logsArchiveGcsArchivePtrType)(v) +} + +func (*logsArchiveGcsArchivePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsArchiveGcsArchive)(nil)).Elem() +} + +func (i *logsArchiveGcsArchivePtrType) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { + return i.ToLogsArchiveGcsArchivePtrOutputWithContext(context.Background()) +} + +func (i *logsArchiveGcsArchivePtrType) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveGcsArchivePtrOutput) +} + +type LogsArchiveGcsArchiveOutput struct{ *pulumi.OutputState } + +func (LogsArchiveGcsArchiveOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsArchiveGcsArchive)(nil)).Elem() +} + +func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchiveOutput() LogsArchiveGcsArchiveOutput { + return o +} + +func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchiveOutputWithContext(ctx context.Context) LogsArchiveGcsArchiveOutput { + return o +} + +func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { + return o.ToLogsArchiveGcsArchivePtrOutputWithContext(context.Background()) +} + +func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsArchiveGcsArchive) *LogsArchiveGcsArchive { + return &v + }).(LogsArchiveGcsArchivePtrOutput) +} + +// Name of your GCS bucket. +func (o LogsArchiveGcsArchiveOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveGcsArchive) string { return v.Bucket }).(pulumi.StringOutput) +} + +// Your client email. +func (o LogsArchiveGcsArchiveOutput) ClientEmail() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveGcsArchive) string { return v.ClientEmail }).(pulumi.StringOutput) +} + +// Path where the archive is stored. +func (o LogsArchiveGcsArchiveOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsArchiveGcsArchive) *string { return v.Path }).(pulumi.StringPtrOutput) +} + +// Your project id. +func (o LogsArchiveGcsArchiveOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsArchiveGcsArchive) *string { return v.ProjectId }).(pulumi.StringPtrOutput) +} + +type LogsArchiveGcsArchivePtrOutput struct{ *pulumi.OutputState } + +func (LogsArchiveGcsArchivePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsArchiveGcsArchive)(nil)).Elem() +} + +func (o LogsArchiveGcsArchivePtrOutput) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { + return o +} + +func (o LogsArchiveGcsArchivePtrOutput) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { + return o +} + +func (o LogsArchiveGcsArchivePtrOutput) Elem() LogsArchiveGcsArchiveOutput { + return o.ApplyT(func(v *LogsArchiveGcsArchive) LogsArchiveGcsArchive { + if v != nil { + return *v + } + var ret LogsArchiveGcsArchive + return ret + }).(LogsArchiveGcsArchiveOutput) +} + +// Name of your GCS bucket. +func (o LogsArchiveGcsArchivePtrOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { + if v == nil { + return nil + } + return &v.Bucket + }).(pulumi.StringPtrOutput) +} + +// Your client email. +func (o LogsArchiveGcsArchivePtrOutput) ClientEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { + if v == nil { + return nil + } + return &v.ClientEmail + }).(pulumi.StringPtrOutput) +} + +// Path where the archive is stored. +func (o LogsArchiveGcsArchivePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { + if v == nil { + return nil + } + return v.Path + }).(pulumi.StringPtrOutput) +} + +// Your project id. +func (o LogsArchiveGcsArchivePtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { + if v == nil { + return nil + } + return v.ProjectId + }).(pulumi.StringPtrOutput) +} + +type LogsArchiveS3Archive struct { + // Your AWS account id. + AccountId string `pulumi:"accountId"` + // Name of your s3 bucket. + Bucket string `pulumi:"bucket"` + // Path where the archive is stored. + Path *string `pulumi:"path"` + // Your AWS role name + RoleName string `pulumi:"roleName"` +} + +// LogsArchiveS3ArchiveInput is an input type that accepts LogsArchiveS3ArchiveArgs and LogsArchiveS3ArchiveOutput values. +// You can construct a concrete instance of `LogsArchiveS3ArchiveInput` via: +// +// LogsArchiveS3ArchiveArgs{...} +type LogsArchiveS3ArchiveInput interface { + pulumi.Input + + ToLogsArchiveS3ArchiveOutput() LogsArchiveS3ArchiveOutput + ToLogsArchiveS3ArchiveOutputWithContext(context.Context) LogsArchiveS3ArchiveOutput +} + +type LogsArchiveS3ArchiveArgs struct { + // Your AWS account id. + AccountId pulumi.StringInput `pulumi:"accountId"` + // Name of your s3 bucket. + Bucket pulumi.StringInput `pulumi:"bucket"` + // Path where the archive is stored. + Path pulumi.StringPtrInput `pulumi:"path"` + // Your AWS role name + RoleName pulumi.StringInput `pulumi:"roleName"` +} + +func (LogsArchiveS3ArchiveArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsArchiveS3Archive)(nil)).Elem() +} + +func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchiveOutput() LogsArchiveS3ArchiveOutput { + return i.ToLogsArchiveS3ArchiveOutputWithContext(context.Background()) +} + +func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchiveOutputWithContext(ctx context.Context) LogsArchiveS3ArchiveOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveS3ArchiveOutput) +} + +func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { + return i.ToLogsArchiveS3ArchivePtrOutputWithContext(context.Background()) +} + +func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveS3ArchiveOutput).ToLogsArchiveS3ArchivePtrOutputWithContext(ctx) +} + +// LogsArchiveS3ArchivePtrInput is an input type that accepts LogsArchiveS3ArchiveArgs, LogsArchiveS3ArchivePtr and LogsArchiveS3ArchivePtrOutput values. +// You can construct a concrete instance of `LogsArchiveS3ArchivePtrInput` via: +// +// LogsArchiveS3ArchiveArgs{...} +// +// or: +// +// nil +type LogsArchiveS3ArchivePtrInput interface { + pulumi.Input + + ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput + ToLogsArchiveS3ArchivePtrOutputWithContext(context.Context) LogsArchiveS3ArchivePtrOutput +} + +type logsArchiveS3ArchivePtrType LogsArchiveS3ArchiveArgs + +func LogsArchiveS3ArchivePtr(v *LogsArchiveS3ArchiveArgs) LogsArchiveS3ArchivePtrInput { + return (*logsArchiveS3ArchivePtrType)(v) +} + +func (*logsArchiveS3ArchivePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsArchiveS3Archive)(nil)).Elem() +} + +func (i *logsArchiveS3ArchivePtrType) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { + return i.ToLogsArchiveS3ArchivePtrOutputWithContext(context.Background()) +} + +func (i *logsArchiveS3ArchivePtrType) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveS3ArchivePtrOutput) +} + +type LogsArchiveS3ArchiveOutput struct{ *pulumi.OutputState } + +func (LogsArchiveS3ArchiveOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsArchiveS3Archive)(nil)).Elem() +} + +func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchiveOutput() LogsArchiveS3ArchiveOutput { + return o +} + +func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchiveOutputWithContext(ctx context.Context) LogsArchiveS3ArchiveOutput { + return o +} + +func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { + return o.ToLogsArchiveS3ArchivePtrOutputWithContext(context.Background()) +} + +func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsArchiveS3Archive) *LogsArchiveS3Archive { + return &v + }).(LogsArchiveS3ArchivePtrOutput) +} + +// Your AWS account id. +func (o LogsArchiveS3ArchiveOutput) AccountId() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveS3Archive) string { return v.AccountId }).(pulumi.StringOutput) +} + +// Name of your s3 bucket. +func (o LogsArchiveS3ArchiveOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveS3Archive) string { return v.Bucket }).(pulumi.StringOutput) +} + +// Path where the archive is stored. +func (o LogsArchiveS3ArchiveOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsArchiveS3Archive) *string { return v.Path }).(pulumi.StringPtrOutput) +} + +// Your AWS role name +func (o LogsArchiveS3ArchiveOutput) RoleName() pulumi.StringOutput { + return o.ApplyT(func(v LogsArchiveS3Archive) string { return v.RoleName }).(pulumi.StringOutput) +} + +type LogsArchiveS3ArchivePtrOutput struct{ *pulumi.OutputState } + +func (LogsArchiveS3ArchivePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsArchiveS3Archive)(nil)).Elem() +} + +func (o LogsArchiveS3ArchivePtrOutput) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { + return o +} + +func (o LogsArchiveS3ArchivePtrOutput) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { + return o +} + +func (o LogsArchiveS3ArchivePtrOutput) Elem() LogsArchiveS3ArchiveOutput { + return o.ApplyT(func(v *LogsArchiveS3Archive) LogsArchiveS3Archive { + if v != nil { + return *v + } + var ret LogsArchiveS3Archive + return ret + }).(LogsArchiveS3ArchiveOutput) +} + +// Your AWS account id. +func (o LogsArchiveS3ArchivePtrOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveS3Archive) *string { + if v == nil { + return nil + } + return &v.AccountId + }).(pulumi.StringPtrOutput) +} + +// Name of your s3 bucket. +func (o LogsArchiveS3ArchivePtrOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveS3Archive) *string { + if v == nil { + return nil + } + return &v.Bucket + }).(pulumi.StringPtrOutput) +} + +// Path where the archive is stored. +func (o LogsArchiveS3ArchivePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveS3Archive) *string { + if v == nil { + return nil + } + return v.Path + }).(pulumi.StringPtrOutput) +} + +// Your AWS role name +func (o LogsArchiveS3ArchivePtrOutput) RoleName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsArchiveS3Archive) *string { + if v == nil { + return nil + } + return &v.RoleName + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineFilter struct { + // Filter criteria of the category. + Query string `pulumi:"query"` +} + +// LogsCustomPipelineFilterInput is an input type that accepts LogsCustomPipelineFilterArgs and LogsCustomPipelineFilterOutput values. +// You can construct a concrete instance of `LogsCustomPipelineFilterInput` via: +// +// LogsCustomPipelineFilterArgs{...} +type LogsCustomPipelineFilterInput interface { + pulumi.Input + + ToLogsCustomPipelineFilterOutput() LogsCustomPipelineFilterOutput + ToLogsCustomPipelineFilterOutputWithContext(context.Context) LogsCustomPipelineFilterOutput +} + +type LogsCustomPipelineFilterArgs struct { + // Filter criteria of the category. + Query pulumi.StringInput `pulumi:"query"` +} + +func (LogsCustomPipelineFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineFilter)(nil)).Elem() +} + +func (i LogsCustomPipelineFilterArgs) ToLogsCustomPipelineFilterOutput() LogsCustomPipelineFilterOutput { + return i.ToLogsCustomPipelineFilterOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineFilterArgs) ToLogsCustomPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineFilterOutput) +} + +// LogsCustomPipelineFilterArrayInput is an input type that accepts LogsCustomPipelineFilterArray and LogsCustomPipelineFilterArrayOutput values. +// You can construct a concrete instance of `LogsCustomPipelineFilterArrayInput` via: +// +// LogsCustomPipelineFilterArray{ LogsCustomPipelineFilterArgs{...} } +type LogsCustomPipelineFilterArrayInput interface { + pulumi.Input + + ToLogsCustomPipelineFilterArrayOutput() LogsCustomPipelineFilterArrayOutput + ToLogsCustomPipelineFilterArrayOutputWithContext(context.Context) LogsCustomPipelineFilterArrayOutput +} + +type LogsCustomPipelineFilterArray []LogsCustomPipelineFilterInput + +func (LogsCustomPipelineFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineFilter)(nil)).Elem() +} + +func (i LogsCustomPipelineFilterArray) ToLogsCustomPipelineFilterArrayOutput() LogsCustomPipelineFilterArrayOutput { + return i.ToLogsCustomPipelineFilterArrayOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineFilterArray) ToLogsCustomPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineFilterArrayOutput) +} + +type LogsCustomPipelineFilterOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineFilter)(nil)).Elem() +} + +func (o LogsCustomPipelineFilterOutput) ToLogsCustomPipelineFilterOutput() LogsCustomPipelineFilterOutput { + return o +} + +func (o LogsCustomPipelineFilterOutput) ToLogsCustomPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineFilterOutput { + return o +} + +// Filter criteria of the category. +func (o LogsCustomPipelineFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineFilter) string { return v.Query }).(pulumi.StringOutput) +} + +type LogsCustomPipelineFilterArrayOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineFilter)(nil)).Elem() +} + +func (o LogsCustomPipelineFilterArrayOutput) ToLogsCustomPipelineFilterArrayOutput() LogsCustomPipelineFilterArrayOutput { + return o +} + +func (o LogsCustomPipelineFilterArrayOutput) ToLogsCustomPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineFilterArrayOutput { + return o +} + +func (o LogsCustomPipelineFilterArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineFilter { + return vs[0].([]LogsCustomPipelineFilter)[vs[1].(int)] + }).(LogsCustomPipelineFilterOutput) +} + +type LogsCustomPipelineProcessor struct { + // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) + ArithmeticProcessor *LogsCustomPipelineProcessorArithmeticProcessor `pulumi:"arithmeticProcessor"` + // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) + AttributeRemapper *LogsCustomPipelineProcessorAttributeRemapper `pulumi:"attributeRemapper"` + // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) + CategoryProcessor *LogsCustomPipelineProcessorCategoryProcessor `pulumi:"categoryProcessor"` + // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) + DateRemapper *LogsCustomPipelineProcessorDateRemapper `pulumi:"dateRemapper"` + // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) + GeoIpParser *LogsCustomPipelineProcessorGeoIpParser `pulumi:"geoIpParser"` + // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) + GrokParser *LogsCustomPipelineProcessorGrokParser `pulumi:"grokParser"` + // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + LookupProcessor *LogsCustomPipelineProcessorLookupProcessor `pulumi:"lookupProcessor"` + // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) + MessageRemapper *LogsCustomPipelineProcessorMessageRemapper `pulumi:"messageRemapper"` + Pipeline *LogsCustomPipelineProcessorPipeline `pulumi:"pipeline"` + // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + ReferenceTableLookupProcessor *LogsCustomPipelineProcessorReferenceTableLookupProcessor `pulumi:"referenceTableLookupProcessor"` + // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) + ServiceRemapper *LogsCustomPipelineProcessorServiceRemapper `pulumi:"serviceRemapper"` + // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) + StatusRemapper *LogsCustomPipelineProcessorStatusRemapper `pulumi:"statusRemapper"` + // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) + StringBuilderProcessor *LogsCustomPipelineProcessorStringBuilderProcessor `pulumi:"stringBuilderProcessor"` + // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) + TraceIdRemapper *LogsCustomPipelineProcessorTraceIdRemapper `pulumi:"traceIdRemapper"` + // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) + UrlParser *LogsCustomPipelineProcessorUrlParser `pulumi:"urlParser"` + // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) + UserAgentParser *LogsCustomPipelineProcessorUserAgentParser `pulumi:"userAgentParser"` +} + +// LogsCustomPipelineProcessorInput is an input type that accepts LogsCustomPipelineProcessorArgs and LogsCustomPipelineProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorInput` via: +// +// LogsCustomPipelineProcessorArgs{...} +type LogsCustomPipelineProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorOutput() LogsCustomPipelineProcessorOutput + ToLogsCustomPipelineProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorOutput +} + +type LogsCustomPipelineProcessorArgs struct { + // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) + ArithmeticProcessor LogsCustomPipelineProcessorArithmeticProcessorPtrInput `pulumi:"arithmeticProcessor"` + // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) + AttributeRemapper LogsCustomPipelineProcessorAttributeRemapperPtrInput `pulumi:"attributeRemapper"` + // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) + CategoryProcessor LogsCustomPipelineProcessorCategoryProcessorPtrInput `pulumi:"categoryProcessor"` + // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) + DateRemapper LogsCustomPipelineProcessorDateRemapperPtrInput `pulumi:"dateRemapper"` + // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) + GeoIpParser LogsCustomPipelineProcessorGeoIpParserPtrInput `pulumi:"geoIpParser"` + // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) + GrokParser LogsCustomPipelineProcessorGrokParserPtrInput `pulumi:"grokParser"` + // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + LookupProcessor LogsCustomPipelineProcessorLookupProcessorPtrInput `pulumi:"lookupProcessor"` + // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) + MessageRemapper LogsCustomPipelineProcessorMessageRemapperPtrInput `pulumi:"messageRemapper"` + Pipeline LogsCustomPipelineProcessorPipelinePtrInput `pulumi:"pipeline"` + // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + ReferenceTableLookupProcessor LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput `pulumi:"referenceTableLookupProcessor"` + // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) + ServiceRemapper LogsCustomPipelineProcessorServiceRemapperPtrInput `pulumi:"serviceRemapper"` + // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) + StatusRemapper LogsCustomPipelineProcessorStatusRemapperPtrInput `pulumi:"statusRemapper"` + // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) + StringBuilderProcessor LogsCustomPipelineProcessorStringBuilderProcessorPtrInput `pulumi:"stringBuilderProcessor"` + // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) + TraceIdRemapper LogsCustomPipelineProcessorTraceIdRemapperPtrInput `pulumi:"traceIdRemapper"` + // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) + UrlParser LogsCustomPipelineProcessorUrlParserPtrInput `pulumi:"urlParser"` + // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) + UserAgentParser LogsCustomPipelineProcessorUserAgentParserPtrInput `pulumi:"userAgentParser"` +} + +func (LogsCustomPipelineProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorArgs) ToLogsCustomPipelineProcessorOutput() LogsCustomPipelineProcessorOutput { + return i.ToLogsCustomPipelineProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorArgs) ToLogsCustomPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorOutput) +} + +// LogsCustomPipelineProcessorArrayInput is an input type that accepts LogsCustomPipelineProcessorArray and LogsCustomPipelineProcessorArrayOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorArrayInput` via: +// +// LogsCustomPipelineProcessorArray{ LogsCustomPipelineProcessorArgs{...} } +type LogsCustomPipelineProcessorArrayInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorArrayOutput() LogsCustomPipelineProcessorArrayOutput + ToLogsCustomPipelineProcessorArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorArrayOutput +} + +type LogsCustomPipelineProcessorArray []LogsCustomPipelineProcessorInput + +func (LogsCustomPipelineProcessorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorArray) ToLogsCustomPipelineProcessorArrayOutput() LogsCustomPipelineProcessorArrayOutput { + return i.ToLogsCustomPipelineProcessorArrayOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorArray) ToLogsCustomPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArrayOutput) +} + +type LogsCustomPipelineProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorOutput) ToLogsCustomPipelineProcessorOutput() LogsCustomPipelineProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorOutput) ToLogsCustomPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorOutput { + return o +} + +// Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) +func (o LogsCustomPipelineProcessorOutput) ArithmeticProcessor() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorArithmeticProcessor { + return v.ArithmeticProcessor + }).(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) +} + +// Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) +func (o LogsCustomPipelineProcessorOutput) AttributeRemapper() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorAttributeRemapper { + return v.AttributeRemapper + }).(LogsCustomPipelineProcessorAttributeRemapperPtrOutput) +} + +// Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) +func (o LogsCustomPipelineProcessorOutput) CategoryProcessor() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorCategoryProcessor { + return v.CategoryProcessor + }).(LogsCustomPipelineProcessorCategoryProcessorPtrOutput) +} + +// Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) +func (o LogsCustomPipelineProcessorOutput) DateRemapper() LogsCustomPipelineProcessorDateRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorDateRemapper { return v.DateRemapper }).(LogsCustomPipelineProcessorDateRemapperPtrOutput) +} + +// Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) +func (o LogsCustomPipelineProcessorOutput) GeoIpParser() LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorGeoIpParser { return v.GeoIpParser }).(LogsCustomPipelineProcessorGeoIpParserPtrOutput) +} + +// Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) +func (o LogsCustomPipelineProcessorOutput) GrokParser() LogsCustomPipelineProcessorGrokParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorGrokParser { return v.GrokParser }).(LogsCustomPipelineProcessorGrokParserPtrOutput) +} + +// Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) +func (o LogsCustomPipelineProcessorOutput) LookupProcessor() LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorLookupProcessor { + return v.LookupProcessor + }).(LogsCustomPipelineProcessorLookupProcessorPtrOutput) +} + +// Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) +func (o LogsCustomPipelineProcessorOutput) MessageRemapper() LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorMessageRemapper { + return v.MessageRemapper + }).(LogsCustomPipelineProcessorMessageRemapperPtrOutput) +} + +func (o LogsCustomPipelineProcessorOutput) Pipeline() LogsCustomPipelineProcessorPipelinePtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorPipeline { return v.Pipeline }).(LogsCustomPipelineProcessorPipelinePtrOutput) +} + +// Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) +func (o LogsCustomPipelineProcessorOutput) ReferenceTableLookupProcessor() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorReferenceTableLookupProcessor { + return v.ReferenceTableLookupProcessor + }).(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) +} + +// Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) +func (o LogsCustomPipelineProcessorOutput) ServiceRemapper() LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorServiceRemapper { + return v.ServiceRemapper + }).(LogsCustomPipelineProcessorServiceRemapperPtrOutput) +} + +// Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) +func (o LogsCustomPipelineProcessorOutput) StatusRemapper() LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorStatusRemapper { + return v.StatusRemapper + }).(LogsCustomPipelineProcessorStatusRemapperPtrOutput) +} + +// String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) +func (o LogsCustomPipelineProcessorOutput) StringBuilderProcessor() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorStringBuilderProcessor { + return v.StringBuilderProcessor + }).(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) +} + +// Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) +func (o LogsCustomPipelineProcessorOutput) TraceIdRemapper() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorTraceIdRemapper { + return v.TraceIdRemapper + }).(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) +} + +// URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) +func (o LogsCustomPipelineProcessorOutput) UrlParser() LogsCustomPipelineProcessorUrlParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorUrlParser { return v.UrlParser }).(LogsCustomPipelineProcessorUrlParserPtrOutput) +} + +// User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) +func (o LogsCustomPipelineProcessorOutput) UserAgentParser() LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorUserAgentParser { + return v.UserAgentParser + }).(LogsCustomPipelineProcessorUserAgentParserPtrOutput) +} + +type LogsCustomPipelineProcessorArrayOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorArrayOutput() LogsCustomPipelineProcessorArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessor { + return vs[0].([]LogsCustomPipelineProcessor)[vs[1].(int)] + }).(LogsCustomPipelineProcessorOutput) +} + +type LogsCustomPipelineProcessorArithmeticProcessor struct { + // Arithmetic operation between one or more log attributes. + Expression string `pulumi:"expression"` + // Boolean value to enable your pipeline. + IsEnabled *bool `pulumi:"isEnabled"` + // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. + IsReplaceMissing *bool `pulumi:"isReplaceMissing"` + // Your pipeline name. + Name *string `pulumi:"name"` + // Name of the attribute that contains the result of the arithmetic operation. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorArithmeticProcessorInput is an input type that accepts LogsCustomPipelineProcessorArithmeticProcessorArgs and LogsCustomPipelineProcessorArithmeticProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorArithmeticProcessorInput` via: +// +// LogsCustomPipelineProcessorArithmeticProcessorArgs{...} +type LogsCustomPipelineProcessorArithmeticProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorArithmeticProcessorOutput + ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorArithmeticProcessorOutput +} + +type LogsCustomPipelineProcessorArithmeticProcessorArgs struct { + // Arithmetic operation between one or more log attributes. + Expression pulumi.StringInput `pulumi:"expression"` + // Boolean value to enable your pipeline. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. + IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` + // Your pipeline name. + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the attribute that contains the result of the arithmetic operation. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorArithmeticProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorArithmeticProcessorOutput { + return i.ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArithmeticProcessorOutput) +} + +func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArithmeticProcessorOutput).ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorArithmeticProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorArithmeticProcessorArgs, LogsCustomPipelineProcessorArithmeticProcessorPtr and LogsCustomPipelineProcessorArithmeticProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorArithmeticProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorArithmeticProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorArithmeticProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput + ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput +} + +type logsCustomPipelineProcessorArithmeticProcessorPtrType LogsCustomPipelineProcessorArithmeticProcessorArgs + +func LogsCustomPipelineProcessorArithmeticProcessorPtr(v *LogsCustomPipelineProcessorArithmeticProcessorArgs) LogsCustomPipelineProcessorArithmeticProcessorPtrInput { + return (*logsCustomPipelineProcessorArithmeticProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorArithmeticProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorArithmeticProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorArithmeticProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorArithmeticProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorArithmeticProcessor) *LogsCustomPipelineProcessorArithmeticProcessor { + return &v + }).(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) +} + +// Arithmetic operation between one or more log attributes. +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) string { return v.Expression }).(pulumi.StringOutput) +} + +// Boolean value to enable your pipeline. +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) *bool { return v.IsReplaceMissing }).(pulumi.BoolPtrOutput) +} + +// Your pipeline name. +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the arithmetic operation. +func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorArithmeticProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Elem() LogsCustomPipelineProcessorArithmeticProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) LogsCustomPipelineProcessorArithmeticProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorArithmeticProcessor + return ret + }).(LogsCustomPipelineProcessorArithmeticProcessorOutput) +} + +// Arithmetic operation between one or more log attributes. +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *string { + if v == nil { + return nil + } + return &v.Expression + }).(pulumi.StringPtrOutput) +} + +// Boolean value to enable your pipeline. +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *bool { + if v == nil { + return nil + } + return v.IsReplaceMissing + }).(pulumi.BoolPtrOutput) +} + +// Your pipeline name. +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the arithmetic operation. +func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorAttributeRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor + Name *string `pulumi:"name"` + // Override the target element if already set. + OverrideOnConflict *bool `pulumi:"overrideOnConflict"` + // Remove or preserve the remapped source element. + PreserveSource *bool `pulumi:"preserveSource"` + // Defines where the sources are from (log `attribute` or `tag`). + SourceType string `pulumi:"sourceType"` + // List of source attributes or tags. + Sources []string `pulumi:"sources"` + // Final attribute or tag name to remap the sources. + Target string `pulumi:"target"` + // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. + TargetFormat *string `pulumi:"targetFormat"` + // Defines if the target is a log `attribute` or `tag`. + TargetType string `pulumi:"targetType"` +} + +// LogsCustomPipelineProcessorAttributeRemapperInput is an input type that accepts LogsCustomPipelineProcessorAttributeRemapperArgs and LogsCustomPipelineProcessorAttributeRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorAttributeRemapperInput` via: +// +// LogsCustomPipelineProcessorAttributeRemapperArgs{...} +type LogsCustomPipelineProcessorAttributeRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorAttributeRemapperOutput + ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorAttributeRemapperOutput +} + +type LogsCustomPipelineProcessorAttributeRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Override the target element if already set. + OverrideOnConflict pulumi.BoolPtrInput `pulumi:"overrideOnConflict"` + // Remove or preserve the remapped source element. + PreserveSource pulumi.BoolPtrInput `pulumi:"preserveSource"` + // Defines where the sources are from (log `attribute` or `tag`). + SourceType pulumi.StringInput `pulumi:"sourceType"` + // List of source attributes or tags. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Final attribute or tag name to remap the sources. + Target pulumi.StringInput `pulumi:"target"` + // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. + TargetFormat pulumi.StringPtrInput `pulumi:"targetFormat"` + // Defines if the target is a log `attribute` or `tag`. + TargetType pulumi.StringInput `pulumi:"targetType"` +} + +func (LogsCustomPipelineProcessorAttributeRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorAttributeRemapperOutput { + return i.ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorAttributeRemapperOutput) +} + +func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorAttributeRemapperOutput).ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorAttributeRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorAttributeRemapperArgs, LogsCustomPipelineProcessorAttributeRemapperPtr and LogsCustomPipelineProcessorAttributeRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorAttributeRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorAttributeRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorAttributeRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput + ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput +} + +type logsCustomPipelineProcessorAttributeRemapperPtrType LogsCustomPipelineProcessorAttributeRemapperArgs + +func LogsCustomPipelineProcessorAttributeRemapperPtr(v *LogsCustomPipelineProcessorAttributeRemapperArgs) LogsCustomPipelineProcessorAttributeRemapperPtrInput { + return (*logsCustomPipelineProcessorAttributeRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorAttributeRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorAttributeRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorAttributeRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorAttributeRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorAttributeRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorAttributeRemapper) *LogsCustomPipelineProcessorAttributeRemapper { + return &v + }).(LogsCustomPipelineProcessorAttributeRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Override the target element if already set. +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) OverrideOnConflict() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *bool { return v.OverrideOnConflict }).(pulumi.BoolPtrOutput) +} + +// Remove or preserve the remapped source element. +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) PreserveSource() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *bool { return v.PreserveSource }).(pulumi.BoolPtrOutput) +} + +// Defines where the sources are from (log `attribute` or `tag`). +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) SourceType() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) string { return v.SourceType }).(pulumi.StringOutput) +} + +// List of source attributes or tags. +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Final attribute or tag name to remap the sources. +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) string { return v.Target }).(pulumi.StringOutput) +} + +// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) TargetFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *string { return v.TargetFormat }).(pulumi.StringPtrOutput) +} + +// Defines if the target is a log `attribute` or `tag`. +func (o LogsCustomPipelineProcessorAttributeRemapperOutput) TargetType() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) string { return v.TargetType }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorAttributeRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorAttributeRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Elem() LogsCustomPipelineProcessorAttributeRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) LogsCustomPipelineProcessorAttributeRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorAttributeRemapper + return ret + }).(LogsCustomPipelineProcessorAttributeRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Override the target element if already set. +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) OverrideOnConflict() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *bool { + if v == nil { + return nil + } + return v.OverrideOnConflict + }).(pulumi.BoolPtrOutput) +} + +// Remove or preserve the remapped source element. +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) PreserveSource() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *bool { + if v == nil { + return nil + } + return v.PreserveSource + }).(pulumi.BoolPtrOutput) +} + +// Defines where the sources are from (log `attribute` or `tag`). +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) SourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return &v.SourceType + }).(pulumi.StringPtrOutput) +} + +// List of source attributes or tags. +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Final attribute or tag name to remap the sources. +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) TargetFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return v.TargetFormat + }).(pulumi.StringPtrOutput) +} + +// Defines if the target is a log `attribute` or `tag`. +func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) TargetType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return &v.TargetType + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessor struct { + // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. + Categories []LogsCustomPipelineProcessorCategoryProcessorCategory `pulumi:"categories"` + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the category + Name *string `pulumi:"name"` + // Name of the target attribute whose value is defined by the matching category. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorCategoryProcessorInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorArgs and LogsCustomPipelineProcessorCategoryProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorInput` via: +// +// LogsCustomPipelineProcessorCategoryProcessorArgs{...} +type LogsCustomPipelineProcessorCategoryProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorCategoryProcessorOutput + ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorOutput +} + +type LogsCustomPipelineProcessorCategoryProcessorArgs struct { + // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. + Categories LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput `pulumi:"categories"` + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the category + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the target attribute whose value is defined by the matching category. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorCategoryProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorCategoryProcessorOutput { + return i.ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorOutput) +} + +func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorOutput).ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorCategoryProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorArgs, LogsCustomPipelineProcessorCategoryProcessorPtr and LogsCustomPipelineProcessorCategoryProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorCategoryProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorCategoryProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput + ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput +} + +type logsCustomPipelineProcessorCategoryProcessorPtrType LogsCustomPipelineProcessorCategoryProcessorArgs + +func LogsCustomPipelineProcessorCategoryProcessorPtr(v *LogsCustomPipelineProcessorCategoryProcessorArgs) LogsCustomPipelineProcessorCategoryProcessorPtrInput { + return (*logsCustomPipelineProcessorCategoryProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorCategoryProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorCategoryProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorCategoryProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorCategoryProcessor) *LogsCustomPipelineProcessorCategoryProcessor { + return &v + }).(LogsCustomPipelineProcessorCategoryProcessorPtrOutput) +} + +// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) Categories() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorCategoryProcessorCategory { + return v.Categories + }).(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the category +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Name of the target attribute whose value is defined by the matching category. +func (o LogsCustomPipelineProcessorCategoryProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorCategoryProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Elem() LogsCustomPipelineProcessorCategoryProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) LogsCustomPipelineProcessorCategoryProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorCategoryProcessor + return ret + }).(LogsCustomPipelineProcessorCategoryProcessorOutput) +} + +// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. +func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Categories() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorCategoryProcessorCategory { + if v == nil { + return nil + } + return v.Categories + }).(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the category +func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the target attribute whose value is defined by the matching category. +func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessorCategory struct { + Filter LogsCustomPipelineProcessorCategoryProcessorCategoryFilter `pulumi:"filter"` + Name string `pulumi:"name"` +} + +// LogsCustomPipelineProcessorCategoryProcessorCategoryInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorCategoryArgs and LogsCustomPipelineProcessorCategoryProcessorCategoryOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorCategoryInput` via: +// +// LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{...} +type LogsCustomPipelineProcessorCategoryProcessorCategoryInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryOutput + ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput +} + +type LogsCustomPipelineProcessorCategoryProcessorCategoryArgs struct { + Filter LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput `pulumi:"filter"` + Name pulumi.StringInput `pulumi:"name"` +} + +func (LogsCustomPipelineProcessorCategoryProcessorCategoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { + return i.ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) +} + +// LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorCategoryArray and LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput` via: +// +// LogsCustomPipelineProcessorCategoryProcessorCategoryArray{ LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{...} } +type LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput + ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput +} + +type LogsCustomPipelineProcessorCategoryProcessorCategoryArray []LogsCustomPipelineProcessorCategoryProcessorCategoryInput + +func (LogsCustomPipelineProcessorCategoryProcessorCategoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { + return i.ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessorCategoryOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) Filter() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessorCategory) LogsCustomPipelineProcessorCategoryProcessorCategoryFilter { + return v.Filter + }).(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessorCategory) string { return v.Name }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorCategoryProcessorCategory { + return vs[0].([]LogsCustomPipelineProcessorCategoryProcessorCategory)[vs[1].(int)] + }).(LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessorCategoryFilter struct { + // Filter criteria of the category. + Query string `pulumi:"query"` +} + +// LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs and LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput` via: +// +// LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{...} +type LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput + ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput +} + +type LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs struct { + // Filter criteria of the category. + Query pulumi.StringInput `pulumi:"query"` +} + +func (LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { + return i.ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) +} + +type LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { + return o +} + +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { + return o +} + +// Filter criteria of the category. +func (o LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessorCategoryFilter) string { return v.Query }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorDateRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorDateRemapperInput is an input type that accepts LogsCustomPipelineProcessorDateRemapperArgs and LogsCustomPipelineProcessorDateRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorDateRemapperInput` via: +// +// LogsCustomPipelineProcessorDateRemapperArgs{...} +type LogsCustomPipelineProcessorDateRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorDateRemapperOutput + ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorDateRemapperOutput +} + +type LogsCustomPipelineProcessorDateRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorDateRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorDateRemapperOutput { + return i.ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorDateRemapperOutput) +} + +func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorDateRemapperOutput).ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorDateRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorDateRemapperArgs, LogsCustomPipelineProcessorDateRemapperPtr and LogsCustomPipelineProcessorDateRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorDateRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorDateRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorDateRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput + ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput +} + +type logsCustomPipelineProcessorDateRemapperPtrType LogsCustomPipelineProcessorDateRemapperArgs + +func LogsCustomPipelineProcessorDateRemapperPtr(v *LogsCustomPipelineProcessorDateRemapperArgs) LogsCustomPipelineProcessorDateRemapperPtrInput { + return (*logsCustomPipelineProcessorDateRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorDateRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorDateRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorDateRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorDateRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorDateRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorDateRemapper) *LogsCustomPipelineProcessorDateRemapper { + return &v + }).(LogsCustomPipelineProcessorDateRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorDateRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorDateRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorDateRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorDateRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorDateRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorDateRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorDateRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorDateRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) Elem() LogsCustomPipelineProcessorDateRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) LogsCustomPipelineProcessorDateRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorDateRemapper + return ret + }).(LogsCustomPipelineProcessorDateRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorGeoIpParser struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorGeoIpParserInput is an input type that accepts LogsCustomPipelineProcessorGeoIpParserArgs and LogsCustomPipelineProcessorGeoIpParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorGeoIpParserInput` via: +// +// LogsCustomPipelineProcessorGeoIpParserArgs{...} +type LogsCustomPipelineProcessorGeoIpParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorGeoIpParserOutput + ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(context.Context) LogsCustomPipelineProcessorGeoIpParserOutput +} + +type LogsCustomPipelineProcessorGeoIpParserArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorGeoIpParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorGeoIpParserOutput { + return i.ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGeoIpParserOutput) +} + +func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return i.ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGeoIpParserOutput).ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorGeoIpParserPtrInput is an input type that accepts LogsCustomPipelineProcessorGeoIpParserArgs, LogsCustomPipelineProcessorGeoIpParserPtr and LogsCustomPipelineProcessorGeoIpParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorGeoIpParserPtrInput` via: +// +// LogsCustomPipelineProcessorGeoIpParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorGeoIpParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput + ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput +} + +type logsCustomPipelineProcessorGeoIpParserPtrType LogsCustomPipelineProcessorGeoIpParserArgs + +func LogsCustomPipelineProcessorGeoIpParserPtr(v *LogsCustomPipelineProcessorGeoIpParserArgs) LogsCustomPipelineProcessorGeoIpParserPtrInput { + return (*logsCustomPipelineProcessorGeoIpParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorGeoIpParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return i.ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGeoIpParserPtrOutput) +} + +type LogsCustomPipelineProcessorGeoIpParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorGeoIpParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorGeoIpParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return o.ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorGeoIpParser) *LogsCustomPipelineProcessorGeoIpParser { + return &v + }).(LogsCustomPipelineProcessorGeoIpParserPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorGeoIpParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorGeoIpParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorGeoIpParserOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorGeoIpParserOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorGeoIpParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorGeoIpParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Elem() LogsCustomPipelineProcessorGeoIpParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) LogsCustomPipelineProcessorGeoIpParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorGeoIpParser + return ret + }).(LogsCustomPipelineProcessorGeoIpParserOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorGrokParser struct { + Grok LogsCustomPipelineProcessorGrokParserGrok `pulumi:"grok"` + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor + Name *string `pulumi:"name"` + // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. + Samples []string `pulumi:"samples"` + // Name of the log attribute to parse. + Source string `pulumi:"source"` +} + +// LogsCustomPipelineProcessorGrokParserInput is an input type that accepts LogsCustomPipelineProcessorGrokParserArgs and LogsCustomPipelineProcessorGrokParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserInput` via: +// +// LogsCustomPipelineProcessorGrokParserArgs{...} +type LogsCustomPipelineProcessorGrokParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorGrokParserOutput + ToLogsCustomPipelineProcessorGrokParserOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserOutput +} + +type LogsCustomPipelineProcessorGrokParserArgs struct { + Grok LogsCustomPipelineProcessorGrokParserGrokInput `pulumi:"grok"` + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. + Samples pulumi.StringArrayInput `pulumi:"samples"` + // Name of the log attribute to parse. + Source pulumi.StringInput `pulumi:"source"` +} + +func (LogsCustomPipelineProcessorGrokParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorGrokParserOutput { + return i.ToLogsCustomPipelineProcessorGrokParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserOutput) +} + +func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { + return i.ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserOutput).ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorGrokParserPtrInput is an input type that accepts LogsCustomPipelineProcessorGrokParserArgs, LogsCustomPipelineProcessorGrokParserPtr and LogsCustomPipelineProcessorGrokParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserPtrInput` via: +// +// LogsCustomPipelineProcessorGrokParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorGrokParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput + ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput +} + +type logsCustomPipelineProcessorGrokParserPtrType LogsCustomPipelineProcessorGrokParserArgs + +func LogsCustomPipelineProcessorGrokParserPtr(v *LogsCustomPipelineProcessorGrokParserArgs) LogsCustomPipelineProcessorGrokParserPtrInput { + return (*logsCustomPipelineProcessorGrokParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorGrokParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { + return i.ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserPtrOutput) +} + +type LogsCustomPipelineProcessorGrokParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorGrokParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorGrokParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { + return o.ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorGrokParser) *LogsCustomPipelineProcessorGrokParser { + return &v + }).(LogsCustomPipelineProcessorGrokParserPtrOutput) +} + +func (o LogsCustomPipelineProcessorGrokParserOutput) Grok() LogsCustomPipelineProcessorGrokParserGrokOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) LogsCustomPipelineProcessorGrokParserGrok { return v.Grok }).(LogsCustomPipelineProcessorGrokParserGrokOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorGrokParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorGrokParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. +func (o LogsCustomPipelineProcessorGrokParserOutput) Samples() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) []string { return v.Samples }).(pulumi.StringArrayOutput) +} + +// Name of the log attribute to parse. +func (o LogsCustomPipelineProcessorGrokParserOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) string { return v.Source }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorGrokParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorGrokParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Elem() LogsCustomPipelineProcessorGrokParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) LogsCustomPipelineProcessorGrokParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorGrokParser + return ret + }).(LogsCustomPipelineProcessorGrokParserOutput) +} + +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Grok() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *LogsCustomPipelineProcessorGrokParserGrok { + if v == nil { + return nil + } + return &v.Grok + }).(LogsCustomPipelineProcessorGrokParserGrokPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Samples() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) []string { + if v == nil { + return nil + } + return v.Samples + }).(pulumi.StringArrayOutput) +} + +// Name of the log attribute to parse. +func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorGrokParserGrok struct { + // Match rules for your grok parser. + MatchRules string `pulumi:"matchRules"` + // Support rules for your grok parser. + SupportRules string `pulumi:"supportRules"` +} + +// LogsCustomPipelineProcessorGrokParserGrokInput is an input type that accepts LogsCustomPipelineProcessorGrokParserGrokArgs and LogsCustomPipelineProcessorGrokParserGrokOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserGrokInput` via: +// +// LogsCustomPipelineProcessorGrokParserGrokArgs{...} +type LogsCustomPipelineProcessorGrokParserGrokInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorGrokParserGrokOutput + ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserGrokOutput +} + +type LogsCustomPipelineProcessorGrokParserGrokArgs struct { + // Match rules for your grok parser. + MatchRules pulumi.StringInput `pulumi:"matchRules"` + // Support rules for your grok parser. + SupportRules pulumi.StringInput `pulumi:"supportRules"` +} + +func (LogsCustomPipelineProcessorGrokParserGrokArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorGrokParserGrokOutput { + return i.ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserGrokOutput) +} + +func (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return i.ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserGrokOutput).ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorGrokParserGrokPtrInput is an input type that accepts LogsCustomPipelineProcessorGrokParserGrokArgs, LogsCustomPipelineProcessorGrokParserGrokPtr and LogsCustomPipelineProcessorGrokParserGrokPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserGrokPtrInput` via: +// +// LogsCustomPipelineProcessorGrokParserGrokArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorGrokParserGrokPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput + ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput +} + +type logsCustomPipelineProcessorGrokParserGrokPtrType LogsCustomPipelineProcessorGrokParserGrokArgs + +func LogsCustomPipelineProcessorGrokParserGrokPtr(v *LogsCustomPipelineProcessorGrokParserGrokArgs) LogsCustomPipelineProcessorGrokParserGrokPtrInput { + return (*logsCustomPipelineProcessorGrokParserGrokPtrType)(v) +} + +func (*logsCustomPipelineProcessorGrokParserGrokPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return i.ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserGrokPtrOutput) +} + +type LogsCustomPipelineProcessorGrokParserGrokOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorGrokParserGrokOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorGrokParserGrokOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return o.ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorGrokParserGrok) *LogsCustomPipelineProcessorGrokParserGrok { + return &v + }).(LogsCustomPipelineProcessorGrokParserGrokPtrOutput) +} + +// Match rules for your grok parser. +func (o LogsCustomPipelineProcessorGrokParserGrokOutput) MatchRules() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParserGrok) string { return v.MatchRules }).(pulumi.StringOutput) +} + +// Support rules for your grok parser. +func (o LogsCustomPipelineProcessorGrokParserGrokOutput) SupportRules() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParserGrok) string { return v.SupportRules }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorGrokParserGrokPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorGrokParserGrokPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) Elem() LogsCustomPipelineProcessorGrokParserGrokOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParserGrok) LogsCustomPipelineProcessorGrokParserGrok { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorGrokParserGrok + return ret + }).(LogsCustomPipelineProcessorGrokParserGrokOutput) +} + +// Match rules for your grok parser. +func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) MatchRules() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParserGrok) *string { + if v == nil { + return nil + } + return &v.MatchRules + }).(pulumi.StringPtrOutput) +} + +// Support rules for your grok parser. +func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) SupportRules() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParserGrok) *string { + if v == nil { + return nil + } + return &v.SupportRules + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorLookupProcessor struct { + // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. + DefaultLookup *string `pulumi:"defaultLookup"` + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // List of entries of the lookup table using `key,value` format. + LookupTables []string `pulumi:"lookupTables"` + // Name of the processor + Name *string `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source string `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorLookupProcessorArgs and LogsCustomPipelineProcessorLookupProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorLookupProcessorInput` via: +// +// LogsCustomPipelineProcessorLookupProcessorArgs{...} +type LogsCustomPipelineProcessorLookupProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorLookupProcessorOutput + ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorLookupProcessorOutput +} + +type LogsCustomPipelineProcessorLookupProcessorArgs struct { + // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. + DefaultLookup pulumi.StringPtrInput `pulumi:"defaultLookup"` + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // List of entries of the lookup table using `key,value` format. + LookupTables pulumi.StringArrayInput `pulumi:"lookupTables"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source pulumi.StringInput `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorLookupProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorLookupProcessorOutput { + return i.ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorLookupProcessorOutput) +} + +func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorLookupProcessorOutput).ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorLookupProcessorArgs, LogsCustomPipelineProcessorLookupProcessorPtr and LogsCustomPipelineProcessorLookupProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorLookupProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorLookupProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorLookupProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput + ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput +} + +type logsCustomPipelineProcessorLookupProcessorPtrType LogsCustomPipelineProcessorLookupProcessorArgs + +func LogsCustomPipelineProcessorLookupProcessorPtr(v *LogsCustomPipelineProcessorLookupProcessorArgs) LogsCustomPipelineProcessorLookupProcessorPtrInput { + return (*logsCustomPipelineProcessorLookupProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorLookupProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorLookupProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorLookupProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorLookupProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorLookupProcessor) *LogsCustomPipelineProcessorLookupProcessor { + return &v + }).(LogsCustomPipelineProcessorLookupProcessorPtrOutput) +} + +// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. +func (o LogsCustomPipelineProcessorLookupProcessorOutput) DefaultLookup() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) *string { return v.DefaultLookup }).(pulumi.StringPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// List of entries of the lookup table using `key,value` format. +func (o LogsCustomPipelineProcessorLookupProcessorOutput) LookupTables() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) []string { return v.LookupTables }).(pulumi.StringArrayOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorLookupProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorLookupProcessorOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) string { return v.Source }).(pulumi.StringOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorLookupProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorLookupProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorLookupProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorLookupProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) LogsCustomPipelineProcessorLookupProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorLookupProcessor + return ret + }).(LogsCustomPipelineProcessorLookupProcessorOutput) +} + +// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) DefaultLookup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return v.DefaultLookup + }).(pulumi.StringPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// List of entries of the lookup table using `key,value` format. +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) LookupTables() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) []string { + if v == nil { + return nil + } + return v.LookupTables + }).(pulumi.StringArrayOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorMessageRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorMessageRemapperInput is an input type that accepts LogsCustomPipelineProcessorMessageRemapperArgs and LogsCustomPipelineProcessorMessageRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorMessageRemapperInput` via: +// +// LogsCustomPipelineProcessorMessageRemapperArgs{...} +type LogsCustomPipelineProcessorMessageRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorMessageRemapperOutput + ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorMessageRemapperOutput +} + +type LogsCustomPipelineProcessorMessageRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorMessageRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorMessageRemapperOutput { + return i.ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorMessageRemapperOutput) +} + +func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorMessageRemapperOutput).ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorMessageRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorMessageRemapperArgs, LogsCustomPipelineProcessorMessageRemapperPtr and LogsCustomPipelineProcessorMessageRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorMessageRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorMessageRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorMessageRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput + ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput +} + +type logsCustomPipelineProcessorMessageRemapperPtrType LogsCustomPipelineProcessorMessageRemapperArgs + +func LogsCustomPipelineProcessorMessageRemapperPtr(v *LogsCustomPipelineProcessorMessageRemapperArgs) LogsCustomPipelineProcessorMessageRemapperPtrInput { + return (*logsCustomPipelineProcessorMessageRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorMessageRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorMessageRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorMessageRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorMessageRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorMessageRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorMessageRemapper) *LogsCustomPipelineProcessorMessageRemapper { + return &v + }).(LogsCustomPipelineProcessorMessageRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorMessageRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorMessageRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorMessageRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorMessageRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorMessageRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorMessageRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorMessageRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorMessageRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) Elem() LogsCustomPipelineProcessorMessageRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) LogsCustomPipelineProcessorMessageRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorMessageRemapper + return ret + }).(LogsCustomPipelineProcessorMessageRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipeline struct { + Filters []LogsCustomPipelineProcessorPipelineFilter `pulumi:"filters"` + IsEnabled *bool `pulumi:"isEnabled"` + Name string `pulumi:"name"` + Processors []LogsCustomPipelineProcessorPipelineProcessor `pulumi:"processors"` +} + +// LogsCustomPipelineProcessorPipelineInput is an input type that accepts LogsCustomPipelineProcessorPipelineArgs and LogsCustomPipelineProcessorPipelineOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineInput` via: +// +// LogsCustomPipelineProcessorPipelineArgs{...} +type LogsCustomPipelineProcessorPipelineInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineOutput() LogsCustomPipelineProcessorPipelineOutput + ToLogsCustomPipelineProcessorPipelineOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineOutput +} + +type LogsCustomPipelineProcessorPipelineArgs struct { + Filters LogsCustomPipelineProcessorPipelineFilterArrayInput `pulumi:"filters"` + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + Name pulumi.StringInput `pulumi:"name"` + Processors LogsCustomPipelineProcessorPipelineProcessorArrayInput `pulumi:"processors"` +} + +func (LogsCustomPipelineProcessorPipelineArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipeline)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelineOutput() LogsCustomPipelineProcessorPipelineOutput { + return i.ToLogsCustomPipelineProcessorPipelineOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelineOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineOutput) +} + +func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { + return i.ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineOutput).ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelinePtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineArgs, LogsCustomPipelineProcessorPipelinePtr and LogsCustomPipelineProcessorPipelinePtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelinePtrInput` via: +// +// LogsCustomPipelineProcessorPipelineArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelinePtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput + ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelinePtrOutput +} + +type logsCustomPipelineProcessorPipelinePtrType LogsCustomPipelineProcessorPipelineArgs + +func LogsCustomPipelineProcessorPipelinePtr(v *LogsCustomPipelineProcessorPipelineArgs) LogsCustomPipelineProcessorPipelinePtrInput { + return (*logsCustomPipelineProcessorPipelinePtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelinePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipeline)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelinePtrType) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { + return i.ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelinePtrType) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelinePtrOutput) +} + +type LogsCustomPipelineProcessorPipelineOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipeline)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelineOutput() LogsCustomPipelineProcessorPipelineOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelineOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { + return o.ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipeline) *LogsCustomPipelineProcessorPipeline { + return &v + }).(LogsCustomPipelineProcessorPipelinePtrOutput) +} + +func (o LogsCustomPipelineProcessorPipelineOutput) Filters() LogsCustomPipelineProcessorPipelineFilterArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineFilter { + return v.Filters + }).(LogsCustomPipelineProcessorPipelineFilterArrayOutput) +} + +func (o LogsCustomPipelineProcessorPipelineOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +func (o LogsCustomPipelineProcessorPipelineOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LogsCustomPipelineProcessorPipelineOutput) Processors() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineProcessor { + return v.Processors + }).(LogsCustomPipelineProcessorPipelineProcessorArrayOutput) +} + +type LogsCustomPipelineProcessorPipelinePtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelinePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipeline)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelinePtrOutput) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelinePtrOutput) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelinePtrOutput) Elem() LogsCustomPipelineProcessorPipelineOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) LogsCustomPipelineProcessorPipeline { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipeline + return ret + }).(LogsCustomPipelineProcessorPipelineOutput) +} + +func (o LogsCustomPipelineProcessorPipelinePtrOutput) Filters() LogsCustomPipelineProcessorPipelineFilterArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineFilter { + if v == nil { + return nil + } + return v.Filters + }).(LogsCustomPipelineProcessorPipelineFilterArrayOutput) +} + +func (o LogsCustomPipelineProcessorPipelinePtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +func (o LogsCustomPipelineProcessorPipelinePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +func (o LogsCustomPipelineProcessorPipelinePtrOutput) Processors() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineProcessor { + if v == nil { + return nil + } + return v.Processors + }).(LogsCustomPipelineProcessorPipelineProcessorArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineFilter struct { + // Filter criteria of the category. + Query string `pulumi:"query"` +} + +// LogsCustomPipelineProcessorPipelineFilterInput is an input type that accepts LogsCustomPipelineProcessorPipelineFilterArgs and LogsCustomPipelineProcessorPipelineFilterOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineFilterInput` via: +// +// LogsCustomPipelineProcessorPipelineFilterArgs{...} +type LogsCustomPipelineProcessorPipelineFilterInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineFilterOutput() LogsCustomPipelineProcessorPipelineFilterOutput + ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineFilterOutput +} + +type LogsCustomPipelineProcessorPipelineFilterArgs struct { + // Filter criteria of the category. + Query pulumi.StringInput `pulumi:"query"` +} + +func (LogsCustomPipelineProcessorPipelineFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineFilterArgs) ToLogsCustomPipelineProcessorPipelineFilterOutput() LogsCustomPipelineProcessorPipelineFilterOutput { + return i.ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineFilterArgs) ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineFilterOutput) +} + +// LogsCustomPipelineProcessorPipelineFilterArrayInput is an input type that accepts LogsCustomPipelineProcessorPipelineFilterArray and LogsCustomPipelineProcessorPipelineFilterArrayOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineFilterArrayInput` via: +// +// LogsCustomPipelineProcessorPipelineFilterArray{ LogsCustomPipelineProcessorPipelineFilterArgs{...} } +type LogsCustomPipelineProcessorPipelineFilterArrayInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineFilterArrayOutput() LogsCustomPipelineProcessorPipelineFilterArrayOutput + ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineFilterArrayOutput +} + +type LogsCustomPipelineProcessorPipelineFilterArray []LogsCustomPipelineProcessorPipelineFilterInput + +func (LogsCustomPipelineProcessorPipelineFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineFilterArray) ToLogsCustomPipelineProcessorPipelineFilterArrayOutput() LogsCustomPipelineProcessorPipelineFilterArrayOutput { + return i.ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineFilterArray) ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineFilterArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineFilterOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineFilterOutput) ToLogsCustomPipelineProcessorPipelineFilterOutput() LogsCustomPipelineProcessorPipelineFilterOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineFilterOutput) ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterOutput { + return o +} + +// Filter criteria of the category. +func (o LogsCustomPipelineProcessorPipelineFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineFilter) string { return v.Query }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineFilterArrayOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineFilterArrayOutput) ToLogsCustomPipelineProcessorPipelineFilterArrayOutput() LogsCustomPipelineProcessorPipelineFilterArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineFilterArrayOutput) ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineFilterArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorPipelineFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorPipelineFilter { + return vs[0].([]LogsCustomPipelineProcessorPipelineFilter)[vs[1].(int)] + }).(LogsCustomPipelineProcessorPipelineFilterOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessor struct { + // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) + ArithmeticProcessor *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor `pulumi:"arithmeticProcessor"` + // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) + AttributeRemapper *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper `pulumi:"attributeRemapper"` + // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) + CategoryProcessor *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor `pulumi:"categoryProcessor"` + // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) + DateRemapper *LogsCustomPipelineProcessorPipelineProcessorDateRemapper `pulumi:"dateRemapper"` + // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) + GeoIpParser *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser `pulumi:"geoIpParser"` + // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) + GrokParser *LogsCustomPipelineProcessorPipelineProcessorGrokParser `pulumi:"grokParser"` + // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + LookupProcessor *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor `pulumi:"lookupProcessor"` + // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) + MessageRemapper *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper `pulumi:"messageRemapper"` + // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + ReferenceTableLookupProcessor *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor `pulumi:"referenceTableLookupProcessor"` + // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) + ServiceRemapper *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper `pulumi:"serviceRemapper"` + // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) + StatusRemapper *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper `pulumi:"statusRemapper"` + // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) + StringBuilderProcessor *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor `pulumi:"stringBuilderProcessor"` + // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) + TraceIdRemapper *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper `pulumi:"traceIdRemapper"` + // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) + UrlParser *LogsCustomPipelineProcessorPipelineProcessorUrlParser `pulumi:"urlParser"` + // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) + UserAgentParser *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser `pulumi:"userAgentParser"` +} + +// LogsCustomPipelineProcessorPipelineProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorOutput + ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorArgs struct { + // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) + ArithmeticProcessor LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput `pulumi:"arithmeticProcessor"` + // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) + AttributeRemapper LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput `pulumi:"attributeRemapper"` + // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) + CategoryProcessor LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput `pulumi:"categoryProcessor"` + // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) + DateRemapper LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput `pulumi:"dateRemapper"` + // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) + GeoIpParser LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput `pulumi:"geoIpParser"` + // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) + GrokParser LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput `pulumi:"grokParser"` + // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + LookupProcessor LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput `pulumi:"lookupProcessor"` + // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) + MessageRemapper LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput `pulumi:"messageRemapper"` + // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) + ReferenceTableLookupProcessor LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput `pulumi:"referenceTableLookupProcessor"` + // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) + ServiceRemapper LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput `pulumi:"serviceRemapper"` + // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) + StatusRemapper LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput `pulumi:"statusRemapper"` + // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) + StringBuilderProcessor LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput `pulumi:"stringBuilderProcessor"` + // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) + TraceIdRemapper LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput `pulumi:"traceIdRemapper"` + // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) + UrlParser LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput `pulumi:"urlParser"` + // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) + UserAgentParser LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput `pulumi:"userAgentParser"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorOutput) +} + +// LogsCustomPipelineProcessorPipelineProcessorArrayInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArray and LogsCustomPipelineProcessorPipelineProcessorArrayOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorArrayInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorArray{ LogsCustomPipelineProcessorPipelineProcessorArgs{...} } +type LogsCustomPipelineProcessorPipelineProcessorArrayInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorArrayOutput() LogsCustomPipelineProcessorPipelineProcessorArrayOutput + ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorArrayOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorArray []LogsCustomPipelineProcessorPipelineProcessorInput + +func (LogsCustomPipelineProcessorPipelineProcessorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArray) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutput() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArray) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorOutput { + return o +} + +// Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ArithmeticProcessor() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor { + return v.ArithmeticProcessor + }).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) +} + +// Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) AttributeRemapper() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper { + return v.AttributeRemapper + }).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) +} + +// Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) CategoryProcessor() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor { + return v.CategoryProcessor + }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) +} + +// Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) DateRemapper() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorDateRemapper { + return v.DateRemapper + }).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) +} + +// Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) GeoIpParser() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser { + return v.GeoIpParser + }).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) +} + +// Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) GrokParser() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorGrokParser { + return v.GrokParser + }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) +} + +// Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) LookupProcessor() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor { + return v.LookupProcessor + }).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) +} + +// Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) MessageRemapper() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper { + return v.MessageRemapper + }).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) +} + +// Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ReferenceTableLookupProcessor() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor { + return v.ReferenceTableLookupProcessor + }).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) +} + +// Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ServiceRemapper() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper { + return v.ServiceRemapper + }).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) +} + +// Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) StatusRemapper() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper { + return v.StatusRemapper + }).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) +} + +// String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) StringBuilderProcessor() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor { + return v.StringBuilderProcessor + }).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) +} + +// Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) TraceIdRemapper() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper { + return v.TraceIdRemapper + }).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) +} + +// URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) UrlParser() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorUrlParser { + return v.UrlParser + }).(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) +} + +// User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) +func (o LogsCustomPipelineProcessorPipelineProcessorOutput) UserAgentParser() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser { + return v.UserAgentParser + }).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorArrayOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutput() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorPipelineProcessorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorPipelineProcessor { + return vs[0].([]LogsCustomPipelineProcessorPipelineProcessor)[vs[1].(int)] + }).(LogsCustomPipelineProcessorPipelineProcessorOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor struct { + // Arithmetic operation between one or more log attributes. + Expression string `pulumi:"expression"` + // Boolean value to enable your pipeline. + IsEnabled *bool `pulumi:"isEnabled"` + // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. + IsReplaceMissing *bool `pulumi:"isReplaceMissing"` + // Your pipeline name. + Name *string `pulumi:"name"` + // Name of the attribute that contains the result of the arithmetic operation. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput + ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs struct { + // Arithmetic operation between one or more log attributes. + Expression pulumi.StringInput `pulumi:"expression"` + // Boolean value to enable your pipeline. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. + IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` + // Your pipeline name. + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the attribute that contains the result of the arithmetic operation. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs + +func LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) +} + +// Arithmetic operation between one or more log attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) string { return v.Expression }).(pulumi.StringOutput) +} + +// Boolean value to enable your pipeline. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { + return v.IsReplaceMissing + }).(pulumi.BoolPtrOutput) +} + +// Your pipeline name. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the arithmetic operation. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) +} + +// Arithmetic operation between one or more log attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { + if v == nil { + return nil + } + return &v.Expression + }).(pulumi.StringPtrOutput) +} + +// Boolean value to enable your pipeline. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { + if v == nil { + return nil + } + return v.IsReplaceMissing + }).(pulumi.BoolPtrOutput) +} + +// Your pipeline name. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the arithmetic operation. +func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor + Name *string `pulumi:"name"` + // Override the target element if already set. + OverrideOnConflict *bool `pulumi:"overrideOnConflict"` + // Remove or preserve the remapped source element. + PreserveSource *bool `pulumi:"preserveSource"` + // Defines where the sources are from (log `attribute` or `tag`). + SourceType string `pulumi:"sourceType"` + // List of source attributes or tags. + Sources []string `pulumi:"sources"` + // Final attribute or tag name to remap the sources. + Target string `pulumi:"target"` + // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. + TargetFormat *string `pulumi:"targetFormat"` + // Defines if the target is a log `attribute` or `tag`. + TargetType string `pulumi:"targetType"` +} + +// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput + ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Override the target element if already set. + OverrideOnConflict pulumi.BoolPtrInput `pulumi:"overrideOnConflict"` + // Remove or preserve the remapped source element. + PreserveSource pulumi.BoolPtrInput `pulumi:"preserveSource"` + // Defines where the sources are from (log `attribute` or `tag`). + SourceType pulumi.StringInput `pulumi:"sourceType"` + // List of source attributes or tags. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Final attribute or tag name to remap the sources. + Target pulumi.StringInput `pulumi:"target"` + // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. + TargetFormat pulumi.StringPtrInput `pulumi:"targetFormat"` + // Defines if the target is a log `attribute` or `tag`. + TargetType pulumi.StringInput `pulumi:"targetType"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs + +func LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Override the target element if already set. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) OverrideOnConflict() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { + return v.OverrideOnConflict + }).(pulumi.BoolPtrOutput) +} + +// Remove or preserve the remapped source element. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) PreserveSource() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { return v.PreserveSource }).(pulumi.BoolPtrOutput) +} + +// Defines where the sources are from (log `attribute` or `tag`). +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) SourceType() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) string { return v.SourceType }).(pulumi.StringOutput) +} + +// List of source attributes or tags. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Final attribute or tag name to remap the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) string { return v.Target }).(pulumi.StringOutput) +} + +// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) TargetFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { return v.TargetFormat }).(pulumi.StringPtrOutput) +} + +// Defines if the target is a log `attribute` or `tag`. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) TargetType() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) string { return v.TargetType }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Override the target element if already set. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) OverrideOnConflict() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { + if v == nil { + return nil + } + return v.OverrideOnConflict + }).(pulumi.BoolPtrOutput) +} + +// Remove or preserve the remapped source element. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) PreserveSource() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { + if v == nil { + return nil + } + return v.PreserveSource + }).(pulumi.BoolPtrOutput) +} + +// Defines where the sources are from (log `attribute` or `tag`). +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) SourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return &v.SourceType + }).(pulumi.StringPtrOutput) +} + +// List of source attributes or tags. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Final attribute or tag name to remap the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) TargetFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return v.TargetFormat + }).(pulumi.StringPtrOutput) +} + +// Defines if the target is a log `attribute` or `tag`. +func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) TargetType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { + if v == nil { + return nil + } + return &v.TargetType + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor struct { + // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. + Categories []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory `pulumi:"categories"` + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the category + Name *string `pulumi:"name"` + // Name of the target attribute whose value is defined by the matching category. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs struct { + // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. + Categories LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput `pulumi:"categories"` + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the category + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the target attribute whose value is defined by the matching category. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs + +func LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) +} + +// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) Categories() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory { + return v.Categories + }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the category +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Name of the target attribute whose value is defined by the matching category. +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) +} + +// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Categories() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory { + if v == nil { + return nil + } + return v.Categories + }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the category +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the target attribute whose value is defined by the matching category. +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory struct { + Filter LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter `pulumi:"filter"` + Name string `pulumi:"name"` +} + +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs struct { + Filter LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput `pulumi:"filter"` + Name pulumi.StringInput `pulumi:"name"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) +} + +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray{ LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs{...} } +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) Filter() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter { + return v.Filter + }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory) string { return v.Name }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory { + return vs[0].([]LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)[vs[1].(int)] + }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter struct { + // Filter criteria of the category. + Query string `pulumi:"query"` +} + +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput + ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs struct { + // Filter criteria of the category. + Query pulumi.StringInput `pulumi:"query"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { + return o +} + +// Filter criteria of the category. +func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter) string { + return v.Query + }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorDateRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput + ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs + +func LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *LogsCustomPipelineProcessorPipelineProcessorDateRemapper { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) LogsCustomPipelineProcessorPipelineProcessorDateRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorDateRemapper + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGeoIpParser struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs and LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput + ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs, LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtr and LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs + +func LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) LogsCustomPipelineProcessorPipelineProcessorGeoIpParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorGeoIpParser + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParser struct { + Grok LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok `pulumi:"grok"` + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor + Name *string `pulumi:"name"` + // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. + Samples []string `pulumi:"samples"` + // Name of the log attribute to parse. + Source string `pulumi:"source"` +} + +// LogsCustomPipelineProcessorPipelineProcessorGrokParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs and LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorGrokParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs struct { + Grok LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput `pulumi:"grok"` + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. + Samples pulumi.StringArrayInput `pulumi:"samples"` + // Name of the log attribute to parse. + Source pulumi.StringInput `pulumi:"source"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs, LogsCustomPipelineProcessorPipelineProcessorGrokParserPtr and LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs + +func LogsCustomPipelineProcessorPipelineProcessorGrokParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorGrokParser) *LogsCustomPipelineProcessorPipelineProcessorGrokParser { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Grok() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { + return v.Grok + }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Samples() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) []string { return v.Samples }).(pulumi.StringArrayOutput) +} + +// Name of the log attribute to parse. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) string { return v.Source }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) LogsCustomPipelineProcessorPipelineProcessorGrokParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorGrokParser + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Grok() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { + if v == nil { + return nil + } + return &v.Grok + }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Samples() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) []string { + if v == nil { + return nil + } + return v.Samples + }).(pulumi.StringArrayOutput) +} + +// Name of the log attribute to parse. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok struct { + // Match rules for your grok parser. + MatchRules string `pulumi:"matchRules"` + // Support rules for your grok parser. + SupportRules string `pulumi:"supportRules"` +} + +// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs and LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs struct { + // Match rules for your grok parser. + MatchRules pulumi.StringInput `pulumi:"matchRules"` + // Support rules for your grok parser. + SupportRules pulumi.StringInput `pulumi:"supportRules"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput).ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs, LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtr and LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs + +func LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtr(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) +} + +// Match rules for your grok parser. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) MatchRules() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) string { return v.MatchRules }).(pulumi.StringOutput) +} + +// Support rules for your grok parser. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) SupportRules() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) string { return v.SupportRules }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) +} + +// Match rules for your grok parser. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) MatchRules() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) *string { + if v == nil { + return nil + } + return &v.MatchRules + }).(pulumi.StringPtrOutput) +} + +// Support rules for your grok parser. +func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) SupportRules() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) *string { + if v == nil { + return nil + } + return &v.SupportRules + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorLookupProcessor struct { + // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. + DefaultLookup *string `pulumi:"defaultLookup"` + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // List of entries of the lookup table using `key,value` format. + LookupTables []string `pulumi:"lookupTables"` + // Name of the processor + Name *string `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source string `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput + ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs struct { + // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. + DefaultLookup pulumi.StringPtrInput `pulumi:"defaultLookup"` + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // List of entries of the lookup table using `key,value` format. + LookupTables pulumi.StringArrayInput `pulumi:"lookupTables"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source pulumi.StringInput `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs + +func LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) +} + +// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) DefaultLookup() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { return v.DefaultLookup }).(pulumi.StringPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// List of entries of the lookup table using `key,value` format. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) LookupTables() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) []string { return v.LookupTables }).(pulumi.StringArrayOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) string { return v.Source }).(pulumi.StringOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) LogsCustomPipelineProcessorPipelineProcessorLookupProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorLookupProcessor + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) +} + +// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) DefaultLookup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return v.DefaultLookup + }).(pulumi.StringPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// List of entries of the lookup table using `key,value` format. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) LookupTables() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) []string { + if v == nil { + return nil + } + return v.LookupTables + }).(pulumi.StringArrayOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorMessageRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput + ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs + +func LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) LogsCustomPipelineProcessorPipelineProcessorMessageRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorMessageRemapper + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the Reference Table for the source attribute and their associated target attribute values. + LookupEnrichmentTable string `pulumi:"lookupEnrichmentTable"` + // Name of the processor + Name *string `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source string `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput + ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the Reference Table for the source attribute and their associated target attribute values. + LookupEnrichmentTable pulumi.StringInput `pulumi:"lookupEnrichmentTable"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source pulumi.StringInput `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs + +func LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *bool { + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the Reference Table for the source attribute and their associated target attribute values. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) LookupEnrichmentTable() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) string { + return v.LookupEnrichmentTable + }).(pulumi.StringOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) string { + return v.Source + }).(pulumi.StringOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) string { + return v.Target + }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the Reference Table for the source attribute and their associated target attribute values. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) LookupEnrichmentTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return &v.LookupEnrichmentTable + }).(pulumi.StringPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorServiceRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput + ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs + +func LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) LogsCustomPipelineProcessorPipelineProcessorServiceRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorServiceRemapper + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorStatusRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput + ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs + +func LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) LogsCustomPipelineProcessorPipelineProcessorStatusRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorStatusRemapper + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // If it replaces all missing attributes of template by an empty string. + IsReplaceMissing *bool `pulumi:"isReplaceMissing"` + // The name of the processor. + Name *string `pulumi:"name"` + // The name of the attribute that contains the result of the template. + Target string `pulumi:"target"` + // The formula with one or more attributes and raw text. + Template string `pulumi:"template"` +} + +// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput + ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // If it replaces all missing attributes of template by an empty string. + IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` + // The name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // The name of the attribute that contains the result of the template. + Target pulumi.StringInput `pulumi:"target"` + // The formula with one or more attributes and raw text. + Template pulumi.StringInput `pulumi:"template"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs + +func LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// If it replaces all missing attributes of template by an empty string. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { + return v.IsReplaceMissing + }).(pulumi.BoolPtrOutput) +} + +// The name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// The name of the attribute that contains the result of the template. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +// The formula with one or more attributes and raw text. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) Template() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) string { return v.Template }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// If it replaces all missing attributes of template by an empty string. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { + if v == nil { + return nil + } + return v.IsReplaceMissing + }).(pulumi.BoolPtrOutput) +} + +// The name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// The name of the attribute that contains the result of the template. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +// The formula with one or more attributes and raw text. +func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Template() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { + if v == nil { + return nil + } + return &v.Template + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput + ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs + +func LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorUrlParser struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor + Name *string `pulumi:"name"` + // Normalize the ending slashes or not. + NormalizeEndingSlashes *bool `pulumi:"normalizeEndingSlashes"` + // List of source attributes. + Sources []string `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorPipelineProcessorUrlParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs and LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUrlParserInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorUrlParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput + ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Normalize the ending slashes or not. + NormalizeEndingSlashes pulumi.BoolPtrInput `pulumi:"normalizeEndingSlashes"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs, LogsCustomPipelineProcessorPipelineProcessorUrlParserPtr and LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs + +func LogsCustomPipelineProcessorPipelineProcessorUrlParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *LogsCustomPipelineProcessorPipelineProcessorUrlParser { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Normalize the ending slashes or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { return v.NormalizeEndingSlashes }).(pulumi.BoolPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) LogsCustomPipelineProcessorPipelineProcessorUrlParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorUrlParser + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Normalize the ending slashes or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { + if v == nil { + return nil + } + return v.NormalizeEndingSlashes + }).(pulumi.BoolPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorUserAgentParser struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // If the source attribute is URL encoded or not. + IsEncoded *bool `pulumi:"isEncoded"` + // Name of the processor + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs and LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{...} +type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput + ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput +} + +type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // If the source attribute is URL encoded or not. + IsEncoded pulumi.BoolPtrInput `pulumi:"isEncoded"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs, LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtr and LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput` via: +// +// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput + ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput +} + +type logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs + +func LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput { + return (*logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return i.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return o.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser { + return &v + }).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// If the source attribute is URL encoded or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) IsEncoded() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { return v.IsEncoded }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) LogsCustomPipelineProcessorPipelineProcessorUserAgentParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorPipelineProcessorUserAgentParser + return ret + }).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// If the source attribute is URL encoded or not. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) IsEncoded() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { + if v == nil { + return nil + } + return v.IsEncoded + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorReferenceTableLookupProcessor struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the Reference Table for the source attribute and their associated target attribute values. + LookupEnrichmentTable string `pulumi:"lookupEnrichmentTable"` + // Name of the processor + Name *string `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source string `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorReferenceTableLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs and LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorReferenceTableLookupProcessorInput` via: +// +// LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{...} +type LogsCustomPipelineProcessorReferenceTableLookupProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput + ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput +} + +type LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the Reference Table for the source attribute and their associated target attribute values. + LookupEnrichmentTable pulumi.StringInput `pulumi:"lookupEnrichmentTable"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Name of the source attribute used to do the lookup. + Source pulumi.StringInput `pulumi:"source"` + // Name of the attribute that contains the result of the lookup. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { + return i.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) +} + +func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput).ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs, LogsCustomPipelineProcessorReferenceTableLookupProcessorPtr and LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput + ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput +} + +type logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs + +func LogsCustomPipelineProcessorReferenceTableLookupProcessorPtr(v *LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput { + return (*logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorReferenceTableLookupProcessor) *LogsCustomPipelineProcessorReferenceTableLookupProcessor { + return &v + }).(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the Reference Table for the source attribute and their associated target attribute values. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) LookupEnrichmentTable() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) string { + return v.LookupEnrichmentTable + }).(pulumi.StringOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) string { return v.Source }).(pulumi.StringOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) LogsCustomPipelineProcessorReferenceTableLookupProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorReferenceTableLookupProcessor + return ret + }).(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the Reference Table for the source attribute and their associated target attribute values. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) LookupEnrichmentTable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return &v.LookupEnrichmentTable + }).(pulumi.StringPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of the source attribute used to do the lookup. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Source + }).(pulumi.StringPtrOutput) +} + +// Name of the attribute that contains the result of the lookup. +func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorServiceRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorServiceRemapperInput is an input type that accepts LogsCustomPipelineProcessorServiceRemapperArgs and LogsCustomPipelineProcessorServiceRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorServiceRemapperInput` via: +// +// LogsCustomPipelineProcessorServiceRemapperArgs{...} +type LogsCustomPipelineProcessorServiceRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorServiceRemapperOutput + ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorServiceRemapperOutput +} + +type LogsCustomPipelineProcessorServiceRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorServiceRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorServiceRemapperOutput { + return i.ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorServiceRemapperOutput) +} + +func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorServiceRemapperOutput).ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorServiceRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorServiceRemapperArgs, LogsCustomPipelineProcessorServiceRemapperPtr and LogsCustomPipelineProcessorServiceRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorServiceRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorServiceRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorServiceRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput + ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput +} + +type logsCustomPipelineProcessorServiceRemapperPtrType LogsCustomPipelineProcessorServiceRemapperArgs + +func LogsCustomPipelineProcessorServiceRemapperPtr(v *LogsCustomPipelineProcessorServiceRemapperArgs) LogsCustomPipelineProcessorServiceRemapperPtrInput { + return (*logsCustomPipelineProcessorServiceRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorServiceRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorServiceRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorServiceRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorServiceRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorServiceRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorServiceRemapper) *LogsCustomPipelineProcessorServiceRemapper { + return &v + }).(LogsCustomPipelineProcessorServiceRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorServiceRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorServiceRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorServiceRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorServiceRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorServiceRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorServiceRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorServiceRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorServiceRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) Elem() LogsCustomPipelineProcessorServiceRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) LogsCustomPipelineProcessorServiceRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorServiceRemapper + return ret + }).(LogsCustomPipelineProcessorServiceRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorStatusRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorStatusRemapperInput is an input type that accepts LogsCustomPipelineProcessorStatusRemapperArgs and LogsCustomPipelineProcessorStatusRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorStatusRemapperInput` via: +// +// LogsCustomPipelineProcessorStatusRemapperArgs{...} +type LogsCustomPipelineProcessorStatusRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorStatusRemapperOutput + ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorStatusRemapperOutput +} + +type LogsCustomPipelineProcessorStatusRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorStatusRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorStatusRemapperOutput { + return i.ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStatusRemapperOutput) +} + +func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStatusRemapperOutput).ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorStatusRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorStatusRemapperArgs, LogsCustomPipelineProcessorStatusRemapperPtr and LogsCustomPipelineProcessorStatusRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorStatusRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorStatusRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorStatusRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput + ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput +} + +type logsCustomPipelineProcessorStatusRemapperPtrType LogsCustomPipelineProcessorStatusRemapperArgs + +func LogsCustomPipelineProcessorStatusRemapperPtr(v *LogsCustomPipelineProcessorStatusRemapperArgs) LogsCustomPipelineProcessorStatusRemapperPtrInput { + return (*logsCustomPipelineProcessorStatusRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorStatusRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStatusRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorStatusRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorStatusRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorStatusRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorStatusRemapper) *LogsCustomPipelineProcessorStatusRemapper { + return &v + }).(LogsCustomPipelineProcessorStatusRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorStatusRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStatusRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorStatusRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStatusRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorStatusRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStatusRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorStatusRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorStatusRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) Elem() LogsCustomPipelineProcessorStatusRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) LogsCustomPipelineProcessorStatusRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorStatusRemapper + return ret + }).(LogsCustomPipelineProcessorStatusRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorStringBuilderProcessor struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // If it replaces all missing attributes of template by an empty string. + IsReplaceMissing *bool `pulumi:"isReplaceMissing"` + // The name of the processor. + Name *string `pulumi:"name"` + // The name of the attribute that contains the result of the template. + Target string `pulumi:"target"` + // The formula with one or more attributes and raw text. + Template string `pulumi:"template"` +} + +// LogsCustomPipelineProcessorStringBuilderProcessorInput is an input type that accepts LogsCustomPipelineProcessorStringBuilderProcessorArgs and LogsCustomPipelineProcessorStringBuilderProcessorOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorStringBuilderProcessorInput` via: +// +// LogsCustomPipelineProcessorStringBuilderProcessorArgs{...} +type LogsCustomPipelineProcessorStringBuilderProcessorInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorStringBuilderProcessorOutput + ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorStringBuilderProcessorOutput +} + +type LogsCustomPipelineProcessorStringBuilderProcessorArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // If it replaces all missing attributes of template by an empty string. + IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` + // The name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // The name of the attribute that contains the result of the template. + Target pulumi.StringInput `pulumi:"target"` + // The formula with one or more attributes and raw text. + Template pulumi.StringInput `pulumi:"template"` +} + +func (LogsCustomPipelineProcessorStringBuilderProcessorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorStringBuilderProcessorOutput { + return i.ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStringBuilderProcessorOutput) +} + +func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStringBuilderProcessorOutput).ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorStringBuilderProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorStringBuilderProcessorArgs, LogsCustomPipelineProcessorStringBuilderProcessorPtr and LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorStringBuilderProcessorPtrInput` via: +// +// LogsCustomPipelineProcessorStringBuilderProcessorArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorStringBuilderProcessorPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput + ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput +} + +type logsCustomPipelineProcessorStringBuilderProcessorPtrType LogsCustomPipelineProcessorStringBuilderProcessorArgs + +func LogsCustomPipelineProcessorStringBuilderProcessorPtr(v *LogsCustomPipelineProcessorStringBuilderProcessorArgs) LogsCustomPipelineProcessorStringBuilderProcessorPtrInput { + return (*logsCustomPipelineProcessorStringBuilderProcessorPtrType)(v) +} + +func (*logsCustomPipelineProcessorStringBuilderProcessorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return i.ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) +} + +type LogsCustomPipelineProcessorStringBuilderProcessorOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorStringBuilderProcessorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorStringBuilderProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorOutput { + return o +} + +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return o.ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorStringBuilderProcessor) *LogsCustomPipelineProcessorStringBuilderProcessor { + return &v + }).(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// If it replaces all missing attributes of template by an empty string. +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) *bool { return v.IsReplaceMissing }).(pulumi.BoolPtrOutput) +} + +// The name of the processor. +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// The name of the attribute that contains the result of the template. +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) string { return v.Target }).(pulumi.StringOutput) +} + +// The formula with one or more attributes and raw text. +func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) Template() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) string { return v.Template }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Elem() LogsCustomPipelineProcessorStringBuilderProcessorOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) LogsCustomPipelineProcessorStringBuilderProcessor { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorStringBuilderProcessor + return ret + }).(LogsCustomPipelineProcessorStringBuilderProcessorOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// If it replaces all missing attributes of template by an empty string. +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *bool { + if v == nil { + return nil + } + return v.IsReplaceMissing + }).(pulumi.BoolPtrOutput) +} + +// The name of the processor. +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// The name of the attribute that contains the result of the template. +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +// The formula with one or more attributes and raw text. +func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Template() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *string { + if v == nil { + return nil + } + return &v.Template + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorTraceIdRemapper struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor. + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` +} + +// LogsCustomPipelineProcessorTraceIdRemapperInput is an input type that accepts LogsCustomPipelineProcessorTraceIdRemapperArgs and LogsCustomPipelineProcessorTraceIdRemapperOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorTraceIdRemapperInput` via: +// +// LogsCustomPipelineProcessorTraceIdRemapperArgs{...} +type LogsCustomPipelineProcessorTraceIdRemapperInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorTraceIdRemapperOutput + ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorTraceIdRemapperOutput +} + +type LogsCustomPipelineProcessorTraceIdRemapperArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor. + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` +} + +func (LogsCustomPipelineProcessorTraceIdRemapperArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorTraceIdRemapperOutput { + return i.ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorTraceIdRemapperOutput) +} + +func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorTraceIdRemapperOutput).ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorTraceIdRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorTraceIdRemapperArgs, LogsCustomPipelineProcessorTraceIdRemapperPtr and LogsCustomPipelineProcessorTraceIdRemapperPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorTraceIdRemapperPtrInput` via: +// +// LogsCustomPipelineProcessorTraceIdRemapperArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorTraceIdRemapperPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput + ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput +} + +type logsCustomPipelineProcessorTraceIdRemapperPtrType LogsCustomPipelineProcessorTraceIdRemapperArgs + +func LogsCustomPipelineProcessorTraceIdRemapperPtr(v *LogsCustomPipelineProcessorTraceIdRemapperArgs) LogsCustomPipelineProcessorTraceIdRemapperPtrInput { + return (*logsCustomPipelineProcessorTraceIdRemapperPtrType)(v) +} + +func (*logsCustomPipelineProcessorTraceIdRemapperPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return i.ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) +} + +type LogsCustomPipelineProcessorTraceIdRemapperOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorTraceIdRemapperOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorTraceIdRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperOutput { + return o +} + +func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return o.ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorTraceIdRemapper) *LogsCustomPipelineProcessorTraceIdRemapper { + return &v + }).(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorTraceIdRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorTraceIdRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorTraceIdRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorTraceIdRemapperPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) Elem() LogsCustomPipelineProcessorTraceIdRemapperOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) LogsCustomPipelineProcessorTraceIdRemapper { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorTraceIdRemapper + return ret + }).(LogsCustomPipelineProcessorTraceIdRemapperOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor. +func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +type LogsCustomPipelineProcessorUrlParser struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // Name of the processor + Name *string `pulumi:"name"` + // Normalize the ending slashes or not. + NormalizeEndingSlashes *bool `pulumi:"normalizeEndingSlashes"` + // List of source attributes. + Sources []string `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorUrlParserInput is an input type that accepts LogsCustomPipelineProcessorUrlParserArgs and LogsCustomPipelineProcessorUrlParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorUrlParserInput` via: +// +// LogsCustomPipelineProcessorUrlParserArgs{...} +type LogsCustomPipelineProcessorUrlParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorUrlParserOutput + ToLogsCustomPipelineProcessorUrlParserOutputWithContext(context.Context) LogsCustomPipelineProcessorUrlParserOutput +} + +type LogsCustomPipelineProcessorUrlParserArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // Normalize the ending slashes or not. + NormalizeEndingSlashes pulumi.BoolPtrInput `pulumi:"normalizeEndingSlashes"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorUrlParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorUrlParserOutput { + return i.ToLogsCustomPipelineProcessorUrlParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUrlParserOutput) +} + +func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { + return i.ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUrlParserOutput).ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorUrlParserPtrInput is an input type that accepts LogsCustomPipelineProcessorUrlParserArgs, LogsCustomPipelineProcessorUrlParserPtr and LogsCustomPipelineProcessorUrlParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorUrlParserPtrInput` via: +// +// LogsCustomPipelineProcessorUrlParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorUrlParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput + ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput +} + +type logsCustomPipelineProcessorUrlParserPtrType LogsCustomPipelineProcessorUrlParserArgs + +func LogsCustomPipelineProcessorUrlParserPtr(v *LogsCustomPipelineProcessorUrlParserArgs) LogsCustomPipelineProcessorUrlParserPtrInput { + return (*logsCustomPipelineProcessorUrlParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorUrlParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { + return i.ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUrlParserPtrOutput) +} + +type LogsCustomPipelineProcessorUrlParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorUrlParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorUrlParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { + return o.ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorUrlParser) *LogsCustomPipelineProcessorUrlParser { + return &v + }).(LogsCustomPipelineProcessorUrlParserPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorUrlParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorUrlParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Normalize the ending slashes or not. +func (o LogsCustomPipelineProcessorUrlParserOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) *bool { return v.NormalizeEndingSlashes }).(pulumi.BoolPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorUrlParserOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorUrlParserOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorUrlParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorUrlParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Elem() LogsCustomPipelineProcessorUrlParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) LogsCustomPipelineProcessorUrlParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorUrlParser + return ret + }).(LogsCustomPipelineProcessorUrlParserOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Normalize the ending slashes or not. +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *bool { + if v == nil { + return nil + } + return v.NormalizeEndingSlashes + }).(pulumi.BoolPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsCustomPipelineProcessorUserAgentParser struct { + // If the processor is enabled or not. + IsEnabled *bool `pulumi:"isEnabled"` + // If the source attribute is URL encoded or not. + IsEncoded *bool `pulumi:"isEncoded"` + // Name of the processor + Name *string `pulumi:"name"` + // List of source attributes. + Sources []string `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target string `pulumi:"target"` +} + +// LogsCustomPipelineProcessorUserAgentParserInput is an input type that accepts LogsCustomPipelineProcessorUserAgentParserArgs and LogsCustomPipelineProcessorUserAgentParserOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorUserAgentParserInput` via: +// +// LogsCustomPipelineProcessorUserAgentParserArgs{...} +type LogsCustomPipelineProcessorUserAgentParserInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorUserAgentParserOutput + ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(context.Context) LogsCustomPipelineProcessorUserAgentParserOutput +} + +type LogsCustomPipelineProcessorUserAgentParserArgs struct { + // If the processor is enabled or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // If the source attribute is URL encoded or not. + IsEncoded pulumi.BoolPtrInput `pulumi:"isEncoded"` + // Name of the processor + Name pulumi.StringPtrInput `pulumi:"name"` + // List of source attributes. + Sources pulumi.StringArrayInput `pulumi:"sources"` + // Name of the parent attribute that contains all the extracted details from the sources. + Target pulumi.StringInput `pulumi:"target"` +} + +func (LogsCustomPipelineProcessorUserAgentParserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorUserAgentParserOutput { + return i.ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUserAgentParserOutput) +} + +func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return i.ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +} + +func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUserAgentParserOutput).ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx) +} + +// LogsCustomPipelineProcessorUserAgentParserPtrInput is an input type that accepts LogsCustomPipelineProcessorUserAgentParserArgs, LogsCustomPipelineProcessorUserAgentParserPtr and LogsCustomPipelineProcessorUserAgentParserPtrOutput values. +// You can construct a concrete instance of `LogsCustomPipelineProcessorUserAgentParserPtrInput` via: +// +// LogsCustomPipelineProcessorUserAgentParserArgs{...} +// +// or: +// +// nil +type LogsCustomPipelineProcessorUserAgentParserPtrInput interface { + pulumi.Input + + ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput + ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput +} + +type logsCustomPipelineProcessorUserAgentParserPtrType LogsCustomPipelineProcessorUserAgentParserArgs + +func LogsCustomPipelineProcessorUserAgentParserPtr(v *LogsCustomPipelineProcessorUserAgentParserArgs) LogsCustomPipelineProcessorUserAgentParserPtrInput { + return (*logsCustomPipelineProcessorUserAgentParserPtrType)(v) +} + +func (*logsCustomPipelineProcessorUserAgentParserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (i *logsCustomPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return i.ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +} + +func (i *logsCustomPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUserAgentParserPtrOutput) +} + +type LogsCustomPipelineProcessorUserAgentParserOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorUserAgentParserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorUserAgentParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserOutput { + return o +} + +func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return o.ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +} + +func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorUserAgentParser) *LogsCustomPipelineProcessorUserAgentParser { + return &v + }).(LogsCustomPipelineProcessorUserAgentParserPtrOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorUserAgentParserOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + +// If the source attribute is URL encoded or not. +func (o LogsCustomPipelineProcessorUserAgentParserOutput) IsEncoded() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) *bool { return v.IsEncoded }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorUserAgentParserOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorUserAgentParserOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorUserAgentParserOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) string { return v.Target }).(pulumi.StringOutput) +} + +type LogsCustomPipelineProcessorUserAgentParserPtrOutput struct{ *pulumi.OutputState } + +func (LogsCustomPipelineProcessorUserAgentParserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +} + +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { + return o +} + +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Elem() LogsCustomPipelineProcessorUserAgentParserOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) LogsCustomPipelineProcessorUserAgentParser { + if v != nil { + return *v + } + var ret LogsCustomPipelineProcessorUserAgentParser + return ret + }).(LogsCustomPipelineProcessorUserAgentParserOutput) +} + +// If the processor is enabled or not. +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + +// If the source attribute is URL encoded or not. +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) IsEncoded() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *bool { + if v == nil { + return nil + } + return v.IsEncoded + }).(pulumi.BoolPtrOutput) +} + +// Name of the processor +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// List of source attributes. +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Sources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) []string { + if v == nil { + return nil + } + return v.Sources + }).(pulumi.StringArrayOutput) +} + +// Name of the parent attribute that contains all the extracted details from the sources. +func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *string { + if v == nil { + return nil + } + return &v.Target + }).(pulumi.StringPtrOutput) +} + +type LogsIndexDailyLimitReset struct { + // String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). + ResetTime string `pulumi:"resetTime"` + // String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). + ResetUtcOffset string `pulumi:"resetUtcOffset"` +} + +// LogsIndexDailyLimitResetInput is an input type that accepts LogsIndexDailyLimitResetArgs and LogsIndexDailyLimitResetOutput values. +// You can construct a concrete instance of `LogsIndexDailyLimitResetInput` via: +// +// LogsIndexDailyLimitResetArgs{...} +type LogsIndexDailyLimitResetInput interface { + pulumi.Input + + ToLogsIndexDailyLimitResetOutput() LogsIndexDailyLimitResetOutput + ToLogsIndexDailyLimitResetOutputWithContext(context.Context) LogsIndexDailyLimitResetOutput +} + +type LogsIndexDailyLimitResetArgs struct { + // String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). + ResetTime pulumi.StringInput `pulumi:"resetTime"` + // String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). + ResetUtcOffset pulumi.StringInput `pulumi:"resetUtcOffset"` +} + +func (LogsIndexDailyLimitResetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexDailyLimitReset)(nil)).Elem() +} + +func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetOutput() LogsIndexDailyLimitResetOutput { + return i.ToLogsIndexDailyLimitResetOutputWithContext(context.Background()) +} + +func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexDailyLimitResetOutput) +} + +func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { + return i.ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Background()) +} + +func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexDailyLimitResetOutput).ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx) +} + +// LogsIndexDailyLimitResetPtrInput is an input type that accepts LogsIndexDailyLimitResetArgs, LogsIndexDailyLimitResetPtr and LogsIndexDailyLimitResetPtrOutput values. +// You can construct a concrete instance of `LogsIndexDailyLimitResetPtrInput` via: +// +// LogsIndexDailyLimitResetArgs{...} +// +// or: +// +// nil +type LogsIndexDailyLimitResetPtrInput interface { + pulumi.Input + + ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput + ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Context) LogsIndexDailyLimitResetPtrOutput +} + +type logsIndexDailyLimitResetPtrType LogsIndexDailyLimitResetArgs + +func LogsIndexDailyLimitResetPtr(v *LogsIndexDailyLimitResetArgs) LogsIndexDailyLimitResetPtrInput { + return (*logsIndexDailyLimitResetPtrType)(v) +} + +func (*logsIndexDailyLimitResetPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsIndexDailyLimitReset)(nil)).Elem() +} + +func (i *logsIndexDailyLimitResetPtrType) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { + return i.ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Background()) +} + +func (i *logsIndexDailyLimitResetPtrType) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexDailyLimitResetPtrOutput) +} + +type LogsIndexDailyLimitResetOutput struct{ *pulumi.OutputState } + +func (LogsIndexDailyLimitResetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexDailyLimitReset)(nil)).Elem() +} + +func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetOutput() LogsIndexDailyLimitResetOutput { + return o +} + +func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetOutput { + return o +} + +func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { + return o.ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Background()) +} + +func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsIndexDailyLimitReset) *LogsIndexDailyLimitReset { + return &v + }).(LogsIndexDailyLimitResetPtrOutput) +} + +// String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). +func (o LogsIndexDailyLimitResetOutput) ResetTime() pulumi.StringOutput { + return o.ApplyT(func(v LogsIndexDailyLimitReset) string { return v.ResetTime }).(pulumi.StringOutput) +} + +// String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). +func (o LogsIndexDailyLimitResetOutput) ResetUtcOffset() pulumi.StringOutput { + return o.ApplyT(func(v LogsIndexDailyLimitReset) string { return v.ResetUtcOffset }).(pulumi.StringOutput) +} + +type LogsIndexDailyLimitResetPtrOutput struct{ *pulumi.OutputState } + +func (LogsIndexDailyLimitResetPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsIndexDailyLimitReset)(nil)).Elem() +} + +func (o LogsIndexDailyLimitResetPtrOutput) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { + return o +} + +func (o LogsIndexDailyLimitResetPtrOutput) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { + return o +} + +func (o LogsIndexDailyLimitResetPtrOutput) Elem() LogsIndexDailyLimitResetOutput { + return o.ApplyT(func(v *LogsIndexDailyLimitReset) LogsIndexDailyLimitReset { + if v != nil { + return *v + } + var ret LogsIndexDailyLimitReset + return ret + }).(LogsIndexDailyLimitResetOutput) +} + +// String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). +func (o LogsIndexDailyLimitResetPtrOutput) ResetTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsIndexDailyLimitReset) *string { + if v == nil { + return nil + } + return &v.ResetTime + }).(pulumi.StringPtrOutput) +} + +// String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). +func (o LogsIndexDailyLimitResetPtrOutput) ResetUtcOffset() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsIndexDailyLimitReset) *string { + if v == nil { + return nil + } + return &v.ResetUtcOffset + }).(pulumi.StringPtrOutput) } func init() { @@ -88185,10 +92603,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestFormulaArgs{}) @@ -88203,10 +92617,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestProcessQueryArgs{}) @@ -88223,10 +92633,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestQueryMetricQueryArgs{}) @@ -88239,20 +92645,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetCheckStatusDefinitionInput)(nil)).Elem(), DashboardWidgetCheckStatusDefinitionArgs{}) @@ -88265,10 +92663,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestApmStatsQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestApmStatsQueryArgs{}) @@ -88279,10 +92673,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestProcessQueryArgs{}) @@ -88291,20 +92681,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetDistributionDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetDistributionDefinitionRequestStyleArgs{}) @@ -88333,10 +92715,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryArgs{}) @@ -88351,10 +92729,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestQueryMetricQueryArgs{}) @@ -88367,16 +92741,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionStyleInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionStyleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionStylePtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionStyleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionViewInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionViewArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGeomapDefinitionViewPtrInput)(nil)).Elem(), DashboardWidgetGeomapDefinitionViewArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGroupByInput)(nil)).Elem(), DashboardWidgetGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGroupByArrayInput)(nil)).Elem(), DashboardWidgetGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGroupDefinitionInput)(nil)).Elem(), DashboardWidgetGroupDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGroupDefinitionPtrInput)(nil)).Elem(), DashboardWidgetGroupDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetGroupDefinitionWidgetInput)(nil)).Elem(), DashboardWidgetGroupDefinitionWidgetArgs{}) @@ -88395,10 +92769,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestFormulaArgs{}) @@ -88413,10 +92783,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestProcessQueryArgs{}) @@ -88433,10 +92799,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{}) @@ -88449,20 +92811,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHeatmapDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetHeatmapDefinitionRequestStyleArgs{}) @@ -88481,20 +92835,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillProcessQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillProcessQueryArgs{}) @@ -88503,20 +92849,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeArgs{}) @@ -88525,20 +92863,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeProcessQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeProcessQueryArgs{}) @@ -88547,20 +92877,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetHostmapDefinitionStyleInput)(nil)).Elem(), DashboardWidgetHostmapDefinitionStyleArgs{}) @@ -88604,10 +92926,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestApmStatsQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestApmStatsQueryArgs{}) @@ -88628,10 +92946,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestProcessQueryArgs{}) @@ -88648,10 +92962,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{}) @@ -88664,20 +92974,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionArgs{}) @@ -88690,20 +92992,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestConditionalFormatInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs{}) @@ -88720,10 +93014,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestProcessQueryArgs{}) @@ -88740,10 +93030,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{}) @@ -88756,20 +93042,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionTimeseriesBackgroundInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionTimeseriesBackgroundArgs{}) @@ -88804,10 +93082,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{}) @@ -88822,20 +93096,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXProcessQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXProcessQueryArgs{}) @@ -88844,20 +93110,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYArgs{}) @@ -88866,20 +93124,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYProcessQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYProcessQueryArgs{}) @@ -88888,20 +93138,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetScatterplotDefinitionXaxisInput)(nil)).Elem(), DashboardWidgetScatterplotDefinitionXaxisArgs{}) @@ -88952,20 +93194,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestFormulaArgs{}) @@ -88980,20 +93214,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestProcessQueryArgs{}) @@ -89010,10 +93236,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestQueryMetricQueryArgs{}) @@ -89026,20 +93248,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetSunburstDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetSunburstDefinitionRequestStyleArgs{}) @@ -89058,20 +93272,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestFormulaArgs{}) @@ -89086,10 +93292,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestMetadataInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestMetadataArgs{}) @@ -89098,10 +93300,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestProcessQueryArgs{}) @@ -89118,10 +93316,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{}) @@ -89134,12 +93328,234 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStylePtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxisInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRightYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRightYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxisInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxisPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionInput)(nil)).Elem(), DashboardWidgetToplistDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLinkInput)(nil)).Elem(), DashboardWidgetToplistDefinitionCustomLinkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLinkArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionCustomLinkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormatInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestConditionalFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimitInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStyleInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStylePtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionPtrInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLinkInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionCustomLinkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionCustomLinkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestArrayInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQueryInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTraceServiceDefinitionInput)(nil)).Elem(), DashboardWidgetTraceServiceDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTraceServiceDefinitionPtrInput)(nil)).Elem(), DashboardWidgetTraceServiceDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimitInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStyleInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetWidgetLayoutInput)(nil)).Elem(), DashboardWidgetWidgetLayoutArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetWidgetLayoutPtrInput)(nil)).Elem(), DashboardWidgetWidgetLayoutArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeRecurrenceInput)(nil)).Elem(), DowntimeRecurrenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeRecurrencePtrInput)(nil)).Elem(), DowntimeRecurrenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleMonitorIdentifierInput)(nil)).Elem(), DowntimeScheduleMonitorIdentifierArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleMonitorIdentifierPtrInput)(nil)).Elem(), DowntimeScheduleMonitorIdentifierArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleOneTimeScheduleInput)(nil)).Elem(), DowntimeScheduleOneTimeScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleOneTimeSchedulePtrInput)(nil)).Elem(), DowntimeScheduleOneTimeScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringScheduleInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringSchedulePtrInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrenceInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleRecurrenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrenceArrayInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleRecurrenceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpAllowlistEntryInput)(nil)).Elem(), IpAllowlistEntryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpAllowlistEntryArrayInput)(nil)).Elem(), IpAllowlistEntryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveAzureArchiveInput)(nil)).Elem(), LogsArchiveAzureArchiveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveAzureArchivePtrInput)(nil)).Elem(), LogsArchiveAzureArchiveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveGcsArchiveInput)(nil)).Elem(), LogsArchiveGcsArchiveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveGcsArchivePtrInput)(nil)).Elem(), LogsArchiveGcsArchiveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveS3ArchiveInput)(nil)).Elem(), LogsArchiveS3ArchiveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveS3ArchivePtrInput)(nil)).Elem(), LogsArchiveS3ArchiveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineFilterInput)(nil)).Elem(), LogsCustomPipelineFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineFilterArrayInput)(nil)).Elem(), LogsCustomPipelineFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorArithmeticProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorArithmeticProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorAttributeRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorAttributeRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorCategoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorDateRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorDateRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParserInput)(nil)).Elem(), LogsCustomPipelineProcessorGeoIpParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorGeoIpParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrokInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserGrokArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrokPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserGrokArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorMessageRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorMessageRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelinePtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilterInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilterArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorServiceRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorServiceRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorStatusRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorStatusRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorStringBuilderProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorStringBuilderProcessorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorTraceIdRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorTraceIdRemapperArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUrlParserInput)(nil)).Elem(), LogsCustomPipelineProcessorUrlParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUrlParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorUrlParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParserInput)(nil)).Elem(), LogsCustomPipelineProcessorUserAgentParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorUserAgentParserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsIndexDailyLimitResetInput)(nil)).Elem(), LogsIndexDailyLimitResetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LogsIndexDailyLimitResetPtrInput)(nil)).Elem(), LogsIndexDailyLimitResetArgs{}) pulumi.RegisterOutputType(ApmRetentionFilterFilterOutput{}) pulumi.RegisterOutputType(ApmRetentionFilterFilterPtrOutput{}) pulumi.RegisterOutputType(ChildOrganizationApiKeyOutput{}) @@ -89184,10 +93600,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestFormulaOutput{}) @@ -89202,10 +93614,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestProcessQueryOutput{}) @@ -89222,10 +93630,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestQueryMetricQueryOutput{}) @@ -89238,20 +93642,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetCheckStatusDefinitionOutput{}) @@ -89264,10 +93660,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestApmStatsQueryOutput{}) @@ -89278,10 +93670,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestProcessQueryOutput{}) @@ -89290,20 +93678,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetDistributionDefinitionRequestStyleOutput{}) @@ -89332,10 +93712,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryOutput{}) @@ -89350,10 +93726,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestQueryMetricQueryOutput{}) @@ -89366,16 +93738,16 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionStyleOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionStylePtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionViewOutput{}) pulumi.RegisterOutputType(DashboardWidgetGeomapDefinitionViewPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetGroupByOutput{}) + pulumi.RegisterOutputType(DashboardWidgetGroupByArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGroupDefinitionOutput{}) pulumi.RegisterOutputType(DashboardWidgetGroupDefinitionPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetGroupDefinitionWidgetOutput{}) @@ -89394,10 +93766,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestFormulaOutput{}) @@ -89412,10 +93780,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestProcessQueryOutput{}) @@ -89432,10 +93796,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestQueryMetricQueryOutput{}) @@ -89448,20 +93808,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHeatmapDefinitionRequestStyleOutput{}) @@ -89480,20 +93832,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillProcessQueryOutput{}) @@ -89502,20 +93846,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeOutput{}) @@ -89524,20 +93860,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeProcessQueryOutput{}) @@ -89546,20 +93874,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetHostmapDefinitionStyleOutput{}) @@ -89603,10 +93923,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestApmStatsQueryOutput{}) @@ -89627,10 +93943,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestProcessQueryOutput{}) @@ -89647,10 +93959,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryMetricQueryOutput{}) @@ -89663,20 +93971,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionOutput{}) @@ -89689,20 +93989,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestConditionalFormatOutput{}) @@ -89719,10 +94011,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestProcessQueryOutput{}) @@ -89739,10 +94027,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestQueryMetricQueryOutput{}) @@ -89755,20 +94039,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionTimeseriesBackgroundOutput{}) @@ -89803,10 +94079,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput{}) @@ -89821,20 +94093,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXProcessQueryOutput{}) @@ -89843,20 +94107,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYOutput{}) @@ -89865,20 +94121,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYProcessQueryOutput{}) @@ -89887,20 +94135,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetScatterplotDefinitionXaxisOutput{}) @@ -89951,20 +94191,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestFormulaOutput{}) @@ -89979,20 +94211,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestProcessQueryOutput{}) @@ -90009,10 +94233,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestQueryMetricQueryOutput{}) @@ -90025,20 +94245,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetSunburstDefinitionRequestStyleOutput{}) @@ -90057,20 +94269,12 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestFormulaOutput{}) @@ -90085,10 +94289,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestMetadataOutput{}) @@ -90097,10 +94297,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestProcessQueryOutput{}) @@ -90117,10 +94313,6 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput{}) @@ -90133,10 +94325,232 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput{}) pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestStyleOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRightYaxisOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionYaxisOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionYaxisPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionCustomLinkOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionCustomLinkArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestConditionalFormatOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestProcessQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestStyleOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestStylePtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionCustomLinkOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTraceServiceDefinitionOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTraceServiceDefinitionPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput{}) + pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetWidgetLayoutOutput{}) + pulumi.RegisterOutputType(DashboardWidgetWidgetLayoutPtrOutput{}) + pulumi.RegisterOutputType(DowntimeRecurrenceOutput{}) + pulumi.RegisterOutputType(DowntimeRecurrencePtrOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleMonitorIdentifierOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleMonitorIdentifierPtrOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleOneTimeScheduleOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleOneTimeSchedulePtrOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleRecurringScheduleOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleRecurringSchedulePtrOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleRecurringScheduleRecurrenceOutput{}) + pulumi.RegisterOutputType(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput{}) + pulumi.RegisterOutputType(IpAllowlistEntryOutput{}) + pulumi.RegisterOutputType(IpAllowlistEntryArrayOutput{}) + pulumi.RegisterOutputType(LogsArchiveAzureArchiveOutput{}) + pulumi.RegisterOutputType(LogsArchiveAzureArchivePtrOutput{}) + pulumi.RegisterOutputType(LogsArchiveGcsArchiveOutput{}) + pulumi.RegisterOutputType(LogsArchiveGcsArchivePtrOutput{}) + pulumi.RegisterOutputType(LogsArchiveS3ArchiveOutput{}) + pulumi.RegisterOutputType(LogsArchiveS3ArchivePtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineFilterOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineFilterArrayOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorArrayOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorArithmeticProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorAttributeRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorAttributeRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorCategoryOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorDateRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorDateRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorGeoIpParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorGeoIpParserPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserGrokOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserGrokPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorLookupProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorLookupProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorMessageRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorMessageRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelinePtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineFilterOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineFilterArrayOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorArrayOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorServiceRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorServiceRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorStatusRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorStatusRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorStringBuilderProcessorOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorTraceIdRemapperOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorUrlParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorUrlParserPtrOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorUserAgentParserOutput{}) + pulumi.RegisterOutputType(LogsCustomPipelineProcessorUserAgentParserPtrOutput{}) + pulumi.RegisterOutputType(LogsIndexDailyLimitResetOutput{}) + pulumi.RegisterOutputType(LogsIndexDailyLimitResetPtrOutput{}) } diff --git a/sdk/go/datadog/pulumiTypes1.go b/sdk/go/datadog/pulumiTypes1.go index 70bdad559..79e0bd7ac 100644 --- a/sdk/go/datadog/pulumiTypes1.go +++ b/sdk/go/datadog/pulumiTypes1.go @@ -13,8114 +13,6798 @@ import ( var _ = internal.GetEnvOrDefault -type DashboardWidgetTimeseriesDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy `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 []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type LogsIndexExclusionFilter struct { + Filters []LogsIndexExclusionFilterFilter `pulumi:"filters"` + // A boolean stating if the exclusion is active or not. + IsEnabled *bool `pulumi:"isEnabled"` + // The name of the exclusion filter. + Name *string `pulumi:"name"` } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput` via: +// LogsIndexExclusionFilterInput is an input type that accepts LogsIndexExclusionFilterArgs and LogsIndexExclusionFilterOutput values. +// You can construct a concrete instance of `LogsIndexExclusionFilterInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput interface { +// LogsIndexExclusionFilterArgs{...} +type LogsIndexExclusionFilterInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput `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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() + ToLogsIndexExclusionFilterOutput() LogsIndexExclusionFilterOutput + ToLogsIndexExclusionFilterOutputWithContext(context.Context) LogsIndexExclusionFilterOutput } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +type LogsIndexExclusionFilterArgs struct { + Filters LogsIndexExclusionFilterFilterArrayInput `pulumi:"filters"` + // A boolean stating if the exclusion is active or not. + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + // The name of the exclusion filter. + Name pulumi.StringPtrInput `pulumi:"name"` } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) +func (LogsIndexExclusionFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexExclusionFilter)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i LogsIndexExclusionFilterArgs) ToLogsIndexExclusionFilterOutput() LogsIndexExclusionFilterOutput { + return i.ToLogsIndexExclusionFilterOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i LogsIndexExclusionFilterArgs) ToLogsIndexExclusionFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterOutput) } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs, DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtr and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} -// -// or: +// LogsIndexExclusionFilterArrayInput is an input type that accepts LogsIndexExclusionFilterArray and LogsIndexExclusionFilterArrayOutput values. +// You can construct a concrete instance of `LogsIndexExclusionFilterArrayInput` via: // -// nil -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput interface { +// LogsIndexExclusionFilterArray{ LogsIndexExclusionFilterArgs{...} } +type LogsIndexExclusionFilterArrayInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput + ToLogsIndexExclusionFilterArrayOutput() LogsIndexExclusionFilterArrayOutput + ToLogsIndexExclusionFilterArrayOutputWithContext(context.Context) LogsIndexExclusionFilterArrayOutput } -type dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs - -func DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType)(v) -} +type LogsIndexExclusionFilterArray []LogsIndexExclusionFilterInput -func (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +func (LogsIndexExclusionFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsIndexExclusionFilter)(nil)).Elem() } -func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i LogsIndexExclusionFilterArray) ToLogsIndexExclusionFilterArrayOutput() LogsIndexExclusionFilterArrayOutput { + return i.ToLogsIndexExclusionFilterArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) +func (i LogsIndexExclusionFilterArray) ToLogsIndexExclusionFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterArrayOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type LogsIndexExclusionFilterOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +func (LogsIndexExclusionFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexExclusionFilter)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { +func (o LogsIndexExclusionFilterOutput) ToLogsIndexExclusionFilterOutput() LogsIndexExclusionFilterOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { +func (o LogsIndexExclusionFilterOutput) ToLogsIndexExclusionFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ComputeQuery() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +func (o LogsIndexExclusionFilterOutput) Filters() LogsIndexExclusionFilterFilterArrayOutput { + return o.ApplyT(func(v LogsIndexExclusionFilter) []LogsIndexExclusionFilterFilter { return v.Filters }).(LogsIndexExclusionFilterFilterArrayOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) MultiComputes() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) +// A boolean stating if the exclusion is active or not. +func (o LogsIndexExclusionFilterOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsIndexExclusionFilter) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) } -// The search query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The name of the exclusion filter. +func (o LogsIndexExclusionFilterOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsIndexExclusionFilter) *string { return v.Name }).(pulumi.StringPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type LogsIndexExclusionFilterArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +func (LogsIndexExclusionFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsIndexExclusionFilter)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { +func (o LogsIndexExclusionFilterArrayOutput) ToLogsIndexExclusionFilterArrayOutput() LogsIndexExclusionFilterArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { +func (o LogsIndexExclusionFilterArrayOutput) ToLogsIndexExclusionFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) DashboardWidgetTimeseriesDefinitionRequestSecurityQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestSecurityQuery - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *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 DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) MultiComputes() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +func (o LogsIndexExclusionFilterArrayOutput) Index(i pulumi.IntInput) LogsIndexExclusionFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsIndexExclusionFilter { + return vs[0].([]LogsIndexExclusionFilter)[vs[1].(int)] + }).(LogsIndexExclusionFilterOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery 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"` +type LogsIndexExclusionFilterFilter struct { + // Only logs matching the filter criteria and the query of the parent index will be considered for this exclusion filter. + Query *string `pulumi:"query"` + // The fraction of logs excluded by the exclusion filter, when active. + SampleRate *float64 `pulumi:"sampleRate"` } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput` via: +// LogsIndexExclusionFilterFilterInput is an input type that accepts LogsIndexExclusionFilterFilterArgs and LogsIndexExclusionFilterFilterOutput values. +// You can construct a concrete instance of `LogsIndexExclusionFilterFilterInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput interface { +// LogsIndexExclusionFilterFilterArgs{...} +type LogsIndexExclusionFilterFilterInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs 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 (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() + ToLogsIndexExclusionFilterFilterOutput() LogsIndexExclusionFilterFilterOutput + ToLogsIndexExclusionFilterFilterOutputWithContext(context.Context) LogsIndexExclusionFilterFilterOutput } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +type LogsIndexExclusionFilterFilterArgs struct { + // Only logs matching the filter criteria and the query of the parent index will be considered for this exclusion filter. + Query pulumi.StringPtrInput `pulumi:"query"` + // The fraction of logs excluded by the exclusion filter, when active. + SampleRate pulumi.Float64PtrInput `pulumi:"sampleRate"` } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) +func (LogsIndexExclusionFilterFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexExclusionFilterFilter)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i LogsIndexExclusionFilterFilterArgs) ToLogsIndexExclusionFilterFilterOutput() LogsIndexExclusionFilterFilterOutput { + return i.ToLogsIndexExclusionFilterFilterOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i LogsIndexExclusionFilterFilterArgs) ToLogsIndexExclusionFilterFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterFilterOutput) } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs, DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: +// LogsIndexExclusionFilterFilterArrayInput is an input type that accepts LogsIndexExclusionFilterFilterArray and LogsIndexExclusionFilterFilterArrayOutput values. +// You can construct a concrete instance of `LogsIndexExclusionFilterFilterArrayInput` via: // -// nil -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +// LogsIndexExclusionFilterFilterArray{ LogsIndexExclusionFilterFilterArgs{...} } +type LogsIndexExclusionFilterFilterArrayInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToLogsIndexExclusionFilterFilterArrayOutput() LogsIndexExclusionFilterFilterArrayOutput + ToLogsIndexExclusionFilterFilterArrayOutputWithContext(context.Context) LogsIndexExclusionFilterFilterArrayOutput } -type dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs - -func DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType)(v) -} +type LogsIndexExclusionFilterFilterArray []LogsIndexExclusionFilterFilterInput -func (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (LogsIndexExclusionFilterFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsIndexExclusionFilterFilter)(nil)).Elem() } -func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i LogsIndexExclusionFilterFilterArray) ToLogsIndexExclusionFilterFilterArrayOutput() LogsIndexExclusionFilterFilterArrayOutput { + return i.ToLogsIndexExclusionFilterFilterArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i LogsIndexExclusionFilterFilterArray) ToLogsIndexExclusionFilterFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterFilterArrayOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type LogsIndexExclusionFilterFilterOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (LogsIndexExclusionFilterFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexExclusionFilterFilter)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { +func (o LogsIndexExclusionFilterFilterOutput) ToLogsIndexExclusionFilterFilterOutput() LogsIndexExclusionFilterFilterOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { +func (o LogsIndexExclusionFilterFilterOutput) ToLogsIndexExclusionFilterFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Only logs matching the filter criteria and the query of the parent index will be considered for this exclusion filter. +func (o LogsIndexExclusionFilterFilterOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsIndexExclusionFilterFilter) *string { return v.Query }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The fraction of logs excluded by the exclusion filter, when active. +func (o LogsIndexExclusionFilterFilterOutput) SampleRate() pulumi.Float64PtrOutput { + return o.ApplyT(func(v LogsIndexExclusionFilterFilter) *float64 { return v.SampleRate }).(pulumi.Float64PtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type LogsIndexExclusionFilterFilterArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (LogsIndexExclusionFilterFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsIndexExclusionFilterFilter)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o LogsIndexExclusionFilterFilterArrayOutput) ToLogsIndexExclusionFilterFilterArrayOutput() LogsIndexExclusionFilterFilterArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o LogsIndexExclusionFilterFilterArrayOutput) ToLogsIndexExclusionFilterFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +func (o LogsIndexExclusionFilterFilterArrayOutput) Index(i pulumi.IntInput) LogsIndexExclusionFilterFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsIndexExclusionFilterFilter { + return vs[0].([]LogsIndexExclusionFilterFilter)[vs[1].(int)] + }).(LogsIndexExclusionFilterFilterOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +type LogsIndexFilter struct { + // Logs filter criteria. Only logs matching this filter criteria are considered for this index. + Query string `pulumi:"query"` } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput` via: +// LogsIndexFilterInput is an input type that accepts LogsIndexFilterArgs and LogsIndexFilterOutput values. +// You can construct a concrete instance of `LogsIndexFilterInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput interface { +// LogsIndexFilterArgs{...} +type LogsIndexFilterInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput + ToLogsIndexFilterOutput() LogsIndexFilterOutput + ToLogsIndexFilterOutputWithContext(context.Context) LogsIndexFilterOutput } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type LogsIndexFilterArgs struct { + // Logs filter criteria. Only logs matching this filter criteria are considered for this index. + Query pulumi.StringInput `pulumi:"query"` } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (LogsIndexFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexFilter)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i LogsIndexFilterArgs) ToLogsIndexFilterOutput() LogsIndexFilterOutput { + return i.ToLogsIndexFilterOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) +func (i LogsIndexFilterArgs) ToLogsIndexFilterOutputWithContext(ctx context.Context) LogsIndexFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexFilterOutput) } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput` via: +// LogsIndexFilterArrayInput is an input type that accepts LogsIndexFilterArray and LogsIndexFilterArrayOutput values. +// You can construct a concrete instance of `LogsIndexFilterArrayInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput interface { +// LogsIndexFilterArray{ LogsIndexFilterArgs{...} } +type LogsIndexFilterArrayInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput + ToLogsIndexFilterArrayOutput() LogsIndexFilterArrayOutput + ToLogsIndexFilterArrayOutputWithContext(context.Context) LogsIndexFilterArrayOutput } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput +type LogsIndexFilterArray []LogsIndexFilterInput -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (LogsIndexFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsIndexFilter)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i LogsIndexFilterArray) ToLogsIndexFilterArrayOutput() LogsIndexFilterArrayOutput { + return i.ToLogsIndexFilterArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i LogsIndexFilterArray) ToLogsIndexFilterArrayOutputWithContext(ctx context.Context) LogsIndexFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsIndexFilterArrayOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type LogsIndexFilterOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (LogsIndexFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsIndexFilter)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { +func (o LogsIndexFilterOutput) ToLogsIndexFilterOutput() LogsIndexFilterOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { +func (o LogsIndexFilterOutput) ToLogsIndexFilterOutputWithContext(ctx context.Context) LogsIndexFilterOutput { return o } -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// Logs filter criteria. Only logs matching this filter criteria are considered for this index. +func (o LogsIndexFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v LogsIndexFilter) string { return v.Query }).(pulumi.StringOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type LogsIndexFilterArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (LogsIndexFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsIndexFilter)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o LogsIndexFilterArrayOutput) ToLogsIndexFilterArrayOutput() LogsIndexFilterArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o LogsIndexFilterArrayOutput) ToLogsIndexFilterArrayOutputWithContext(ctx context.Context) LogsIndexFilterArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) +func (o LogsIndexFilterArrayOutput) Index(i pulumi.IntInput) LogsIndexFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsIndexFilter { + return vs[0].([]LogsIndexFilter)[vs[1].(int)] + }).(LogsIndexFilterOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type LogsMetricCompute struct { + // The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. + AggregationType string `pulumi:"aggregationType"` + // Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. + IncludePercentiles *bool `pulumi:"includePercentiles"` + // The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. + Path *string `pulumi:"path"` } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// LogsMetricComputeInput is an input type that accepts LogsMetricComputeArgs and LogsMetricComputeOutput values. +// You can construct a concrete instance of `LogsMetricComputeInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// LogsMetricComputeArgs{...} +type LogsMetricComputeInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToLogsMetricComputeOutput() LogsMetricComputeOutput + ToLogsMetricComputeOutputWithContext(context.Context) LogsMetricComputeOutput } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type LogsMetricComputeArgs struct { + // The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. + AggregationType pulumi.StringInput `pulumi:"aggregationType"` + // Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. + IncludePercentiles pulumi.BoolPtrInput `pulumi:"includePercentiles"` + // The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. + Path pulumi.StringPtrInput `pulumi:"path"` } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (LogsMetricComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsMetricCompute)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i LogsMetricComputeArgs) ToLogsMetricComputeOutput() LogsMetricComputeOutput { + return i.ToLogsMetricComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i LogsMetricComputeArgs) ToLogsMetricComputeOutputWithContext(ctx context.Context) LogsMetricComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricComputeOutput) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i LogsMetricComputeArgs) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { + return i.ToLogsMetricComputePtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i LogsMetricComputeArgs) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricComputeOutput).ToLogsMetricComputePtrOutputWithContext(ctx) } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// LogsMetricComputePtrInput is an input type that accepts LogsMetricComputeArgs, LogsMetricComputePtr and LogsMetricComputePtrOutput values. +// You can construct a concrete instance of `LogsMetricComputePtrInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// LogsMetricComputeArgs{...} // // or: // // nil -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type LogsMetricComputePtrInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput + ToLogsMetricComputePtrOutputWithContext(context.Context) LogsMetricComputePtrOutput } -type dashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs +type logsMetricComputePtrType LogsMetricComputeArgs -func DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func LogsMetricComputePtr(v *LogsMetricComputeArgs) LogsMetricComputePtrInput { + return (*logsMetricComputePtrType)(v) } -func (*dashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*logsMetricComputePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsMetricCompute)(nil)).Elem() } -func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *logsMetricComputePtrType) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { + return i.ToLogsMetricComputePtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *logsMetricComputePtrType) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricComputePtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type LogsMetricComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (LogsMetricComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsMetricCompute)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o LogsMetricComputeOutput) ToLogsMetricComputeOutput() LogsMetricComputeOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o LogsMetricComputeOutput) ToLogsMetricComputeOutputWithContext(ctx context.Context) LogsMetricComputeOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o LogsMetricComputeOutput) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { + return o.ToLogsMetricComputePtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { +func (o LogsMetricComputeOutput) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsMetricCompute) *LogsMetricCompute { return &v - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(LogsMetricComputePtrOutput) } -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. +func (o LogsMetricComputeOutput) AggregationType() pulumi.StringOutput { + return o.ApplyT(func(v LogsMetricCompute) string { return v.AggregationType }).(pulumi.StringOutput) } -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) +// Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. +func (o LogsMetricComputeOutput) IncludePercentiles() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LogsMetricCompute) *bool { return v.IncludePercentiles }).(pulumi.BoolPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. +func (o LogsMetricComputeOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogsMetricCompute) *string { return v.Path }).(pulumi.StringPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type LogsMetricComputePtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (LogsMetricComputePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsMetricCompute)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o LogsMetricComputePtrOutput) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o LogsMetricComputePtrOutput) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { +func (o LogsMetricComputePtrOutput) Elem() LogsMetricComputeOutput { + return o.ApplyT(func(v *LogsMetricCompute) LogsMetricCompute { if v != nil { return *v } - var ret DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery + var ret LogsMetricCompute return ret - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(LogsMetricComputeOutput) } -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. +func (o LogsMetricComputePtrOutput) AggregationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsMetricCompute) *string { if v == nil { return nil } - return &v.Aggregation + return &v.AggregationType }).(pulumi.StringPtrOutput) } -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. +func (o LogsMetricComputePtrOutput) IncludePercentiles() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogsMetricCompute) *bool { if v == nil { return nil } - return v.Facet - }).(pulumi.StringPtrOutput) + return v.IncludePercentiles + }).(pulumi.BoolPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. +func (o LogsMetricComputePtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsMetricCompute) *string { if v == nil { return nil } - return &v.Order + return v.Path }).(pulumi.StringPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute 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"` +type LogsMetricFilter struct { + // The search query - following the log search syntax. + Query string `pulumi:"query"` } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput` via: +// LogsMetricFilterInput is an input type that accepts LogsMetricFilterArgs and LogsMetricFilterOutput values. +// You can construct a concrete instance of `LogsMetricFilterInput` via: // -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput interface { +// LogsMetricFilterArgs{...} +type LogsMetricFilterInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput -} - -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs 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 (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() + ToLogsMetricFilterOutput() LogsMetricFilterOutput + ToLogsMetricFilterOutputWithContext(context.Context) LogsMetricFilterOutput } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +type LogsMetricFilterArgs struct { + // The search query - following the log search syntax. + Query pulumi.StringInput `pulumi:"query"` } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) +func (LogsMetricFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsMetricFilter)(nil)).Elem() } -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray and DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray{ DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput +func (i LogsMetricFilterArgs) ToLogsMetricFilterOutput() LogsMetricFilterOutput { + return i.ToLogsMetricFilterOutputWithContext(context.Background()) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray []DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput - -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (i LogsMetricFilterArgs) ToLogsMetricFilterOutputWithContext(ctx context.Context) LogsMetricFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricFilterOutput) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i LogsMetricFilterArgs) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { + return i.ToLogsMetricFilterPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i LogsMetricFilterArgs) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricFilterOutput).ToLogsMetricFilterPtrOutputWithContext(ctx) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +// LogsMetricFilterPtrInput is an input type that accepts LogsMetricFilterArgs, LogsMetricFilterPtr and LogsMetricFilterPtrOutput values. +// You can construct a concrete instance of `LogsMetricFilterPtrInput` via: +// +// LogsMetricFilterArgs{...} +// +// or: +// +// nil +type LogsMetricFilterPtrInput interface { + pulumi.Input -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() + ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput + ToLogsMetricFilterPtrOutputWithContext(context.Context) LogsMetricFilterPtrOutput } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return o -} +type logsMetricFilterPtrType LogsMetricFilterArgs -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return o +func LogsMetricFilterPtr(v *LogsMetricFilterArgs) LogsMetricFilterPtrInput { + return (*logsMetricFilterPtrType)(v) } -// The aggregation method. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (*logsMetricFilterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogsMetricFilter)(nil)).Elem() } -// The facet name. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i *logsMetricFilterPtrType) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { + return i.ToLogsMetricFilterPtrOutputWithContext(context.Background()) } -// Define the time interval in seconds. -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (i *logsMetricFilterPtrType) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricFilterPtrOutput) } -type DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type LogsMetricFilterOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (LogsMetricFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsMetricFilter)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o LogsMetricFilterOutput) ToLogsMetricFilterOutput() LogsMetricFilterOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o LogsMetricFilterOutput) ToLogsMetricFilterOutputWithContext(ctx context.Context) LogsMetricFilterOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) +func (o LogsMetricFilterOutput) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { + return o.ToLogsMetricFilterPtrOutputWithContext(context.Background()) } -type DashboardWidgetTimeseriesDefinitionRequestStyle struct { - // The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. - LineType *string `pulumi:"lineType"` - // The width of line displayed. Valid values are `normal`, `thick`, `thin`. - LineWidth *string `pulumi:"lineWidth"` - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette *string `pulumi:"palette"` +func (o LogsMetricFilterOutput) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsMetricFilter) *LogsMetricFilter { + return &v + }).(LogsMetricFilterPtrOutput) } -// DashboardWidgetTimeseriesDefinitionRequestStyleInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestStyleArgs and DashboardWidgetTimeseriesDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestStyleInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestStyleArgs{...} -type DashboardWidgetTimeseriesDefinitionRequestStyleInput interface { - pulumi.Input - - ToDashboardWidgetTimeseriesDefinitionRequestStyleOutput() DashboardWidgetTimeseriesDefinitionRequestStyleOutput - ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestStyleOutput +// The search query - following the log search syntax. +func (o LogsMetricFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v LogsMetricFilter) string { return v.Query }).(pulumi.StringOutput) } -type DashboardWidgetTimeseriesDefinitionRequestStyleArgs struct { - // The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. - LineType pulumi.StringPtrInput `pulumi:"lineType"` - // The width of line displayed. Valid values are `normal`, `thick`, `thin`. - LineWidth pulumi.StringPtrInput `pulumi:"lineWidth"` - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette pulumi.StringPtrInput `pulumi:"palette"` +type LogsMetricFilterPtrOutput struct{ *pulumi.OutputState } + +func (LogsMetricFilterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogsMetricFilter)(nil)).Elem() } -func (DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +func (o LogsMetricFilterPtrOutput) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { + return o } -func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutput() DashboardWidgetTimeseriesDefinitionRequestStyleOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Background()) +func (o LogsMetricFilterPtrOutput) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { + return o } -func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestStyleOutput) +func (o LogsMetricFilterPtrOutput) Elem() LogsMetricFilterOutput { + return o.ApplyT(func(v *LogsMetricFilter) LogsMetricFilter { + if v != nil { + return *v + } + var ret LogsMetricFilter + return ret + }).(LogsMetricFilterOutput) } -func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +// The search query - following the log search syntax. +func (o LogsMetricFilterPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogsMetricFilter) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetTimeseriesDefinitionRequestStyleArgs) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestStyleOutput).ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx) +type LogsMetricGroupBy struct { + // The path to the value the log-based metric will be aggregated over. + Path string `pulumi:"path"` + // Name of the tag that gets created. + TagName string `pulumi:"tagName"` } -// DashboardWidgetTimeseriesDefinitionRequestStylePtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRequestStyleArgs, DashboardWidgetTimeseriesDefinitionRequestStylePtr and DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRequestStylePtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRequestStyleArgs{...} -// -// or: +// LogsMetricGroupByInput is an input type that accepts LogsMetricGroupByArgs and LogsMetricGroupByOutput values. +// You can construct a concrete instance of `LogsMetricGroupByInput` via: // -// nil -type DashboardWidgetTimeseriesDefinitionRequestStylePtrInput interface { +// LogsMetricGroupByArgs{...} +type LogsMetricGroupByInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput - ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput + ToLogsMetricGroupByOutput() LogsMetricGroupByOutput + ToLogsMetricGroupByOutputWithContext(context.Context) LogsMetricGroupByOutput } -type dashboardWidgetTimeseriesDefinitionRequestStylePtrType DashboardWidgetTimeseriesDefinitionRequestStyleArgs - -func DashboardWidgetTimeseriesDefinitionRequestStylePtr(v *DashboardWidgetTimeseriesDefinitionRequestStyleArgs) DashboardWidgetTimeseriesDefinitionRequestStylePtrInput { - return (*dashboardWidgetTimeseriesDefinitionRequestStylePtrType)(v) +type LogsMetricGroupByArgs struct { + // The path to the value the log-based metric will be aggregated over. + Path pulumi.StringInput `pulumi:"path"` + // Name of the tag that gets created. + TagName pulumi.StringInput `pulumi:"tagName"` } -func (*dashboardWidgetTimeseriesDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +func (LogsMetricGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogsMetricGroupBy)(nil)).Elem() } -func (i *dashboardWidgetTimeseriesDefinitionRequestStylePtrType) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i LogsMetricGroupByArgs) ToLogsMetricGroupByOutput() LogsMetricGroupByOutput { + return i.ToLogsMetricGroupByOutputWithContext(context.Background()) } -func (i *dashboardWidgetTimeseriesDefinitionRequestStylePtrType) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) +func (i LogsMetricGroupByArgs) ToLogsMetricGroupByOutputWithContext(ctx context.Context) LogsMetricGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricGroupByOutput) } -type DashboardWidgetTimeseriesDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +// LogsMetricGroupByArrayInput is an input type that accepts LogsMetricGroupByArray and LogsMetricGroupByArrayOutput values. +// You can construct a concrete instance of `LogsMetricGroupByArrayInput` via: +// +// LogsMetricGroupByArray{ LogsMetricGroupByArgs{...} } +type LogsMetricGroupByArrayInput interface { + pulumi.Input -func (DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() + ToLogsMetricGroupByArrayOutput() LogsMetricGroupByArrayOutput + ToLogsMetricGroupByArrayOutputWithContext(context.Context) LogsMetricGroupByArrayOutput } -func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutput() DashboardWidgetTimeseriesDefinitionRequestStyleOutput { - return o -} +type LogsMetricGroupByArray []LogsMetricGroupByInput -func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStyleOutput { - return o +func (LogsMetricGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsMetricGroupBy)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i LogsMetricGroupByArray) ToLogsMetricGroupByArrayOutput() LogsMetricGroupByArrayOutput { + return i.ToLogsMetricGroupByArrayOutputWithContext(context.Background()) } -func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRequestStyle) *DashboardWidgetTimeseriesDefinitionRequestStyle { - return &v - }).(DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) +func (i LogsMetricGroupByArray) ToLogsMetricGroupByArrayOutputWithContext(ctx context.Context) LogsMetricGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogsMetricGroupByArrayOutput) } -// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. -func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) LineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineType }).(pulumi.StringPtrOutput) -} +type LogsMetricGroupByOutput struct{ *pulumi.OutputState } -// The width of line displayed. Valid values are `normal`, `thick`, `thin`. -func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) LineWidth() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineWidth }).(pulumi.StringPtrOutput) +func (LogsMetricGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogsMetricGroupBy)(nil)).Elem() } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o DashboardWidgetTimeseriesDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +func (o LogsMetricGroupByOutput) ToLogsMetricGroupByOutput() LogsMetricGroupByOutput { + return o } -type DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +func (o LogsMetricGroupByOutput) ToLogsMetricGroupByOutputWithContext(ctx context.Context) LogsMetricGroupByOutput { + return o } -func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutput() DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return o +// The path to the value the log-based metric will be aggregated over. +func (o LogsMetricGroupByOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v LogsMetricGroupBy) string { return v.Path }).(pulumi.StringOutput) } -func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) ToDashboardWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput { - return o +// Name of the tag that gets created. +func (o LogsMetricGroupByOutput) TagName() pulumi.StringOutput { + return o.ApplyT(func(v LogsMetricGroupBy) string { return v.TagName }).(pulumi.StringOutput) } -func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRequestStyleOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) DashboardWidgetTimeseriesDefinitionRequestStyle { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRequestStyle - return ret - }).(DashboardWidgetTimeseriesDefinitionRequestStyleOutput) +type LogsMetricGroupByArrayOutput struct{ *pulumi.OutputState } + +func (LogsMetricGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LogsMetricGroupBy)(nil)).Elem() } -// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. -func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) LineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) *string { - if v == nil { - return nil - } - return v.LineType - }).(pulumi.StringPtrOutput) +func (o LogsMetricGroupByArrayOutput) ToLogsMetricGroupByArrayOutput() LogsMetricGroupByArrayOutput { + return o } -// The width of line displayed. Valid values are `normal`, `thick`, `thin`. -func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) LineWidth() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) *string { - if v == nil { - return nil - } - return v.LineWidth - }).(pulumi.StringPtrOutput) +func (o LogsMetricGroupByArrayOutput) ToLogsMetricGroupByArrayOutputWithContext(ctx context.Context) LogsMetricGroupByArrayOutput { + return o } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRequestStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) +func (o LogsMetricGroupByArrayOutput) Index(i pulumi.IntInput) LogsMetricGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsMetricGroupBy { + return vs[0].([]LogsMetricGroupBy)[vs[1].(int)] + }).(LogsMetricGroupByOutput) } -type DashboardWidgetTimeseriesDefinitionRightYaxis 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"` +type MetricTagConfigurationAggregation struct { + // A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`. + Space string `pulumi:"space"` + // A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`. + Time string `pulumi:"time"` } -// DashboardWidgetTimeseriesDefinitionRightYaxisInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRightYaxisArgs and DashboardWidgetTimeseriesDefinitionRightYaxisOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRightYaxisInput` via: +// MetricTagConfigurationAggregationInput is an input type that accepts MetricTagConfigurationAggregationArgs and MetricTagConfigurationAggregationOutput values. +// You can construct a concrete instance of `MetricTagConfigurationAggregationInput` via: // -// DashboardWidgetTimeseriesDefinitionRightYaxisArgs{...} -type DashboardWidgetTimeseriesDefinitionRightYaxisInput interface { +// MetricTagConfigurationAggregationArgs{...} +type MetricTagConfigurationAggregationInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRightYaxisOutput() DashboardWidgetTimeseriesDefinitionRightYaxisOutput - ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisOutput -} - -type DashboardWidgetTimeseriesDefinitionRightYaxisArgs 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 (DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() + ToMetricTagConfigurationAggregationOutput() MetricTagConfigurationAggregationOutput + ToMetricTagConfigurationAggregationOutputWithContext(context.Context) MetricTagConfigurationAggregationOutput } -func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutput() DashboardWidgetTimeseriesDefinitionRightYaxisOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Background()) +type MetricTagConfigurationAggregationArgs struct { + // A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`. + Space pulumi.StringInput `pulumi:"space"` + // A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`. + Time pulumi.StringInput `pulumi:"time"` } -func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRightYaxisOutput) +func (MetricTagConfigurationAggregationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MetricTagConfigurationAggregation)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +func (i MetricTagConfigurationAggregationArgs) ToMetricTagConfigurationAggregationOutput() MetricTagConfigurationAggregationOutput { + return i.ToMetricTagConfigurationAggregationOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionRightYaxisArgs) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRightYaxisOutput).ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx) +func (i MetricTagConfigurationAggregationArgs) ToMetricTagConfigurationAggregationOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetricTagConfigurationAggregationOutput) } -// DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionRightYaxisArgs, DashboardWidgetTimeseriesDefinitionRightYaxisPtr and DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput` via: -// -// DashboardWidgetTimeseriesDefinitionRightYaxisArgs{...} -// -// or: +// MetricTagConfigurationAggregationArrayInput is an input type that accepts MetricTagConfigurationAggregationArray and MetricTagConfigurationAggregationArrayOutput values. +// You can construct a concrete instance of `MetricTagConfigurationAggregationArrayInput` via: // -// nil -type DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput interface { +// MetricTagConfigurationAggregationArray{ MetricTagConfigurationAggregationArgs{...} } +type MetricTagConfigurationAggregationArrayInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput - ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput + ToMetricTagConfigurationAggregationArrayOutput() MetricTagConfigurationAggregationArrayOutput + ToMetricTagConfigurationAggregationArrayOutputWithContext(context.Context) MetricTagConfigurationAggregationArrayOutput } -type dashboardWidgetTimeseriesDefinitionRightYaxisPtrType DashboardWidgetTimeseriesDefinitionRightYaxisArgs - -func DashboardWidgetTimeseriesDefinitionRightYaxisPtr(v *DashboardWidgetTimeseriesDefinitionRightYaxisArgs) DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput { - return (*dashboardWidgetTimeseriesDefinitionRightYaxisPtrType)(v) -} +type MetricTagConfigurationAggregationArray []MetricTagConfigurationAggregationInput -func (*dashboardWidgetTimeseriesDefinitionRightYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +func (MetricTagConfigurationAggregationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MetricTagConfigurationAggregation)(nil)).Elem() } -func (i *dashboardWidgetTimeseriesDefinitionRightYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +func (i MetricTagConfigurationAggregationArray) ToMetricTagConfigurationAggregationArrayOutput() MetricTagConfigurationAggregationArrayOutput { + return i.ToMetricTagConfigurationAggregationArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetTimeseriesDefinitionRightYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) +func (i MetricTagConfigurationAggregationArray) ToMetricTagConfigurationAggregationArrayOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MetricTagConfigurationAggregationArrayOutput) } -type DashboardWidgetTimeseriesDefinitionRightYaxisOutput struct{ *pulumi.OutputState } +type MetricTagConfigurationAggregationOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +func (MetricTagConfigurationAggregationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MetricTagConfigurationAggregation)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutput() DashboardWidgetTimeseriesDefinitionRightYaxisOutput { +func (o MetricTagConfigurationAggregationOutput) ToMetricTagConfigurationAggregationOutput() MetricTagConfigurationAggregationOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisOutput { +func (o MetricTagConfigurationAggregationOutput) ToMetricTagConfigurationAggregationOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionRightYaxis) *DashboardWidgetTimeseriesDefinitionRightYaxis { - return &v - }).(DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) -} - -// Always include zero or fit the axis to the data range. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +// A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`. +func (o MetricTagConfigurationAggregationOutput) Space() pulumi.StringOutput { + return o.ApplyT(func(v MetricTagConfigurationAggregation) string { return v.Space }).(pulumi.StringOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionRightYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +// A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`. +func (o MetricTagConfigurationAggregationOutput) Time() pulumi.StringOutput { + return o.ApplyT(func(v MetricTagConfigurationAggregation) string { return v.Time }).(pulumi.StringOutput) } -type DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput struct{ *pulumi.OutputState } +type MetricTagConfigurationAggregationArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +func (MetricTagConfigurationAggregationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MetricTagConfigurationAggregation)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { +func (o MetricTagConfigurationAggregationArrayOutput) ToMetricTagConfigurationAggregationArrayOutput() MetricTagConfigurationAggregationArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput { +func (o MetricTagConfigurationAggregationArrayOutput) ToMetricTagConfigurationAggregationArrayOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationArrayOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionRightYaxisOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) DashboardWidgetTimeseriesDefinitionRightYaxis { - if v != nil { - return *v - } - var ret DashboardWidgetTimeseriesDefinitionRightYaxis - return ret - }).(DashboardWidgetTimeseriesDefinitionRightYaxisOutput) -} - -// Always include zero or fit the axis to the data range. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *bool { - if v == nil { - return nil - } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { - if v == nil { - return nil - } - return v.Max - }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { - if v == nil { - return nil - } - return v.Min - }).(pulumi.StringPtrOutput) -} - -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionRightYaxis) *string { - if v == nil { - return nil - } - return v.Scale - }).(pulumi.StringPtrOutput) +func (o MetricTagConfigurationAggregationArrayOutput) Index(i pulumi.IntInput) MetricTagConfigurationAggregationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetricTagConfigurationAggregation { + return vs[0].([]MetricTagConfigurationAggregation)[vs[1].(int)] + }).(MetricTagConfigurationAggregationOutput) } -type DashboardWidgetTimeseriesDefinitionYaxis 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"` +type MonitorConfigPolicyTagPolicy struct { + // The key of the tag + TagKey string `pulumi:"tagKey"` + // If a tag key is required for monitor creation + TagKeyRequired bool `pulumi:"tagKeyRequired"` + // Valid values for the tag + ValidTagValues []string `pulumi:"validTagValues"` } -// DashboardWidgetTimeseriesDefinitionYaxisInput is an input type that accepts DashboardWidgetTimeseriesDefinitionYaxisArgs and DashboardWidgetTimeseriesDefinitionYaxisOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionYaxisInput` via: +// MonitorConfigPolicyTagPolicyInput is an input type that accepts MonitorConfigPolicyTagPolicyArgs and MonitorConfigPolicyTagPolicyOutput values. +// You can construct a concrete instance of `MonitorConfigPolicyTagPolicyInput` via: // -// DashboardWidgetTimeseriesDefinitionYaxisArgs{...} -type DashboardWidgetTimeseriesDefinitionYaxisInput interface { +// MonitorConfigPolicyTagPolicyArgs{...} +type MonitorConfigPolicyTagPolicyInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionYaxisOutput() DashboardWidgetTimeseriesDefinitionYaxisOutput - ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionYaxisOutput + ToMonitorConfigPolicyTagPolicyOutput() MonitorConfigPolicyTagPolicyOutput + ToMonitorConfigPolicyTagPolicyOutputWithContext(context.Context) MonitorConfigPolicyTagPolicyOutput } -type DashboardWidgetTimeseriesDefinitionYaxisArgs 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"` +type MonitorConfigPolicyTagPolicyArgs struct { + // The key of the tag + TagKey pulumi.StringInput `pulumi:"tagKey"` + // If a tag key is required for monitor creation + TagKeyRequired pulumi.BoolInput `pulumi:"tagKeyRequired"` + // Valid values for the tag + ValidTagValues pulumi.StringArrayInput `pulumi:"validTagValues"` } -func (DashboardWidgetTimeseriesDefinitionYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +func (MonitorConfigPolicyTagPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorConfigPolicyTagPolicy)(nil)).Elem() } -func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisOutput() DashboardWidgetTimeseriesDefinitionYaxisOutput { - return i.ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Background()) +func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyOutput() MonitorConfigPolicyTagPolicyOutput { + return i.ToMonitorConfigPolicyTagPolicyOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionYaxisOutput) +func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorConfigPolicyTagPolicyOutput) } -func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { + return i.ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTimeseriesDefinitionYaxisArgs) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionYaxisOutput).ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx) +func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorConfigPolicyTagPolicyOutput).ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx) } -// DashboardWidgetTimeseriesDefinitionYaxisPtrInput is an input type that accepts DashboardWidgetTimeseriesDefinitionYaxisArgs, DashboardWidgetTimeseriesDefinitionYaxisPtr and DashboardWidgetTimeseriesDefinitionYaxisPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTimeseriesDefinitionYaxisPtrInput` via: +// MonitorConfigPolicyTagPolicyPtrInput is an input type that accepts MonitorConfigPolicyTagPolicyArgs, MonitorConfigPolicyTagPolicyPtr and MonitorConfigPolicyTagPolicyPtrOutput values. +// You can construct a concrete instance of `MonitorConfigPolicyTagPolicyPtrInput` via: // -// DashboardWidgetTimeseriesDefinitionYaxisArgs{...} +// MonitorConfigPolicyTagPolicyArgs{...} // // or: // // nil -type DashboardWidgetTimeseriesDefinitionYaxisPtrInput interface { +type MonitorConfigPolicyTagPolicyPtrInput interface { pulumi.Input - ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput - ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput + ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput + ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Context) MonitorConfigPolicyTagPolicyPtrOutput } -type dashboardWidgetTimeseriesDefinitionYaxisPtrType DashboardWidgetTimeseriesDefinitionYaxisArgs +type monitorConfigPolicyTagPolicyPtrType MonitorConfigPolicyTagPolicyArgs -func DashboardWidgetTimeseriesDefinitionYaxisPtr(v *DashboardWidgetTimeseriesDefinitionYaxisArgs) DashboardWidgetTimeseriesDefinitionYaxisPtrInput { - return (*dashboardWidgetTimeseriesDefinitionYaxisPtrType)(v) +func MonitorConfigPolicyTagPolicyPtr(v *MonitorConfigPolicyTagPolicyArgs) MonitorConfigPolicyTagPolicyPtrInput { + return (*monitorConfigPolicyTagPolicyPtrType)(v) } -func (*dashboardWidgetTimeseriesDefinitionYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +func (*monitorConfigPolicyTagPolicyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorConfigPolicyTagPolicy)(nil)).Elem() } -func (i *dashboardWidgetTimeseriesDefinitionYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { - return i.ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i *monitorConfigPolicyTagPolicyPtrType) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { + return i.ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTimeseriesDefinitionYaxisPtrType) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) +func (i *monitorConfigPolicyTagPolicyPtrType) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorConfigPolicyTagPolicyPtrOutput) } -type DashboardWidgetTimeseriesDefinitionYaxisOutput struct{ *pulumi.OutputState } +type MonitorConfigPolicyTagPolicyOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +func (MonitorConfigPolicyTagPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorConfigPolicyTagPolicy)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisOutput() DashboardWidgetTimeseriesDefinitionYaxisOutput { +func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyOutput() MonitorConfigPolicyTagPolicyOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisOutput { +func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { - return o.ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { + return o.ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTimeseriesDefinitionYaxis) *DashboardWidgetTimeseriesDefinitionYaxis { +func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorConfigPolicyTagPolicy) *MonitorConfigPolicyTagPolicy { return &v - }).(DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) -} - -// Always include zero or fit the axis to the data range. -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) + }).(MonitorConfigPolicyTagPolicyPtrOutput) } -// Specify the maximum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +// The key of the tag +func (o MonitorConfigPolicyTagPolicyOutput) TagKey() pulumi.StringOutput { + return o.ApplyT(func(v MonitorConfigPolicyTagPolicy) string { return v.TagKey }).(pulumi.StringOutput) } -// Specify the minimum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +// If a tag key is required for monitor creation +func (o MonitorConfigPolicyTagPolicyOutput) TagKeyRequired() pulumi.BoolOutput { + return o.ApplyT(func(v MonitorConfigPolicyTagPolicy) bool { return v.TagKeyRequired }).(pulumi.BoolOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o DashboardWidgetTimeseriesDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTimeseriesDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +// Valid values for the tag +func (o MonitorConfigPolicyTagPolicyOutput) ValidTagValues() pulumi.StringArrayOutput { + return o.ApplyT(func(v MonitorConfigPolicyTagPolicy) []string { return v.ValidTagValues }).(pulumi.StringArrayOutput) } -type DashboardWidgetTimeseriesDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } +type MonitorConfigPolicyTagPolicyPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +func (MonitorConfigPolicyTagPolicyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorConfigPolicyTagPolicy)(nil)).Elem() } -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutput() DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { +func (o MonitorConfigPolicyTagPolicyPtrOutput) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) ToDashboardWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) DashboardWidgetTimeseriesDefinitionYaxisPtrOutput { +func (o MonitorConfigPolicyTagPolicyPtrOutput) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { return o } -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Elem() DashboardWidgetTimeseriesDefinitionYaxisOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) DashboardWidgetTimeseriesDefinitionYaxis { +func (o MonitorConfigPolicyTagPolicyPtrOutput) Elem() MonitorConfigPolicyTagPolicyOutput { + return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) MonitorConfigPolicyTagPolicy { if v != nil { return *v } - var ret DashboardWidgetTimeseriesDefinitionYaxis + var ret MonitorConfigPolicyTagPolicy return ret - }).(DashboardWidgetTimeseriesDefinitionYaxisOutput) -} - -// Always include zero or fit the axis to the data range. -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *bool { - if v == nil { - return nil - } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) + }).(MonitorConfigPolicyTagPolicyOutput) } -// Specify the maximum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { +// The key of the tag +func (o MonitorConfigPolicyTagPolicyPtrOutput) TagKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) *string { if v == nil { return nil } - return v.Max + return &v.TagKey }).(pulumi.StringPtrOutput) } -// Specify the minimum value to show on the Y-axis. -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { +// If a tag key is required for monitor creation +func (o MonitorConfigPolicyTagPolicyPtrOutput) TagKeyRequired() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) *bool { if v == nil { return nil } - return v.Min - }).(pulumi.StringPtrOutput) + return &v.TagKeyRequired + }).(pulumi.BoolPtrOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o DashboardWidgetTimeseriesDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTimeseriesDefinitionYaxis) *string { +// Valid values for the tag +func (o MonitorConfigPolicyTagPolicyPtrOutput) ValidTagValues() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) []string { if v == nil { return nil } - return v.Scale - }).(pulumi.StringPtrOutput) + return v.ValidTagValues + }).(pulumi.StringArrayOutput) } -type DashboardWidgetToplistDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []DashboardWidgetToplistDefinitionCustomLink `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). - Requests []DashboardWidgetToplistDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type MonitorMonitorThresholdWindows struct { + // Describes how long an anomalous metric must be normal before the alert recovers. + RecoveryWindow *string `pulumi:"recoveryWindow"` + // Describes how long a metric must be anomalous before an alert triggers. + TriggerWindow *string `pulumi:"triggerWindow"` } -// DashboardWidgetToplistDefinitionInput is an input type that accepts DashboardWidgetToplistDefinitionArgs and DashboardWidgetToplistDefinitionOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionInput` via: +// MonitorMonitorThresholdWindowsInput is an input type that accepts MonitorMonitorThresholdWindowsArgs and MonitorMonitorThresholdWindowsOutput values. +// You can construct a concrete instance of `MonitorMonitorThresholdWindowsInput` via: // -// DashboardWidgetToplistDefinitionArgs{...} -type DashboardWidgetToplistDefinitionInput interface { +// MonitorMonitorThresholdWindowsArgs{...} +type MonitorMonitorThresholdWindowsInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionOutput() DashboardWidgetToplistDefinitionOutput - ToDashboardWidgetToplistDefinitionOutputWithContext(context.Context) DashboardWidgetToplistDefinitionOutput + ToMonitorMonitorThresholdWindowsOutput() MonitorMonitorThresholdWindowsOutput + ToMonitorMonitorThresholdWindowsOutputWithContext(context.Context) MonitorMonitorThresholdWindowsOutput } -type DashboardWidgetToplistDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks DashboardWidgetToplistDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). - Requests DashboardWidgetToplistDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type MonitorMonitorThresholdWindowsArgs struct { + // Describes how long an anomalous metric must be normal before the alert recovers. + RecoveryWindow pulumi.StringPtrInput `pulumi:"recoveryWindow"` + // Describes how long a metric must be anomalous before an alert triggers. + TriggerWindow pulumi.StringPtrInput `pulumi:"triggerWindow"` } -func (DashboardWidgetToplistDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinition)(nil)).Elem() +func (MonitorMonitorThresholdWindowsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorMonitorThresholdWindows)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionOutput() DashboardWidgetToplistDefinitionOutput { - return i.ToDashboardWidgetToplistDefinitionOutputWithContext(context.Background()) +func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsOutput() MonitorMonitorThresholdWindowsOutput { + return i.ToMonitorMonitorThresholdWindowsOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionOutput) +func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdWindowsOutput) } -func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { - return i.ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { + return i.ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionArgs) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionOutput).ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx) +func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdWindowsOutput).ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionPtrInput is an input type that accepts DashboardWidgetToplistDefinitionArgs, DashboardWidgetToplistDefinitionPtr and DashboardWidgetToplistDefinitionPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionPtrInput` via: +// MonitorMonitorThresholdWindowsPtrInput is an input type that accepts MonitorMonitorThresholdWindowsArgs, MonitorMonitorThresholdWindowsPtr and MonitorMonitorThresholdWindowsPtrOutput values. +// You can construct a concrete instance of `MonitorMonitorThresholdWindowsPtrInput` via: // -// DashboardWidgetToplistDefinitionArgs{...} +// MonitorMonitorThresholdWindowsArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionPtrInput interface { +type MonitorMonitorThresholdWindowsPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput - ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionPtrOutput + ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput + ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Context) MonitorMonitorThresholdWindowsPtrOutput } -type dashboardWidgetToplistDefinitionPtrType DashboardWidgetToplistDefinitionArgs +type monitorMonitorThresholdWindowsPtrType MonitorMonitorThresholdWindowsArgs -func DashboardWidgetToplistDefinitionPtr(v *DashboardWidgetToplistDefinitionArgs) DashboardWidgetToplistDefinitionPtrInput { - return (*dashboardWidgetToplistDefinitionPtrType)(v) +func MonitorMonitorThresholdWindowsPtr(v *MonitorMonitorThresholdWindowsArgs) MonitorMonitorThresholdWindowsPtrInput { + return (*monitorMonitorThresholdWindowsPtrType)(v) } -func (*dashboardWidgetToplistDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinition)(nil)).Elem() +func (*monitorMonitorThresholdWindowsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorMonitorThresholdWindows)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionPtrType) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { - return i.ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +func (i *monitorMonitorThresholdWindowsPtrType) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { + return i.ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionPtrType) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionPtrOutput) +func (i *monitorMonitorThresholdWindowsPtrType) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdWindowsPtrOutput) } -type DashboardWidgetToplistDefinitionOutput struct{ *pulumi.OutputState } +type MonitorMonitorThresholdWindowsOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinition)(nil)).Elem() +func (MonitorMonitorThresholdWindowsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorMonitorThresholdWindows)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionOutput() DashboardWidgetToplistDefinitionOutput { +func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsOutput() MonitorMonitorThresholdWindowsOutput { return o } -func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionOutput { +func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsOutput { return o } -func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { - return o.ToDashboardWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { + return o.ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionOutput) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinition) *DashboardWidgetToplistDefinition { +func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorMonitorThresholdWindows) *MonitorMonitorThresholdWindows { return &v - }).(DashboardWidgetToplistDefinitionPtrOutput) + }).(MonitorMonitorThresholdWindowsPtrOutput) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionOutput) CustomLinks() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionCustomLink { - return v.CustomLinks - }).(DashboardWidgetToplistDefinitionCustomLinkArrayOutput) +// Describes how long an anomalous metric must be normal before the alert recovers. +func (o MonitorMonitorThresholdWindowsOutput) RecoveryWindow() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholdWindows) *string { return v.RecoveryWindow }).(pulumi.StringPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o DashboardWidgetToplistDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +// Describes how long a metric must be anomalous before an alert triggers. +func (o MonitorMonitorThresholdWindowsOutput) TriggerWindow() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholdWindows) *string { return v.TriggerWindow }).(pulumi.StringPtrOutput) } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). -func (o DashboardWidgetToplistDefinitionOutput) Requests() DashboardWidgetToplistDefinitionRequestArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionRequest { return v.Requests }).(DashboardWidgetToplistDefinitionRequestArrayOutput) -} +type MonitorMonitorThresholdWindowsPtrOutput struct{ *pulumi.OutputState } -// The title of the widget. -func (o DashboardWidgetToplistDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (MonitorMonitorThresholdWindowsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorMonitorThresholdWindows)(nil)).Elem() } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o DashboardWidgetToplistDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (o MonitorMonitorThresholdWindowsPtrOutput) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { + return o } -// The size of the widget's title (defaults to 16). -func (o DashboardWidgetToplistDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +func (o MonitorMonitorThresholdWindowsPtrOutput) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { + return o } -type DashboardWidgetToplistDefinitionPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinition)(nil)).Elem() +func (o MonitorMonitorThresholdWindowsPtrOutput) Elem() MonitorMonitorThresholdWindowsOutput { + return o.ApplyT(func(v *MonitorMonitorThresholdWindows) MonitorMonitorThresholdWindows { + if v != nil { + return *v + } + var ret MonitorMonitorThresholdWindows + return ret + }).(MonitorMonitorThresholdWindowsOutput) +} + +// Describes how long an anomalous metric must be normal before the alert recovers. +func (o MonitorMonitorThresholdWindowsPtrOutput) RecoveryWindow() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholdWindows) *string { + if v == nil { + return nil + } + return v.RecoveryWindow + }).(pulumi.StringPtrOutput) +} + +// Describes how long a metric must be anomalous before an alert triggers. +func (o MonitorMonitorThresholdWindowsPtrOutput) TriggerWindow() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholdWindows) *string { + if v == nil { + return nil + } + return v.TriggerWindow + }).(pulumi.StringPtrOutput) +} + +type MonitorMonitorThresholds struct { + // The monitor `CRITICAL` threshold. Must be a number. + Critical *string `pulumi:"critical"` + // The monitor `CRITICAL` recovery threshold. Must be a number. + CriticalRecovery *string `pulumi:"criticalRecovery"` + // The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. + Ok *string `pulumi:"ok"` + // The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. + Unknown *string `pulumi:"unknown"` + // The monitor `WARNING` threshold. Must be a number. + Warning *string `pulumi:"warning"` + // The monitor `WARNING` recovery threshold. Must be a number. + WarningRecovery *string `pulumi:"warningRecovery"` +} + +// MonitorMonitorThresholdsInput is an input type that accepts MonitorMonitorThresholdsArgs and MonitorMonitorThresholdsOutput values. +// You can construct a concrete instance of `MonitorMonitorThresholdsInput` via: +// +// MonitorMonitorThresholdsArgs{...} +type MonitorMonitorThresholdsInput interface { + pulumi.Input + + ToMonitorMonitorThresholdsOutput() MonitorMonitorThresholdsOutput + ToMonitorMonitorThresholdsOutputWithContext(context.Context) MonitorMonitorThresholdsOutput +} + +type MonitorMonitorThresholdsArgs struct { + // The monitor `CRITICAL` threshold. Must be a number. + Critical pulumi.StringPtrInput `pulumi:"critical"` + // The monitor `CRITICAL` recovery threshold. Must be a number. + CriticalRecovery pulumi.StringPtrInput `pulumi:"criticalRecovery"` + // The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. + Ok pulumi.StringPtrInput `pulumi:"ok"` + // The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. + Unknown pulumi.StringPtrInput `pulumi:"unknown"` + // The monitor `WARNING` threshold. Must be a number. + Warning pulumi.StringPtrInput `pulumi:"warning"` + // The monitor `WARNING` recovery threshold. Must be a number. + WarningRecovery pulumi.StringPtrInput `pulumi:"warningRecovery"` +} + +func (MonitorMonitorThresholdsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorMonitorThresholds)(nil)).Elem() +} + +func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsOutput() MonitorMonitorThresholdsOutput { + return i.ToMonitorMonitorThresholdsOutputWithContext(context.Background()) +} + +func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsOutputWithContext(ctx context.Context) MonitorMonitorThresholdsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdsOutput) +} + +func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { + return i.ToMonitorMonitorThresholdsPtrOutputWithContext(context.Background()) +} + +func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdsOutput).ToMonitorMonitorThresholdsPtrOutputWithContext(ctx) +} + +// MonitorMonitorThresholdsPtrInput is an input type that accepts MonitorMonitorThresholdsArgs, MonitorMonitorThresholdsPtr and MonitorMonitorThresholdsPtrOutput values. +// You can construct a concrete instance of `MonitorMonitorThresholdsPtrInput` via: +// +// MonitorMonitorThresholdsArgs{...} +// +// or: +// +// nil +type MonitorMonitorThresholdsPtrInput interface { + pulumi.Input + + ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput + ToMonitorMonitorThresholdsPtrOutputWithContext(context.Context) MonitorMonitorThresholdsPtrOutput +} + +type monitorMonitorThresholdsPtrType MonitorMonitorThresholdsArgs + +func MonitorMonitorThresholdsPtr(v *MonitorMonitorThresholdsArgs) MonitorMonitorThresholdsPtrInput { + return (*monitorMonitorThresholdsPtrType)(v) +} + +func (*monitorMonitorThresholdsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorMonitorThresholds)(nil)).Elem() +} + +func (i *monitorMonitorThresholdsPtrType) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { + return i.ToMonitorMonitorThresholdsPtrOutputWithContext(context.Background()) +} + +func (i *monitorMonitorThresholdsPtrType) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdsPtrOutput) +} + +type MonitorMonitorThresholdsOutput struct{ *pulumi.OutputState } + +func (MonitorMonitorThresholdsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorMonitorThresholds)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionPtrOutput) ToDashboardWidgetToplistDefinitionPtrOutput() DashboardWidgetToplistDefinitionPtrOutput { +func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsOutput() MonitorMonitorThresholdsOutput { + return o +} + +func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsOutputWithContext(ctx context.Context) MonitorMonitorThresholdsOutput { + return o +} + +func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { + return o.ToMonitorMonitorThresholdsPtrOutputWithContext(context.Background()) +} + +func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorMonitorThresholds) *MonitorMonitorThresholds { + return &v + }).(MonitorMonitorThresholdsPtrOutput) +} + +// The monitor `CRITICAL` threshold. Must be a number. +func (o MonitorMonitorThresholdsOutput) Critical() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Critical }).(pulumi.StringPtrOutput) +} + +// The monitor `CRITICAL` recovery threshold. Must be a number. +func (o MonitorMonitorThresholdsOutput) CriticalRecovery() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.CriticalRecovery }).(pulumi.StringPtrOutput) +} + +// The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. +func (o MonitorMonitorThresholdsOutput) Ok() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Ok }).(pulumi.StringPtrOutput) +} + +// The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. +func (o MonitorMonitorThresholdsOutput) Unknown() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Unknown }).(pulumi.StringPtrOutput) +} + +// The monitor `WARNING` threshold. Must be a number. +func (o MonitorMonitorThresholdsOutput) Warning() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Warning }).(pulumi.StringPtrOutput) +} + +// The monitor `WARNING` recovery threshold. Must be a number. +func (o MonitorMonitorThresholdsOutput) WarningRecovery() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.WarningRecovery }).(pulumi.StringPtrOutput) +} + +type MonitorMonitorThresholdsPtrOutput struct{ *pulumi.OutputState } + +func (MonitorMonitorThresholdsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorMonitorThresholds)(nil)).Elem() +} + +func (o MonitorMonitorThresholdsPtrOutput) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionPtrOutput) ToDashboardWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionPtrOutput { +func (o MonitorMonitorThresholdsPtrOutput) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionPtrOutput) Elem() DashboardWidgetToplistDefinitionOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinition) DashboardWidgetToplistDefinition { +func (o MonitorMonitorThresholdsPtrOutput) Elem() MonitorMonitorThresholdsOutput { + return o.ApplyT(func(v *MonitorMonitorThresholds) MonitorMonitorThresholds { if v != nil { return *v } - var ret DashboardWidgetToplistDefinition + var ret MonitorMonitorThresholds return ret - }).(DashboardWidgetToplistDefinitionOutput) + }).(MonitorMonitorThresholdsOutput) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionPtrOutput) CustomLinks() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionCustomLink { +// The monitor `CRITICAL` threshold. Must be a number. +func (o MonitorMonitorThresholdsPtrOutput) Critical() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholds) *string { if v == nil { return nil } - return v.CustomLinks - }).(DashboardWidgetToplistDefinitionCustomLinkArrayOutput) + return v.Critical + }).(pulumi.StringPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o DashboardWidgetToplistDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { +// The monitor `CRITICAL` recovery threshold. Must be a number. +func (o MonitorMonitorThresholdsPtrOutput) CriticalRecovery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholds) *string { if v == nil { return nil } - return v.LiveSpan + return v.CriticalRecovery }).(pulumi.StringPtrOutput) } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). -func (o DashboardWidgetToplistDefinitionPtrOutput) Requests() DashboardWidgetToplistDefinitionRequestArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionRequest { +// The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. +func (o MonitorMonitorThresholdsPtrOutput) Ok() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholds) *string { if v == nil { return nil } - return v.Requests - }).(DashboardWidgetToplistDefinitionRequestArrayOutput) + return v.Ok + }).(pulumi.StringPtrOutput) } -// The title of the widget. -func (o DashboardWidgetToplistDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { +// The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. +func (o MonitorMonitorThresholdsPtrOutput) Unknown() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholds) *string { if v == nil { return nil } - return v.Title + return v.Unknown }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o DashboardWidgetToplistDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { +// The monitor `WARNING` threshold. Must be a number. +func (o MonitorMonitorThresholdsPtrOutput) Warning() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholds) *string { if v == nil { return nil } - return v.TitleAlign + return v.Warning }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o DashboardWidgetToplistDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { +// The monitor `WARNING` recovery threshold. Must be a number. +func (o MonitorMonitorThresholdsPtrOutput) WarningRecovery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorMonitorThresholds) *string { if v == nil { return nil } - return v.TitleSize + return v.WarningRecovery }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +type MonitorSchedulingOption struct { + // Configuration options for the custom schedules. If `start` is omitted, the monitor creation time will be used. + CustomSchedules []MonitorSchedulingOptionCustomSchedule `pulumi:"customSchedules"` + // Configuration options for the evaluation window. If `hourStarts` is set, no other fields may be set. Otherwise, `dayStarts` and `monthStarts` must be set together. + EvaluationWindows []MonitorSchedulingOptionEvaluationWindow `pulumi:"evaluationWindows"` } -// DashboardWidgetToplistDefinitionCustomLinkInput is an input type that accepts DashboardWidgetToplistDefinitionCustomLinkArgs and DashboardWidgetToplistDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionCustomLinkInput` via: +// MonitorSchedulingOptionInput is an input type that accepts MonitorSchedulingOptionArgs and MonitorSchedulingOptionOutput values. +// You can construct a concrete instance of `MonitorSchedulingOptionInput` via: // -// DashboardWidgetToplistDefinitionCustomLinkArgs{...} -type DashboardWidgetToplistDefinitionCustomLinkInput interface { +// MonitorSchedulingOptionArgs{...} +type MonitorSchedulingOptionInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionCustomLinkOutput() DashboardWidgetToplistDefinitionCustomLinkOutput - ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(context.Context) DashboardWidgetToplistDefinitionCustomLinkOutput + ToMonitorSchedulingOptionOutput() MonitorSchedulingOptionOutput + ToMonitorSchedulingOptionOutputWithContext(context.Context) MonitorSchedulingOptionOutput } -type DashboardWidgetToplistDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +type MonitorSchedulingOptionArgs struct { + // Configuration options for the custom schedules. If `start` is omitted, the monitor creation time will be used. + CustomSchedules MonitorSchedulingOptionCustomScheduleArrayInput `pulumi:"customSchedules"` + // Configuration options for the evaluation window. If `hourStarts` is set, no other fields may be set. Otherwise, `dayStarts` and `monthStarts` must be set together. + EvaluationWindows MonitorSchedulingOptionEvaluationWindowArrayInput `pulumi:"evaluationWindows"` } -func (DashboardWidgetToplistDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +func (MonitorSchedulingOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOption)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionCustomLinkArgs) ToDashboardWidgetToplistDefinitionCustomLinkOutput() DashboardWidgetToplistDefinitionCustomLinkOutput { - return i.ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(context.Background()) +func (i MonitorSchedulingOptionArgs) ToMonitorSchedulingOptionOutput() MonitorSchedulingOptionOutput { + return i.ToMonitorSchedulingOptionOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionCustomLinkArgs) ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionCustomLinkOutput) +func (i MonitorSchedulingOptionArgs) ToMonitorSchedulingOptionOutputWithContext(ctx context.Context) MonitorSchedulingOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionOutput) } -// DashboardWidgetToplistDefinitionCustomLinkArrayInput is an input type that accepts DashboardWidgetToplistDefinitionCustomLinkArray and DashboardWidgetToplistDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionCustomLinkArrayInput` via: +// MonitorSchedulingOptionArrayInput is an input type that accepts MonitorSchedulingOptionArray and MonitorSchedulingOptionArrayOutput values. +// You can construct a concrete instance of `MonitorSchedulingOptionArrayInput` via: // -// DashboardWidgetToplistDefinitionCustomLinkArray{ DashboardWidgetToplistDefinitionCustomLinkArgs{...} } -type DashboardWidgetToplistDefinitionCustomLinkArrayInput interface { +// MonitorSchedulingOptionArray{ MonitorSchedulingOptionArgs{...} } +type MonitorSchedulingOptionArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionCustomLinkArrayOutput() DashboardWidgetToplistDefinitionCustomLinkArrayOutput - ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionCustomLinkArrayOutput + ToMonitorSchedulingOptionArrayOutput() MonitorSchedulingOptionArrayOutput + ToMonitorSchedulingOptionArrayOutputWithContext(context.Context) MonitorSchedulingOptionArrayOutput } -type DashboardWidgetToplistDefinitionCustomLinkArray []DashboardWidgetToplistDefinitionCustomLinkInput +type MonitorSchedulingOptionArray []MonitorSchedulingOptionInput -func (DashboardWidgetToplistDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +func (MonitorSchedulingOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSchedulingOption)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionCustomLinkArray) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutput() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { - return i.ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i MonitorSchedulingOptionArray) ToMonitorSchedulingOptionArrayOutput() MonitorSchedulingOptionArrayOutput { + return i.ToMonitorSchedulingOptionArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionCustomLinkArray) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionCustomLinkArrayOutput) +func (i MonitorSchedulingOptionArray) ToMonitorSchedulingOptionArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionArrayOutput) } -type DashboardWidgetToplistDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type MonitorSchedulingOptionOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +func (MonitorSchedulingOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOption)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionCustomLinkOutput) ToDashboardWidgetToplistDefinitionCustomLinkOutput() DashboardWidgetToplistDefinitionCustomLinkOutput { +func (o MonitorSchedulingOptionOutput) ToMonitorSchedulingOptionOutput() MonitorSchedulingOptionOutput { return o } -func (o DashboardWidgetToplistDefinitionCustomLinkOutput) ToDashboardWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkOutput { +func (o MonitorSchedulingOptionOutput) ToMonitorSchedulingOptionOutputWithContext(ctx context.Context) MonitorSchedulingOptionOutput { return o } -// The flag for toggling context menu link visibility. -func (o DashboardWidgetToplistDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o DashboardWidgetToplistDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// The URL of the custom link. -func (o DashboardWidgetToplistDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// Configuration options for the custom schedules. If `start` is omitted, the monitor creation time will be used. +func (o MonitorSchedulingOptionOutput) CustomSchedules() MonitorSchedulingOptionCustomScheduleArrayOutput { + return o.ApplyT(func(v MonitorSchedulingOption) []MonitorSchedulingOptionCustomSchedule { return v.CustomSchedules }).(MonitorSchedulingOptionCustomScheduleArrayOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o DashboardWidgetToplistDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// Configuration options for the evaluation window. If `hourStarts` is set, no other fields may be set. Otherwise, `dayStarts` and `monthStarts` must be set together. +func (o MonitorSchedulingOptionOutput) EvaluationWindows() MonitorSchedulingOptionEvaluationWindowArrayOutput { + return o.ApplyT(func(v MonitorSchedulingOption) []MonitorSchedulingOptionEvaluationWindow { return v.EvaluationWindows }).(MonitorSchedulingOptionEvaluationWindowArrayOutput) } -type DashboardWidgetToplistDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type MonitorSchedulingOptionArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionCustomLink)(nil)).Elem() +func (MonitorSchedulingOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSchedulingOption)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionCustomLinkArrayOutput) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutput() DashboardWidgetToplistDefinitionCustomLinkArrayOutput { +func (o MonitorSchedulingOptionArrayOutput) ToMonitorSchedulingOptionArrayOutput() MonitorSchedulingOptionArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionCustomLinkArrayOutput) ToDashboardWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionCustomLinkArrayOutput { +func (o MonitorSchedulingOptionArrayOutput) ToMonitorSchedulingOptionArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionCustomLink { - return vs[0].([]DashboardWidgetToplistDefinitionCustomLink)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionCustomLinkOutput) +func (o MonitorSchedulingOptionArrayOutput) Index(i pulumi.IntInput) MonitorSchedulingOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSchedulingOption { + return vs[0].([]MonitorSchedulingOption)[vs[1].(int)] + }).(MonitorSchedulingOptionOutput) } -type DashboardWidgetToplistDefinitionRequest struct { - // The query to use for this widget. - ApmQuery *DashboardWidgetToplistDefinitionRequestApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery *DashboardWidgetToplistDefinitionRequestAuditQuery `pulumi:"auditQuery"` - // Conditional formats allow you to set the color of your widget content or background, depending on a rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []DashboardWidgetToplistDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` - Formulas []DashboardWidgetToplistDefinitionRequestFormula `pulumi:"formulas"` - // The query to use for this widget. - LogQuery *DashboardWidgetToplistDefinitionRequestLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *DashboardWidgetToplistDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []DashboardWidgetToplistDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *DashboardWidgetToplistDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *DashboardWidgetToplistDefinitionRequestSecurityQuery `pulumi:"securityQuery"` - // Define request for the widget's style. - Style *DashboardWidgetToplistDefinitionRequestStyle `pulumi:"style"` +type MonitorSchedulingOptionCustomSchedule struct { + // A list of recurrence definitions. Length must be 1. + Recurrence MonitorSchedulingOptionCustomScheduleRecurrence `pulumi:"recurrence"` } -// DashboardWidgetToplistDefinitionRequestInput is an input type that accepts DashboardWidgetToplistDefinitionRequestArgs and DashboardWidgetToplistDefinitionRequestOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestInput` via: +// MonitorSchedulingOptionCustomScheduleInput is an input type that accepts MonitorSchedulingOptionCustomScheduleArgs and MonitorSchedulingOptionCustomScheduleOutput values. +// You can construct a concrete instance of `MonitorSchedulingOptionCustomScheduleInput` via: // -// DashboardWidgetToplistDefinitionRequestArgs{...} -type DashboardWidgetToplistDefinitionRequestInput interface { +// MonitorSchedulingOptionCustomScheduleArgs{...} +type MonitorSchedulingOptionCustomScheduleInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestOutput() DashboardWidgetToplistDefinitionRequestOutput - ToDashboardWidgetToplistDefinitionRequestOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestOutput + ToMonitorSchedulingOptionCustomScheduleOutput() MonitorSchedulingOptionCustomScheduleOutput + ToMonitorSchedulingOptionCustomScheduleOutputWithContext(context.Context) MonitorSchedulingOptionCustomScheduleOutput } -type DashboardWidgetToplistDefinitionRequestArgs struct { - // The query to use for this widget. - ApmQuery DashboardWidgetToplistDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` - // Conditional formats allow you to set the color of your widget content or background, depending on a rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` - Formulas DashboardWidgetToplistDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The query to use for this widget. - LogQuery DashboardWidgetToplistDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries DashboardWidgetToplistDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery DashboardWidgetToplistDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` - // Define request for the widget's style. - Style DashboardWidgetToplistDefinitionRequestStylePtrInput `pulumi:"style"` +type MonitorSchedulingOptionCustomScheduleArgs struct { + // A list of recurrence definitions. Length must be 1. + Recurrence MonitorSchedulingOptionCustomScheduleRecurrenceInput `pulumi:"recurrence"` } -func (DashboardWidgetToplistDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +func (MonitorSchedulingOptionCustomScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOptionCustomSchedule)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestArgs) ToDashboardWidgetToplistDefinitionRequestOutput() DashboardWidgetToplistDefinitionRequestOutput { - return i.ToDashboardWidgetToplistDefinitionRequestOutputWithContext(context.Background()) +func (i MonitorSchedulingOptionCustomScheduleArgs) ToMonitorSchedulingOptionCustomScheduleOutput() MonitorSchedulingOptionCustomScheduleOutput { + return i.ToMonitorSchedulingOptionCustomScheduleOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestArgs) ToDashboardWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestOutput) +func (i MonitorSchedulingOptionCustomScheduleArgs) ToMonitorSchedulingOptionCustomScheduleOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionCustomScheduleOutput) } -// DashboardWidgetToplistDefinitionRequestArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestArray and DashboardWidgetToplistDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestArrayInput` via: +// MonitorSchedulingOptionCustomScheduleArrayInput is an input type that accepts MonitorSchedulingOptionCustomScheduleArray and MonitorSchedulingOptionCustomScheduleArrayOutput values. +// You can construct a concrete instance of `MonitorSchedulingOptionCustomScheduleArrayInput` via: // -// DashboardWidgetToplistDefinitionRequestArray{ DashboardWidgetToplistDefinitionRequestArgs{...} } -type DashboardWidgetToplistDefinitionRequestArrayInput interface { +// MonitorSchedulingOptionCustomScheduleArray{ MonitorSchedulingOptionCustomScheduleArgs{...} } +type MonitorSchedulingOptionCustomScheduleArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestArrayOutput() DashboardWidgetToplistDefinitionRequestArrayOutput - ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestArrayOutput + ToMonitorSchedulingOptionCustomScheduleArrayOutput() MonitorSchedulingOptionCustomScheduleArrayOutput + ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(context.Context) MonitorSchedulingOptionCustomScheduleArrayOutput } -type DashboardWidgetToplistDefinitionRequestArray []DashboardWidgetToplistDefinitionRequestInput +type MonitorSchedulingOptionCustomScheduleArray []MonitorSchedulingOptionCustomScheduleInput -func (DashboardWidgetToplistDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +func (MonitorSchedulingOptionCustomScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSchedulingOptionCustomSchedule)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestArray) ToDashboardWidgetToplistDefinitionRequestArrayOutput() DashboardWidgetToplistDefinitionRequestArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(context.Background()) +func (i MonitorSchedulingOptionCustomScheduleArray) ToMonitorSchedulingOptionCustomScheduleArrayOutput() MonitorSchedulingOptionCustomScheduleArrayOutput { + return i.ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestArray) ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestArrayOutput) +func (i MonitorSchedulingOptionCustomScheduleArray) ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionCustomScheduleArrayOutput) } -type DashboardWidgetToplistDefinitionRequestOutput struct{ *pulumi.OutputState } +type MonitorSchedulingOptionCustomScheduleOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +func (MonitorSchedulingOptionCustomScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOptionCustomSchedule)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestOutput) ToDashboardWidgetToplistDefinitionRequestOutput() DashboardWidgetToplistDefinitionRequestOutput { +func (o MonitorSchedulingOptionCustomScheduleOutput) ToMonitorSchedulingOptionCustomScheduleOutput() MonitorSchedulingOptionCustomScheduleOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestOutput) ToDashboardWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestOutput { +func (o MonitorSchedulingOptionCustomScheduleOutput) ToMonitorSchedulingOptionCustomScheduleOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleOutput { return o } -// The query to use for this widget. -func (o DashboardWidgetToplistDefinitionRequestOutput) ApmQuery() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestApmQuery { - return v.ApmQuery - }).(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) +// A list of recurrence definitions. Length must be 1. +func (o MonitorSchedulingOptionCustomScheduleOutput) Recurrence() MonitorSchedulingOptionCustomScheduleRecurrenceOutput { + return o.ApplyT(func(v MonitorSchedulingOptionCustomSchedule) MonitorSchedulingOptionCustomScheduleRecurrence { + return v.Recurrence + }).(MonitorSchedulingOptionCustomScheduleRecurrenceOutput) } -// The query to use for this widget. -func (o DashboardWidgetToplistDefinitionRequestOutput) AuditQuery() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestAuditQuery { - return v.AuditQuery - }).(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) +type MonitorSchedulingOptionCustomScheduleArrayOutput struct{ *pulumi.OutputState } + +func (MonitorSchedulingOptionCustomScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSchedulingOptionCustomSchedule)(nil)).Elem() } -// Conditional formats allow you to set the color of your widget content or background, depending on a rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestOutput) ConditionalFormats() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) []DashboardWidgetToplistDefinitionRequestConditionalFormat { - return v.ConditionalFormats - }).(DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) +func (o MonitorSchedulingOptionCustomScheduleArrayOutput) ToMonitorSchedulingOptionCustomScheduleArrayOutput() MonitorSchedulingOptionCustomScheduleArrayOutput { + return o } -func (o DashboardWidgetToplistDefinitionRequestOutput) Formulas() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) []DashboardWidgetToplistDefinitionRequestFormula { - return v.Formulas - }).(DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) +func (o MonitorSchedulingOptionCustomScheduleArrayOutput) ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleArrayOutput { + return o } -// The query to use for this widget. -func (o DashboardWidgetToplistDefinitionRequestOutput) LogQuery() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestLogQuery { - return v.LogQuery - }).(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) +func (o MonitorSchedulingOptionCustomScheduleArrayOutput) Index(i pulumi.IntInput) MonitorSchedulingOptionCustomScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSchedulingOptionCustomSchedule { + return vs[0].([]MonitorSchedulingOptionCustomSchedule)[vs[1].(int)] + }).(MonitorSchedulingOptionCustomScheduleOutput) } -// The process query to use in the widget. The structure of this block is described below. -func (o DashboardWidgetToplistDefinitionRequestOutput) ProcessQuery() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) +type MonitorSchedulingOptionCustomScheduleRecurrence struct { + // Must be a valid `rrule`. See API docs for supported fields + Rrule string `pulumi:"rrule"` + // Time to start recurrence cycle. Similar to DTSTART. Expected format 'YYYY-MM-DDThh:mm:ss' + Start *string `pulumi:"start"` + // 'tz database' format. Example: `America/New_York` or `UTC` + Timezone string `pulumi:"timezone"` } -// The metric query to use for this widget. -func (o DashboardWidgetToplistDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +// MonitorSchedulingOptionCustomScheduleRecurrenceInput is an input type that accepts MonitorSchedulingOptionCustomScheduleRecurrenceArgs and MonitorSchedulingOptionCustomScheduleRecurrenceOutput values. +// You can construct a concrete instance of `MonitorSchedulingOptionCustomScheduleRecurrenceInput` via: +// +// MonitorSchedulingOptionCustomScheduleRecurrenceArgs{...} +type MonitorSchedulingOptionCustomScheduleRecurrenceInput interface { + pulumi.Input + + ToMonitorSchedulingOptionCustomScheduleRecurrenceOutput() MonitorSchedulingOptionCustomScheduleRecurrenceOutput + ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(context.Context) MonitorSchedulingOptionCustomScheduleRecurrenceOutput } -func (o DashboardWidgetToplistDefinitionRequestOutput) Queries() DashboardWidgetToplistDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) []DashboardWidgetToplistDefinitionRequestQuery { - return v.Queries - }).(DashboardWidgetToplistDefinitionRequestQueryArrayOutput) +type MonitorSchedulingOptionCustomScheduleRecurrenceArgs struct { + // Must be a valid `rrule`. See API docs for supported fields + Rrule pulumi.StringInput `pulumi:"rrule"` + // Time to start recurrence cycle. Similar to DTSTART. Expected format 'YYYY-MM-DDThh:mm:ss' + Start pulumi.StringPtrInput `pulumi:"start"` + // 'tz database' format. Example: `America/New_York` or `UTC` + Timezone pulumi.StringInput `pulumi:"timezone"` } -// The query to use for this widget. -func (o DashboardWidgetToplistDefinitionRequestOutput) RumQuery() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestRumQuery { - return v.RumQuery - }).(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) +func (MonitorSchedulingOptionCustomScheduleRecurrenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOptionCustomScheduleRecurrence)(nil)).Elem() } -// The query to use for this widget. -func (o DashboardWidgetToplistDefinitionRequestOutput) SecurityQuery() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +func (i MonitorSchedulingOptionCustomScheduleRecurrenceArgs) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutput() MonitorSchedulingOptionCustomScheduleRecurrenceOutput { + return i.ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(context.Background()) } -// Define request for the widget's style. -func (o DashboardWidgetToplistDefinitionRequestOutput) Style() DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequest) *DashboardWidgetToplistDefinitionRequestStyle { - return v.Style - }).(DashboardWidgetToplistDefinitionRequestStylePtrOutput) +func (i MonitorSchedulingOptionCustomScheduleRecurrenceArgs) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleRecurrenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionCustomScheduleRecurrenceOutput) } -type DashboardWidgetToplistDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +type MonitorSchedulingOptionCustomScheduleRecurrenceOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequest)(nil)).Elem() +func (MonitorSchedulingOptionCustomScheduleRecurrenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOptionCustomScheduleRecurrence)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestArrayOutput) ToDashboardWidgetToplistDefinitionRequestArrayOutput() DashboardWidgetToplistDefinitionRequestArrayOutput { +func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutput() MonitorSchedulingOptionCustomScheduleRecurrenceOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestArrayOutput) ToDashboardWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestArrayOutput { +func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleRecurrenceOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequest { - return vs[0].([]DashboardWidgetToplistDefinitionRequest)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestOutput) +// Must be a valid `rrule`. See API docs for supported fields +func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) Rrule() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSchedulingOptionCustomScheduleRecurrence) string { return v.Rrule }).(pulumi.StringOutput) } -type DashboardWidgetToplistDefinitionRequestApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetToplistDefinitionRequestApmQueryGroupBy `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 []DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// Time to start recurrence cycle. Similar to DTSTART. Expected format 'YYYY-MM-DDThh:mm:ss' +func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) Start() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorSchedulingOptionCustomScheduleRecurrence) *string { return v.Start }).(pulumi.StringPtrOutput) } -// DashboardWidgetToplistDefinitionRequestApmQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryArgs and DashboardWidgetToplistDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryInput` via: -// -// DashboardWidgetToplistDefinitionRequestApmQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestApmQueryInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestApmQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryOutput +// 'tz database' format. Example: `America/New_York` or `UTC` +func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v MonitorSchedulingOptionCustomScheduleRecurrence) string { return v.Timezone }).(pulumi.StringOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type MonitorSchedulingOptionEvaluationWindow struct { + // The time of the day at which a one day cumulative evaluation window starts. Must be defined in UTC time in `HH:mm` format. + DayStarts *string `pulumi:"dayStarts"` + // The minute of the hour at which a one hour cumulative evaluation window starts. Must be between 0 and 59. + HourStarts *int `pulumi:"hourStarts"` + // The day of the month at which a one month cumulative evaluation window starts. Must be a value of 1. + MonthStarts *int `pulumi:"monthStarts"` } -func (DashboardWidgetToplistDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +// MonitorSchedulingOptionEvaluationWindowInput is an input type that accepts MonitorSchedulingOptionEvaluationWindowArgs and MonitorSchedulingOptionEvaluationWindowOutput values. +// You can construct a concrete instance of `MonitorSchedulingOptionEvaluationWindowInput` via: +// +// MonitorSchedulingOptionEvaluationWindowArgs{...} +type MonitorSchedulingOptionEvaluationWindowInput interface { + pulumi.Input + + ToMonitorSchedulingOptionEvaluationWindowOutput() MonitorSchedulingOptionEvaluationWindowOutput + ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(context.Context) MonitorSchedulingOptionEvaluationWindowOutput } -func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Background()) +type MonitorSchedulingOptionEvaluationWindowArgs struct { + // The time of the day at which a one day cumulative evaluation window starts. Must be defined in UTC time in `HH:mm` format. + DayStarts pulumi.StringPtrInput `pulumi:"dayStarts"` + // The minute of the hour at which a one hour cumulative evaluation window starts. Must be between 0 and 59. + HourStarts pulumi.IntPtrInput `pulumi:"hourStarts"` + // The day of the month at which a one month cumulative evaluation window starts. Must be a value of 1. + MonthStarts pulumi.IntPtrInput `pulumi:"monthStarts"` } -func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryOutput) +func (MonitorSchedulingOptionEvaluationWindowArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i MonitorSchedulingOptionEvaluationWindowArgs) ToMonitorSchedulingOptionEvaluationWindowOutput() MonitorSchedulingOptionEvaluationWindowOutput { + return i.ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryOutput).ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i MonitorSchedulingOptionEvaluationWindowArgs) ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionEvaluationWindowOutput) } -// DashboardWidgetToplistDefinitionRequestApmQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryArgs, DashboardWidgetToplistDefinitionRequestApmQueryPtr and DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestApmQueryArgs{...} -// -// or: +// MonitorSchedulingOptionEvaluationWindowArrayInput is an input type that accepts MonitorSchedulingOptionEvaluationWindowArray and MonitorSchedulingOptionEvaluationWindowArrayOutput values. +// You can construct a concrete instance of `MonitorSchedulingOptionEvaluationWindowArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestApmQueryPtrInput interface { +// MonitorSchedulingOptionEvaluationWindowArray{ MonitorSchedulingOptionEvaluationWindowArgs{...} } +type MonitorSchedulingOptionEvaluationWindowArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput + ToMonitorSchedulingOptionEvaluationWindowArrayOutput() MonitorSchedulingOptionEvaluationWindowArrayOutput + ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(context.Context) MonitorSchedulingOptionEvaluationWindowArrayOutput } -type dashboardWidgetToplistDefinitionRequestApmQueryPtrType DashboardWidgetToplistDefinitionRequestApmQueryArgs - -func DashboardWidgetToplistDefinitionRequestApmQueryPtr(v *DashboardWidgetToplistDefinitionRequestApmQueryArgs) DashboardWidgetToplistDefinitionRequestApmQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestApmQueryPtrType)(v) -} +type MonitorSchedulingOptionEvaluationWindowArray []MonitorSchedulingOptionEvaluationWindowInput -func (*dashboardWidgetToplistDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +func (MonitorSchedulingOptionEvaluationWindowArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestApmQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i MonitorSchedulingOptionEvaluationWindowArray) ToMonitorSchedulingOptionEvaluationWindowArrayOutput() MonitorSchedulingOptionEvaluationWindowArrayOutput { + return i.ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestApmQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) +func (i MonitorSchedulingOptionEvaluationWindowArray) ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionEvaluationWindowArrayOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type MonitorSchedulingOptionEvaluationWindowOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +func (MonitorSchedulingOptionEvaluationWindowOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryOutput { +func (o MonitorSchedulingOptionEvaluationWindowOutput) ToMonitorSchedulingOptionEvaluationWindowOutput() MonitorSchedulingOptionEvaluationWindowOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryOutput { +func (o MonitorSchedulingOptionEvaluationWindowOutput) ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +// The time of the day at which a one day cumulative evaluation window starts. Must be defined in UTC time in `HH:mm` format. +func (o MonitorSchedulingOptionEvaluationWindowOutput) DayStarts() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorSchedulingOptionEvaluationWindow) *string { return v.DayStarts }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestApmQuery) *DashboardWidgetToplistDefinitionRequestApmQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) +// The minute of the hour at which a one hour cumulative evaluation window starts. Must be between 0 and 59. +func (o MonitorSchedulingOptionEvaluationWindowOutput) HourStarts() pulumi.IntPtrOutput { + return o.ApplyT(func(v MonitorSchedulingOptionEvaluationWindow) *int { return v.HourStarts }).(pulumi.IntPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) GroupBies() DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetToplistDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The day of the month at which a one month cumulative evaluation window starts. Must be a value of 1. +func (o MonitorSchedulingOptionEvaluationWindowOutput) MonthStarts() pulumi.IntPtrOutput { + return o.ApplyT(func(v MonitorSchedulingOptionEvaluationWindow) *int { return v.MonthStarts }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type MonitorSchedulingOptionEvaluationWindowArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +func (MonitorSchedulingOptionEvaluationWindowArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { +func (o MonitorSchedulingOptionEvaluationWindowArrayOutput) ToMonitorSchedulingOptionEvaluationWindowArrayOutput() MonitorSchedulingOptionEvaluationWindowArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput { +func (o MonitorSchedulingOptionEvaluationWindowArrayOutput) ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) DashboardWidgetToplistDefinitionRequestApmQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestApmQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestApmQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) GroupBies() DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetToplistDefinitionRequestApmQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) *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 DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) []DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +func (o MonitorSchedulingOptionEvaluationWindowArrayOutput) Index(i pulumi.IntInput) MonitorSchedulingOptionEvaluationWindowOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSchedulingOptionEvaluationWindow { + return vs[0].([]MonitorSchedulingOptionEvaluationWindow)[vs[1].(int)] + }).(MonitorSchedulingOptionEvaluationWindowOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery 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"` +type MonitorVariables struct { + // A timeseries formula and functions events query. + EventQueries []MonitorVariablesEventQuery `pulumi:"eventQueries"` } -// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput` via: +// MonitorVariablesInput is an input type that accepts MonitorVariablesArgs and MonitorVariablesOutput values. +// You can construct a concrete instance of `MonitorVariablesInput` via: // -// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput interface { +// MonitorVariablesArgs{...} +type MonitorVariablesInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput + ToMonitorVariablesOutput() MonitorVariablesOutput + ToMonitorVariablesOutputWithContext(context.Context) MonitorVariablesOutput } -type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs 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"` +type MonitorVariablesArgs struct { + // A timeseries formula and functions events query. + EventQueries MonitorVariablesEventQueryArrayInput `pulumi:"eventQueries"` } -func (DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (MonitorVariablesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariables)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i MonitorVariablesArgs) ToMonitorVariablesOutput() MonitorVariablesOutput { + return i.ToMonitorVariablesOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) +func (i MonitorVariablesArgs) ToMonitorVariablesOutputWithContext(ctx context.Context) MonitorVariablesOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesOutput) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i MonitorVariablesArgs) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { + return i.ToMonitorVariablesPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i MonitorVariablesArgs) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesOutput).ToMonitorVariablesPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput` via: +// MonitorVariablesPtrInput is an input type that accepts MonitorVariablesArgs, MonitorVariablesPtr and MonitorVariablesPtrOutput values. +// You can construct a concrete instance of `MonitorVariablesPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} +// MonitorVariablesArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput interface { +type MonitorVariablesPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput + ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput + ToMonitorVariablesPtrOutputWithContext(context.Context) MonitorVariablesPtrOutput } -type dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs +type monitorVariablesPtrType MonitorVariablesArgs -func DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType)(v) +func MonitorVariablesPtr(v *MonitorVariablesArgs) MonitorVariablesPtrInput { + return (*monitorVariablesPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*monitorVariablesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorVariables)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *monitorVariablesPtrType) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { + return i.ToMonitorVariablesPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *monitorVariablesPtrType) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesPtrOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type MonitorVariablesOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (MonitorVariablesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariables)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { +func (o MonitorVariablesOutput) ToMonitorVariablesOutput() MonitorVariablesOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { +func (o MonitorVariablesOutput) ToMonitorVariablesOutputWithContext(ctx context.Context) MonitorVariablesOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o MonitorVariablesOutput) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { + return o.ToMonitorVariablesPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { +func (o MonitorVariablesOutput) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorVariables) *MonitorVariables { return &v - }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) + }).(MonitorVariablesPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// A timeseries formula and functions events query. +func (o MonitorVariablesOutput) EventQueries() MonitorVariablesEventQueryArrayOutput { + return o.ApplyT(func(v MonitorVariables) []MonitorVariablesEventQuery { return v.EventQueries }).(MonitorVariablesEventQueryArrayOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type MonitorVariablesPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (MonitorVariablesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorVariables)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o MonitorVariablesPtrOutput) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o MonitorVariablesPtrOutput) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { +func (o MonitorVariablesPtrOutput) Elem() MonitorVariablesOutput { + return o.ApplyT(func(v *MonitorVariables) MonitorVariables { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery + var ret MonitorVariables return ret - }).(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) + }).(MonitorVariablesOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery) *int { +// A timeseries formula and functions events query. +func (o MonitorVariablesPtrOutput) EventQueries() MonitorVariablesEventQueryArrayOutput { + return o.ApplyT(func(v *MonitorVariables) []MonitorVariablesEventQuery { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.EventQueries + }).(MonitorVariablesEventQueryArrayOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` +type MonitorVariablesEventQuery struct { + // The compute options. + Computes []MonitorVariablesEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []MonitorVariablesEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search MonitorVariablesEventQuerySearch `pulumi:"search"` } -// DashboardWidgetToplistDefinitionRequestApmQueryGroupByInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs and DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryGroupByInput` via: +// MonitorVariablesEventQueryInput is an input type that accepts MonitorVariablesEventQueryArgs and MonitorVariablesEventQueryOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs{...} -type DashboardWidgetToplistDefinitionRequestApmQueryGroupByInput interface { +// MonitorVariablesEventQueryArgs{...} +type MonitorVariablesEventQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput + ToMonitorVariablesEventQueryOutput() MonitorVariablesEventQueryOutput + ToMonitorVariablesEventQueryOutputWithContext(context.Context) MonitorVariablesEventQueryOutput } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type MonitorVariablesEventQueryArgs struct { + // The compute options. + Computes MonitorVariablesEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies MonitorVariablesEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search MonitorVariablesEventQuerySearchInput `pulumi:"search"` } -func (DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (MonitorVariablesEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryArgs) ToMonitorVariablesEventQueryOutput() MonitorVariablesEventQueryOutput { + return i.ToMonitorVariablesEventQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) +func (i MonitorVariablesEventQueryArgs) ToMonitorVariablesEventQueryOutputWithContext(ctx context.Context) MonitorVariablesEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryOutput) } -// DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryGroupByArray and DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayInput` via: +// MonitorVariablesEventQueryArrayInput is an input type that accepts MonitorVariablesEventQueryArray and MonitorVariablesEventQueryArrayOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryArrayInput` via: // -// DashboardWidgetToplistDefinitionRequestApmQueryGroupByArray{ DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs{...} } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayInput interface { +// MonitorVariablesEventQueryArray{ MonitorVariablesEventQueryArgs{...} } +type MonitorVariablesEventQueryArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput + ToMonitorVariablesEventQueryArrayOutput() MonitorVariablesEventQueryArrayOutput + ToMonitorVariablesEventQueryArrayOutputWithContext(context.Context) MonitorVariablesEventQueryArrayOutput } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupByArray []DashboardWidgetToplistDefinitionRequestApmQueryGroupByInput +type MonitorVariablesEventQueryArray []MonitorVariablesEventQueryInput -func (DashboardWidgetToplistDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (MonitorVariablesEventQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorVariablesEventQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryArray) ToMonitorVariablesEventQueryArrayOutput() MonitorVariablesEventQueryArrayOutput { + return i.ToMonitorVariablesEventQueryArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) +func (i MonitorVariablesEventQueryArray) ToMonitorVariablesEventQueryArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryArrayOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (MonitorVariablesEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput { +func (o MonitorVariablesEventQueryOutput) ToMonitorVariablesEventQueryOutput() MonitorVariablesEventQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput { +func (o MonitorVariablesEventQueryOutput) ToMonitorVariablesEventQueryOutputWithContext(ctx context.Context) MonitorVariablesEventQueryOutput { return o } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The compute options. +func (o MonitorVariablesEventQueryOutput) Computes() MonitorVariablesEventQueryComputeArrayOutput { + return o.ApplyT(func(v MonitorVariablesEventQuery) []MonitorVariablesEventQueryCompute { return v.Computes }).(MonitorVariablesEventQueryComputeArrayOutput) } -// The maximum number of items in the group. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`. +func (o MonitorVariablesEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v MonitorVariablesEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) SortQuery() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryGroupBy) *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// Group by options. +func (o MonitorVariablesEventQueryOutput) GroupBies() MonitorVariablesEventQueryGroupByArrayOutput { + return o.ApplyT(func(v MonitorVariablesEventQuery) []MonitorVariablesEventQueryGroupBy { return v.GroupBies }).(MonitorVariablesEventQueryGroupByArrayOutput) +} + +// An array of index names to query in the stream. +func (o MonitorVariablesEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v MonitorVariablesEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o MonitorVariablesEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v MonitorVariablesEventQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The search options. +func (o MonitorVariablesEventQueryOutput) Search() MonitorVariablesEventQuerySearchOutput { + return o.ApplyT(func(v MonitorVariablesEventQuery) MonitorVariablesEventQuerySearch { return v.Search }).(MonitorVariablesEventQuerySearchOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (MonitorVariablesEventQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorVariablesEventQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { +func (o MonitorVariablesEventQueryArrayOutput) ToMonitorVariablesEventQueryArrayOutput() MonitorVariablesEventQueryArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { +func (o MonitorVariablesEventQueryArrayOutput) ToMonitorVariablesEventQueryArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestApmQueryGroupBy { - return vs[0].([]DashboardWidgetToplistDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput) +func (o MonitorVariablesEventQueryArrayOutput) Index(i pulumi.IntInput) MonitorVariablesEventQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorVariablesEventQuery { + return vs[0].([]MonitorVariablesEventQuery)[vs[1].(int)] + }).(MonitorVariablesEventQueryOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. +type MonitorVariablesEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // A time interval in milliseconds. + Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs and DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput` via: +// MonitorVariablesEventQueryComputeInput is an input type that accepts MonitorVariablesEventQueryComputeArgs and MonitorVariablesEventQueryComputeOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryComputeInput` via: // -// DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput interface { +// MonitorVariablesEventQueryComputeArgs{...} +type MonitorVariablesEventQueryComputeInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput + ToMonitorVariablesEventQueryComputeOutput() MonitorVariablesEventQueryComputeOutput + ToMonitorVariablesEventQueryComputeOutputWithContext(context.Context) MonitorVariablesEventQueryComputeOutput } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. +type MonitorVariablesEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) + // A time interval in milliseconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) +func (MonitorVariablesEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQueryCompute)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryComputeArgs) ToMonitorVariablesEventQueryComputeOutput() MonitorVariablesEventQueryComputeOutput { + return i.ToMonitorVariablesEventQueryComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput).ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i MonitorVariablesEventQueryComputeArgs) ToMonitorVariablesEventQueryComputeOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryComputeOutput) } -// DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs, DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtr and DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: +// MonitorVariablesEventQueryComputeArrayInput is an input type that accepts MonitorVariablesEventQueryComputeArray and MonitorVariablesEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryComputeArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +// MonitorVariablesEventQueryComputeArray{ MonitorVariablesEventQueryComputeArgs{...} } +type MonitorVariablesEventQueryComputeArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToMonitorVariablesEventQueryComputeArrayOutput() MonitorVariablesEventQueryComputeArrayOutput + ToMonitorVariablesEventQueryComputeArrayOutputWithContext(context.Context) MonitorVariablesEventQueryComputeArrayOutput } -type dashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs - -func DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtr(v *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} +type MonitorVariablesEventQueryComputeArray []MonitorVariablesEventQueryComputeInput -func (*dashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (MonitorVariablesEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorVariablesEventQueryCompute)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryComputeArray) ToMonitorVariablesEventQueryComputeArrayOutput() MonitorVariablesEventQueryComputeArrayOutput { + return i.ToMonitorVariablesEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i MonitorVariablesEventQueryComputeArray) ToMonitorVariablesEventQueryComputeArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryComputeArrayOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (MonitorVariablesEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQueryCompute)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o MonitorVariablesEventQueryComputeOutput) ToMonitorVariablesEventQueryComputeOutput() MonitorVariablesEventQueryComputeOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o MonitorVariablesEventQueryComputeOutput) ToMonitorVariablesEventQueryComputeOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o MonitorVariablesEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// A time interval in milliseconds. +func (o MonitorVariablesEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The measurable attribute to compute. +func (o MonitorVariablesEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (MonitorVariablesEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorVariablesEventQueryCompute)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o MonitorVariablesEventQueryComputeArrayOutput) ToMonitorVariablesEventQueryComputeArrayOutput() MonitorVariablesEventQueryComputeArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o MonitorVariablesEventQueryComputeArrayOutput) ToMonitorVariablesEventQueryComputeArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) +func (o MonitorVariablesEventQueryComputeArrayOutput) Index(i pulumi.IntInput) MonitorVariablesEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorVariablesEventQueryCompute { + return vs[0].([]MonitorVariablesEventQueryCompute)[vs[1].(int)] + }).(MonitorVariablesEventQueryComputeOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute 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"` +type MonitorVariablesEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. + Limit *int `pulumi:"limit"` + // The options for sorting group by results. + Sort *MonitorVariablesEventQueryGroupBySort `pulumi:"sort"` } -// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput` via: +// MonitorVariablesEventQueryGroupByInput is an input type that accepts MonitorVariablesEventQueryGroupByArgs and MonitorVariablesEventQueryGroupByOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryGroupByInput` via: // -// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} -type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput interface { +// MonitorVariablesEventQueryGroupByArgs{...} +type MonitorVariablesEventQueryGroupByInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput + ToMonitorVariablesEventQueryGroupByOutput() MonitorVariablesEventQueryGroupByOutput + ToMonitorVariablesEventQueryGroupByOutputWithContext(context.Context) MonitorVariablesEventQueryGroupByOutput } -type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs 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"` +type MonitorVariablesEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The options for sorting group by results. + Sort MonitorVariablesEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (MonitorVariablesEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryGroupByArgs) ToMonitorVariablesEventQueryGroupByOutput() MonitorVariablesEventQueryGroupByOutput { + return i.ToMonitorVariablesEventQueryGroupByOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) +func (i MonitorVariablesEventQueryGroupByArgs) ToMonitorVariablesEventQueryGroupByOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupByOutput) } -// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput` via: +// MonitorVariablesEventQueryGroupByArrayInput is an input type that accepts MonitorVariablesEventQueryGroupByArray and MonitorVariablesEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryGroupByArrayInput` via: // -// DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} } -type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput interface { +// MonitorVariablesEventQueryGroupByArray{ MonitorVariablesEventQueryGroupByArgs{...} } +type MonitorVariablesEventQueryGroupByArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput - ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput + ToMonitorVariablesEventQueryGroupByArrayOutput() MonitorVariablesEventQueryGroupByArrayOutput + ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(context.Context) MonitorVariablesEventQueryGroupByArrayOutput } -type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput +type MonitorVariablesEventQueryGroupByArray []MonitorVariablesEventQueryGroupByInput -func (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (MonitorVariablesEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorVariablesEventQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryGroupByArray) ToMonitorVariablesEventQueryGroupByArrayOutput() MonitorVariablesEventQueryGroupByArrayOutput { + return i.ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i MonitorVariablesEventQueryGroupByArray) ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupByArrayOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (MonitorVariablesEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { +func (o MonitorVariablesEventQueryGroupByOutput) ToMonitorVariablesEventQueryGroupByOutput() MonitorVariablesEventQueryGroupByOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { +func (o MonitorVariablesEventQueryGroupByOutput) ToMonitorVariablesEventQueryGroupByOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByOutput { return o } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The event facet. +func (o MonitorVariablesEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The number of groups to return. +func (o MonitorVariablesEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The options for sorting group by results. +func (o MonitorVariablesEventQueryGroupByOutput) Sort() MonitorVariablesEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryGroupBy) *MonitorVariablesEventQueryGroupBySort { return v.Sort }).(MonitorVariablesEventQueryGroupBySortPtrOutput) } -type DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (MonitorVariablesEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MonitorVariablesEventQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o MonitorVariablesEventQueryGroupByArrayOutput) ToMonitorVariablesEventQueryGroupByArrayOutput() MonitorVariablesEventQueryGroupByArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o MonitorVariablesEventQueryGroupByArrayOutput) ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { - return vs[0].([]DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) +func (o MonitorVariablesEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) MonitorVariablesEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorVariablesEventQueryGroupBy { + return vs[0].([]MonitorVariablesEventQueryGroupBy)[vs[1].(int)] + }).(MonitorVariablesEventQueryGroupByOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy `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 []DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type MonitorVariablesEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// DashboardWidgetToplistDefinitionRequestAuditQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryArgs and DashboardWidgetToplistDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryInput` via: +// MonitorVariablesEventQueryGroupBySortInput is an input type that accepts MonitorVariablesEventQueryGroupBySortArgs and MonitorVariablesEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryGroupBySortInput` via: // -// DashboardWidgetToplistDefinitionRequestAuditQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestAuditQueryInput interface { +// MonitorVariablesEventQueryGroupBySortArgs{...} +type MonitorVariablesEventQueryGroupBySortInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestAuditQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryOutput + ToMonitorVariablesEventQueryGroupBySortOutput() MonitorVariablesEventQueryGroupBySortOutput + ToMonitorVariablesEventQueryGroupBySortOutputWithContext(context.Context) MonitorVariablesEventQueryGroupBySortOutput } -type DashboardWidgetToplistDefinitionRequestAuditQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type MonitorVariablesEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (MonitorVariablesEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQueryGroupBySort)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortOutput() MonitorVariablesEventQueryGroupBySortOutput { + return i.ToMonitorVariablesEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryOutput) +func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupBySortOutput) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { + return i.ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryOutput).ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupBySortOutput).ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryArgs, DashboardWidgetToplistDefinitionRequestAuditQueryPtr and DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput` via: +// MonitorVariablesEventQueryGroupBySortPtrInput is an input type that accepts MonitorVariablesEventQueryGroupBySortArgs, MonitorVariablesEventQueryGroupBySortPtr and MonitorVariablesEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQueryGroupBySortPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestAuditQueryArgs{...} +// MonitorVariablesEventQueryGroupBySortArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput interface { +type MonitorVariablesEventQueryGroupBySortPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput + ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput + ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput } -type dashboardWidgetToplistDefinitionRequestAuditQueryPtrType DashboardWidgetToplistDefinitionRequestAuditQueryArgs +type monitorVariablesEventQueryGroupBySortPtrType MonitorVariablesEventQueryGroupBySortArgs -func DashboardWidgetToplistDefinitionRequestAuditQueryPtr(v *DashboardWidgetToplistDefinitionRequestAuditQueryArgs) DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestAuditQueryPtrType)(v) +func MonitorVariablesEventQueryGroupBySortPtr(v *MonitorVariablesEventQueryGroupBySortArgs) MonitorVariablesEventQueryGroupBySortPtrInput { + return (*monitorVariablesEventQueryGroupBySortPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (*monitorVariablesEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorVariablesEventQueryGroupBySort)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestAuditQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i *monitorVariablesEventQueryGroupBySortPtrType) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { + return i.ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestAuditQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) +func (i *monitorVariablesEventQueryGroupBySortPtrType) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupBySortPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (MonitorVariablesEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQueryGroupBySort)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryOutput { +func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortOutput() MonitorVariablesEventQueryGroupBySortOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryOutput { +func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { + return o.ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestAuditQuery) *DashboardWidgetToplistDefinitionRequestAuditQuery { +func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorVariablesEventQueryGroupBySort) *MonitorVariablesEventQueryGroupBySort { return &v - }).(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) GroupBies() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) + }).(MonitorVariablesEventQueryGroupBySortPtrOutput) } -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o MonitorVariablesEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +// The metric used for sorting group by results. +func (o MonitorVariablesEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Direction of sort. Valid values are `asc`, `desc`. +func (o MonitorVariablesEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v MonitorVariablesEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } +type MonitorVariablesEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (MonitorVariablesEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MonitorVariablesEventQueryGroupBySort)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { +func (o MonitorVariablesEventQueryGroupBySortPtrOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput { +func (o MonitorVariablesEventQueryGroupBySortPtrOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) DashboardWidgetToplistDefinitionRequestAuditQuery { +func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Elem() MonitorVariablesEventQueryGroupBySortOutput { + return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) MonitorVariablesEventQueryGroupBySort { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestAuditQuery + var ret MonitorVariablesEventQueryGroupBySort return ret - }).(DashboardWidgetToplistDefinitionRequestAuditQueryOutput) + }).(MonitorVariablesEventQueryGroupBySortOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) *string { if v == nil { return nil } - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) GroupBies() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy { +// The metric used for sorting group by results. +func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) *string { if v == nil { return nil } - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) + return v.Metric + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) *string { +// Direction of sort. Valid values are `asc`, `desc`. +func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) *string { if v == nil { return nil } - return &v.Index + return v.Order }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) []DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +type MonitorVariablesEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +// MonitorVariablesEventQuerySearchInput is an input type that accepts MonitorVariablesEventQuerySearchArgs and MonitorVariablesEventQuerySearchOutput values. +// You can construct a concrete instance of `MonitorVariablesEventQuerySearchInput` via: +// +// MonitorVariablesEventQuerySearchArgs{...} +type MonitorVariablesEventQuerySearchInput interface { + pulumi.Input + + ToMonitorVariablesEventQuerySearchOutput() MonitorVariablesEventQuerySearchOutput + ToMonitorVariablesEventQuerySearchOutputWithContext(context.Context) MonitorVariablesEventQuerySearchOutput } -type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery 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"` +type MonitorVariablesEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput` via: -// -// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput interface { - pulumi.Input +func (MonitorVariablesEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQuerySearch)(nil)).Elem() +} - ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput +func (i MonitorVariablesEventQuerySearchArgs) ToMonitorVariablesEventQuerySearchOutput() MonitorVariablesEventQuerySearchOutput { + return i.ToMonitorVariablesEventQuerySearchOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs 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 (i MonitorVariablesEventQuerySearchArgs) ToMonitorVariablesEventQuerySearchOutputWithContext(ctx context.Context) MonitorVariablesEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQuerySearchOutput) } -func (DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +type MonitorVariablesEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (MonitorVariablesEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MonitorVariablesEventQuerySearch)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) +func (o MonitorVariablesEventQuerySearchOutput) ToMonitorVariablesEventQuerySearchOutput() MonitorVariablesEventQuerySearchOutput { + return o } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) +func (o MonitorVariablesEventQuerySearchOutput) ToMonitorVariablesEventQuerySearchOutputWithContext(ctx context.Context) MonitorVariablesEventQuerySearchOutput { + return o } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +// The events search string. +func (o MonitorVariablesEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v MonitorVariablesEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) +type OrganizationSettingsSettings struct { + // Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. + PrivateWidgetShare *bool `pulumi:"privateWidgetShare"` + // SAML properties + Saml OrganizationSettingsSettingsSaml `pulumi:"saml"` + // The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. + SamlAutocreateAccessRole *string `pulumi:"samlAutocreateAccessRole"` + // List of domains where the SAML automated user creation is enabled. + SamlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomains `pulumi:"samlAutocreateUsersDomains"` + // Whether or not SAML can be enabled for this organization. + SamlCanBeEnabled *bool `pulumi:"samlCanBeEnabled"` + // Identity provider endpoint for SAML authentication. + SamlIdpEndpoint *string `pulumi:"samlIdpEndpoint"` + // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. + SamlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLogin `pulumi:"samlIdpInitiatedLogin"` + // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. + SamlIdpMetadataUploaded *bool `pulumi:"samlIdpMetadataUploaded"` + // URL for SAML logging. + SamlLoginUrl *string `pulumi:"samlLoginUrl"` + // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. + SamlStrictMode OrganizationSettingsSettingsSamlStrictMode `pulumi:"samlStrictMode"` } -// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} -// -// or: +// OrganizationSettingsSettingsInput is an input type that accepts OrganizationSettingsSettingsArgs and OrganizationSettingsSettingsOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput interface { +// OrganizationSettingsSettingsArgs{...} +type OrganizationSettingsSettingsInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput + ToOrganizationSettingsSettingsOutput() OrganizationSettingsSettingsOutput + ToOrganizationSettingsSettingsOutputWithContext(context.Context) OrganizationSettingsSettingsOutput } -type dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs - -func DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType)(v) +type OrganizationSettingsSettingsArgs struct { + // Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. + PrivateWidgetShare pulumi.BoolPtrInput `pulumi:"privateWidgetShare"` + // SAML properties + Saml OrganizationSettingsSettingsSamlInput `pulumi:"saml"` + // The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. + SamlAutocreateAccessRole pulumi.StringPtrInput `pulumi:"samlAutocreateAccessRole"` + // List of domains where the SAML automated user creation is enabled. + SamlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput `pulumi:"samlAutocreateUsersDomains"` + // Whether or not SAML can be enabled for this organization. + SamlCanBeEnabled pulumi.BoolPtrInput `pulumi:"samlCanBeEnabled"` + // Identity provider endpoint for SAML authentication. + SamlIdpEndpoint pulumi.StringPtrInput `pulumi:"samlIdpEndpoint"` + // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. + SamlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLoginInput `pulumi:"samlIdpInitiatedLogin"` + // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. + SamlIdpMetadataUploaded pulumi.BoolPtrInput `pulumi:"samlIdpMetadataUploaded"` + // URL for SAML logging. + SamlLoginUrl pulumi.StringPtrInput `pulumi:"samlLoginUrl"` + // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. + SamlStrictMode OrganizationSettingsSettingsSamlStrictModeInput `pulumi:"samlStrictMode"` } -func (*dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (OrganizationSettingsSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettings)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsOutput() OrganizationSettingsSettingsOutput { + return i.ToOrganizationSettingsSettingsOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) +func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { + return i.ToOrganizationSettingsSettingsPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return o +func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsOutput).ToOrganizationSettingsSettingsPtrOutputWithContext(ctx) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return o -} +// OrganizationSettingsSettingsPtrInput is an input type that accepts OrganizationSettingsSettingsArgs, OrganizationSettingsSettingsPtr and OrganizationSettingsSettingsPtrOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsPtrInput` via: +// +// OrganizationSettingsSettingsArgs{...} +// +// or: +// +// nil +type OrganizationSettingsSettingsPtrInput interface { + pulumi.Input -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) + ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput + ToOrganizationSettingsSettingsPtrOutputWithContext(context.Context) OrganizationSettingsSettingsPtrOutput } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) +type organizationSettingsSettingsPtrType OrganizationSettingsSettingsArgs + +func OrganizationSettingsSettingsPtr(v *OrganizationSettingsSettingsArgs) OrganizationSettingsSettingsPtrInput { + return (*organizationSettingsSettingsPtrType)(v) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (*organizationSettingsSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettings)(nil)).Elem() } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i *organizationSettingsSettingsPtrType) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { + return i.ToOrganizationSettingsSettingsPtrOutputWithContext(context.Background()) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (i *organizationSettingsSettingsPtrType) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type OrganizationSettingsSettingsOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (OrganizationSettingsSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettings)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsOutput() OrganizationSettingsSettingsOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) +func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { + return o.ToOrganizationSettingsSettingsPtrOutputWithContext(context.Background()) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettings) *OrganizationSettingsSettings { + return &v + }).(OrganizationSettingsSettingsPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +// Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. +func (o OrganizationSettingsSettingsOutput) PrivateWidgetShare() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) *bool { return v.PrivateWidgetShare }).(pulumi.BoolPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +// SAML properties +func (o OrganizationSettingsSettingsOutput) Saml() OrganizationSettingsSettingsSamlOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSaml { return v.Saml }).(OrganizationSettingsSettingsSamlOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` +// The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. +func (o OrganizationSettingsSettingsOutput) SamlAutocreateAccessRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) *string { return v.SamlAutocreateAccessRole }).(pulumi.StringPtrOutput) } -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupByInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs and DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryGroupByInput` via: -// -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs{...} -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput +// List of domains where the SAML automated user creation is enabled. +func (o OrganizationSettingsSettingsOutput) SamlAutocreateUsersDomains() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSamlAutocreateUsersDomains { + return v.SamlAutocreateUsersDomains + }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +// Whether or not SAML can be enabled for this organization. +func (o OrganizationSettingsSettingsOutput) SamlCanBeEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) *bool { return v.SamlCanBeEnabled }).(pulumi.BoolPtrOutput) } -func (DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +// Identity provider endpoint for SAML authentication. +func (o OrganizationSettingsSettingsOutput) SamlIdpEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) *string { return v.SamlIdpEndpoint }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) +// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. +func (o OrganizationSettingsSettingsOutput) SamlIdpInitiatedLogin() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSamlIdpInitiatedLogin { + return v.SamlIdpInitiatedLogin + }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) +// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. +func (o OrganizationSettingsSettingsOutput) SamlIdpMetadataUploaded() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) *bool { return v.SamlIdpMetadataUploaded }).(pulumi.BoolPtrOutput) } -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArray and DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput` via: -// -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArray{ DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs{...} } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput interface { - pulumi.Input +// URL for SAML logging. +func (o OrganizationSettingsSettingsOutput) SamlLoginUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) *string { return v.SamlLoginUrl }).(pulumi.StringPtrOutput) +} - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput +// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. +func (o OrganizationSettingsSettingsOutput) SamlStrictMode() OrganizationSettingsSettingsSamlStrictModeOutput { + return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSamlStrictMode { + return v.SamlStrictMode + }).(OrganizationSettingsSettingsSamlStrictModeOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArray []DashboardWidgetToplistDefinitionRequestAuditQueryGroupByInput +type OrganizationSettingsSettingsPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (OrganizationSettingsSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettings)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) +func (o OrganizationSettingsSettingsPtrOutput) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { + return o } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) +func (o OrganizationSettingsSettingsPtrOutput) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { + return o } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (o OrganizationSettingsSettingsPtrOutput) Elem() OrganizationSettingsSettingsOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) OrganizationSettingsSettings { + if v != nil { + return *v + } + var ret OrganizationSettingsSettings + return ret + }).(OrganizationSettingsSettingsOutput) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return o +// Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. +func (o OrganizationSettingsSettingsPtrOutput) PrivateWidgetShare() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *bool { + if v == nil { + return nil + } + return v.PrivateWidgetShare + }).(pulumi.BoolPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return o +// SAML properties +func (o OrganizationSettingsSettingsPtrOutput) Saml() OrganizationSettingsSettingsSamlPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSaml { + if v == nil { + return nil + } + return &v.Saml + }).(OrganizationSettingsSettingsSamlPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. +func (o OrganizationSettingsSettingsPtrOutput) SamlAutocreateAccessRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *string { + if v == nil { + return nil + } + return v.SamlAutocreateAccessRole + }).(pulumi.StringPtrOutput) } -// The maximum number of items in the group. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// List of domains where the SAML automated user creation is enabled. +func (o OrganizationSettingsSettingsPtrOutput) SamlAutocreateUsersDomains() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSamlAutocreateUsersDomains { + if v == nil { + return nil + } + return &v.SamlAutocreateUsersDomains + }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) SortQuery() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy) *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +// Whether or not SAML can be enabled for this organization. +func (o OrganizationSettingsSettingsPtrOutput) SamlCanBeEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *bool { + if v == nil { + return nil + } + return v.SamlCanBeEnabled + }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// Identity provider endpoint for SAML authentication. +func (o OrganizationSettingsSettingsPtrOutput) SamlIdpEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *string { + if v == nil { + return nil + } + return v.SamlIdpEndpoint + }).(pulumi.StringPtrOutput) +} -func (DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. +func (o OrganizationSettingsSettingsPtrOutput) SamlIdpInitiatedLogin() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSamlIdpInitiatedLogin { + if v == nil { + return nil + } + return &v.SamlIdpInitiatedLogin + }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o +// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. +func (o OrganizationSettingsSettingsPtrOutput) SamlIdpMetadataUploaded() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *bool { + if v == nil { + return nil + } + return v.SamlIdpMetadataUploaded + }).(pulumi.BoolPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o +// URL for SAML logging. +func (o OrganizationSettingsSettingsPtrOutput) SamlLoginUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *string { + if v == nil { + return nil + } + return v.SamlLoginUrl + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy { - return vs[0].([]DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput) +// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. +func (o OrganizationSettingsSettingsPtrOutput) SamlStrictMode() OrganizationSettingsSettingsSamlStrictModePtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSamlStrictMode { + if v == nil { + return nil + } + return &v.SamlStrictMode + }).(OrganizationSettingsSettingsSamlStrictModePtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type OrganizationSettingsSettingsSaml struct { + // Whether or not SAML is enabled for this organization. Defaults to `false`. + Enabled *bool `pulumi:"enabled"` } -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs and DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput` via: +// OrganizationSettingsSettingsSamlInput is an input type that accepts OrganizationSettingsSettingsSamlArgs and OrganizationSettingsSettingsSamlOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlInput` via: // -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput interface { +// OrganizationSettingsSettingsSamlArgs{...} +type OrganizationSettingsSettingsSamlInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput + ToOrganizationSettingsSettingsSamlOutput() OrganizationSettingsSettingsSamlOutput + ToOrganizationSettingsSettingsSamlOutputWithContext(context.Context) OrganizationSettingsSettingsSamlOutput } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type OrganizationSettingsSettingsSamlArgs struct { + // Whether or not SAML is enabled for this organization. Defaults to `false`. + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (OrganizationSettingsSettingsSamlArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSaml)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlOutput() OrganizationSettingsSettingsSamlOutput { + return i.ToOrganizationSettingsSettingsSamlOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) +func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlOutput) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { + return i.ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput).ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlOutput).ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs, DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtr and DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: +// OrganizationSettingsSettingsSamlPtrInput is an input type that accepts OrganizationSettingsSettingsSamlArgs, OrganizationSettingsSettingsSamlPtr and OrganizationSettingsSettingsSamlPtrOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +// OrganizationSettingsSettingsSamlArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { +type OrganizationSettingsSettingsSamlPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput + ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlPtrOutput } -type dashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs +type organizationSettingsSettingsSamlPtrType OrganizationSettingsSettingsSamlArgs -func DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtr(v *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) +func OrganizationSettingsSettingsSamlPtr(v *OrganizationSettingsSettingsSamlArgs) OrganizationSettingsSettingsSamlPtrInput { + return (*organizationSettingsSettingsSamlPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (*organizationSettingsSettingsSamlPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSaml)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *organizationSettingsSettingsSamlPtrType) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { + return i.ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +func (i *organizationSettingsSettingsSamlPtrType) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type OrganizationSettingsSettingsSamlOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (OrganizationSettingsSettingsSamlOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSaml)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlOutput() OrganizationSettingsSettingsSamlOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { + return o.ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { +func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSaml) *OrganizationSettingsSettingsSaml { return &v - }).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) + }).(OrganizationSettingsSettingsSamlPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Whether or not SAML is enabled for this organization. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettingsSaml) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type OrganizationSettingsSettingsSamlPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (OrganizationSettingsSettingsSamlPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSaml)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o OrganizationSettingsSettingsSamlPtrOutput) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o OrganizationSettingsSettingsSamlPtrOutput) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { +func (o OrganizationSettingsSettingsSamlPtrOutput) Elem() OrganizationSettingsSettingsSamlOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSaml) OrganizationSettingsSettingsSaml { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery + var ret OrganizationSettingsSettingsSaml return ret - }).(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) + }).(OrganizationSettingsSettingsSamlOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { +// Whether or not SAML is enabled for this organization. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSaml) *bool { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +type OrganizationSettingsSettingsSamlAutocreateUsersDomains struct { + // List of domains where the SAML automated user creation is enabled. + Domains []string `pulumi:"domains"` + // Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. + Enabled *bool `pulumi:"enabled"` } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} +// OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput is an input type that accepts OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs and OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput` via: +// +// OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs{...} +type OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput interface { + pulumi.Input -type DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute 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"` + ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput + ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput } -// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput` via: -// -// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} -type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput interface { - pulumi.Input +type OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs struct { + // List of domains where the SAML automated user creation is enabled. + Domains pulumi.StringArrayInput `pulumi:"domains"` + // Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +} - ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput +func (OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() } -type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs 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 (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { + return i.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(context.Background()) } -func (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) +func (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { + return i.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) +func (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput).ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput` via: +// OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput is an input type that accepts OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs, OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtr and OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput` via: +// +// OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs{...} // -// DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} } -type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput interface { +// or: +// +// nil +type OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput - ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput + ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput + ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput } -type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput +type organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs + +func OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtr(v *OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput { + return (*organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType)(v) +} -func (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (*organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i *organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { + return i.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +func (i *organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } +type OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { return o } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { + return o.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Background()) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSamlAutocreateUsersDomains) *OrganizationSettingsSettingsSamlAutocreateUsersDomains { + return &v + }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// List of domains where the SAML automated user creation is enabled. +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) Domains() pulumi.StringArrayOutput { + return o.ApplyT(func(v OrganizationSettingsSettingsSamlAutocreateUsersDomains) []string { return v.Domains }).(pulumi.StringArrayOutput) +} + +// Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettingsSamlAutocreateUsersDomains) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { - return vs[0].([]DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) Elem() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSamlAutocreateUsersDomains) OrganizationSettingsSettingsSamlAutocreateUsersDomains { + if v != nil { + return *v + } + var ret OrganizationSettingsSettingsSamlAutocreateUsersDomains + return ret + }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) } -type DashboardWidgetToplistDefinitionRequestConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` +// List of domains where the SAML automated user creation is enabled. +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) Domains() pulumi.StringArrayOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSamlAutocreateUsersDomains) []string { + if v == nil { + return nil + } + return v.Domains + }).(pulumi.StringArrayOutput) } -// DashboardWidgetToplistDefinitionRequestConditionalFormatInput is an input type that accepts DashboardWidgetToplistDefinitionRequestConditionalFormatArgs and DashboardWidgetToplistDefinitionRequestConditionalFormatOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestConditionalFormatInput` via: -// -// DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{...} -type DashboardWidgetToplistDefinitionRequestConditionalFormatInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatOutput - ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput +// Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSamlAutocreateUsersDomains) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +type OrganizationSettingsSettingsSamlIdpInitiatedLogin struct { + // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. + Enabled *bool `pulumi:"enabled"` } -func (DashboardWidgetToplistDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() -} +// OrganizationSettingsSettingsSamlIdpInitiatedLoginInput is an input type that accepts OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs and OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlIdpInitiatedLoginInput` via: +// +// OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs{...} +type OrganizationSettingsSettingsSamlIdpInitiatedLoginInput interface { + pulumi.Input -func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { - return i.ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Background()) + ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput + ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput } -func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) +type OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs struct { + // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -// DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestConditionalFormatArray and DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput` via: -// -// DashboardWidgetToplistDefinitionRequestConditionalFormatArray{ DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{...} } -type DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput - ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput +func (OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() } -type DashboardWidgetToplistDefinitionRequestConditionalFormatArray []DashboardWidgetToplistDefinitionRequestConditionalFormatInput +func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { + return i.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(context.Background()) +} -func (DashboardWidgetToplistDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) } -func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { + return i.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) +func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput).ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx) } -type DashboardWidgetToplistDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } +// OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput is an input type that accepts OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs, OrganizationSettingsSettingsSamlIdpInitiatedLoginPtr and OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput` via: +// +// OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs{...} +// +// or: +// +// nil +type OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput interface { + pulumi.Input -func (DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() + ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput + ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput } -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { - return o -} +type organizationSettingsSettingsSamlIdpInitiatedLoginPtrType OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { - return o +func OrganizationSettingsSettingsSamlIdpInitiatedLoginPtr(v *OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput { + return (*organizationSettingsSettingsSamlIdpInitiatedLoginPtrType)(v) } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (*organizationSettingsSettingsSamlIdpInitiatedLoginPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() } -// The color palette to apply to the background, same values available as palette. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +func (i *organizationSettingsSettingsSamlIdpInitiatedLoginPtrType) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { + return i.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Background()) } -// The color palette to apply to the foreground, same values available as palette. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) +func (i *organizationSettingsSettingsSamlIdpInitiatedLoginPtrType) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) } -// Setting this to True hides values. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +type OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput struct{ *pulumi.OutputState } + +func (OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() } -// Displays an image as the background. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { + return o } -// The metric from the request to correlate with this conditional format. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { + return o } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { + return o.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Background()) } -// Defines the displayed timeframe. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSamlIdpInitiatedLogin) *OrganizationSettingsSettingsSamlIdpInitiatedLogin { + return &v + }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) } -// A value for the comparator. -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettingsSamlIdpInitiatedLogin) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +func (OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput { +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestConditionalFormat { - return vs[0].([]DashboardWidgetToplistDefinitionRequestConditionalFormat)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestConditionalFormatOutput) +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) Elem() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSamlIdpInitiatedLogin) OrganizationSettingsSettingsSamlIdpInitiatedLogin { + if v != nil { + return *v + } + var ret OrganizationSettingsSettingsSamlIdpInitiatedLogin + return ret + }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) } -type DashboardWidgetToplistDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *DashboardWidgetToplistDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *DashboardWidgetToplistDefinitionRequestFormulaStyle `pulumi:"style"` +// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSamlIdpInitiatedLogin) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// DashboardWidgetToplistDefinitionRequestFormulaInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaArgs and DashboardWidgetToplistDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaInput` via: +type OrganizationSettingsSettingsSamlStrictMode struct { + // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. + Enabled *bool `pulumi:"enabled"` +} + +// OrganizationSettingsSettingsSamlStrictModeInput is an input type that accepts OrganizationSettingsSettingsSamlStrictModeArgs and OrganizationSettingsSettingsSamlStrictModeOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlStrictModeInput` via: // -// DashboardWidgetToplistDefinitionRequestFormulaArgs{...} -type DashboardWidgetToplistDefinitionRequestFormulaInput interface { +// OrganizationSettingsSettingsSamlStrictModeArgs{...} +type OrganizationSettingsSettingsSamlStrictModeInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestFormulaOutput() DashboardWidgetToplistDefinitionRequestFormulaOutput - ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaOutput + ToOrganizationSettingsSettingsSamlStrictModeOutput() OrganizationSettingsSettingsSamlStrictModeOutput + ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(context.Context) OrganizationSettingsSettingsSamlStrictModeOutput } -type DashboardWidgetToplistDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +type OrganizationSettingsSettingsSamlStrictModeArgs struct { + // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +} + +func (OrganizationSettingsSettingsSamlStrictModeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() +} + +func (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModeOutput() OrganizationSettingsSettingsSamlStrictModeOutput { + return i.ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(context.Background()) } -func (DashboardWidgetToplistDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +func (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModeOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlStrictModeOutput) } -func (i DashboardWidgetToplistDefinitionRequestFormulaArgs) ToDashboardWidgetToplistDefinitionRequestFormulaOutput() DashboardWidgetToplistDefinitionRequestFormulaOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { + return i.ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestFormulaArgs) ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaOutput) +func (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlStrictModeOutput).ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestFormulaArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaArray and DashboardWidgetToplistDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaArrayInput` via: +// OrganizationSettingsSettingsSamlStrictModePtrInput is an input type that accepts OrganizationSettingsSettingsSamlStrictModeArgs, OrganizationSettingsSettingsSamlStrictModePtr and OrganizationSettingsSettingsSamlStrictModePtrOutput values. +// You can construct a concrete instance of `OrganizationSettingsSettingsSamlStrictModePtrInput` via: +// +// OrganizationSettingsSettingsSamlStrictModeArgs{...} +// +// or: // -// DashboardWidgetToplistDefinitionRequestFormulaArray{ DashboardWidgetToplistDefinitionRequestFormulaArgs{...} } -type DashboardWidgetToplistDefinitionRequestFormulaArrayInput interface { +// nil +type OrganizationSettingsSettingsSamlStrictModePtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput - ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaArrayOutput + ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput + ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput } -type DashboardWidgetToplistDefinitionRequestFormulaArray []DashboardWidgetToplistDefinitionRequestFormulaInput +type organizationSettingsSettingsSamlStrictModePtrType OrganizationSettingsSettingsSamlStrictModeArgs -func (DashboardWidgetToplistDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +func OrganizationSettingsSettingsSamlStrictModePtr(v *OrganizationSettingsSettingsSamlStrictModeArgs) OrganizationSettingsSettingsSamlStrictModePtrInput { + return (*organizationSettingsSettingsSamlStrictModePtrType)(v) } -func (i DashboardWidgetToplistDefinitionRequestFormulaArray) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (*organizationSettingsSettingsSamlStrictModePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestFormulaArray) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) +func (i *organizationSettingsSettingsSamlStrictModePtrType) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { + return i.ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +func (i *organizationSettingsSettingsSamlStrictModePtrType) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlStrictModePtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) ToDashboardWidgetToplistDefinitionRequestFormulaOutput() DashboardWidgetToplistDefinitionRequestFormulaOutput { - return o +type OrganizationSettingsSettingsSamlStrictModeOutput struct{ *pulumi.OutputState } + +func (OrganizationSettingsSettingsSamlStrictModeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) ToDashboardWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaOutput { +func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModeOutput() OrganizationSettingsSettingsSamlStrictModeOutput { return o } -// An expression alias. -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModeOutput { + return o } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { + return o.ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Background()) } -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) ConditionalFormats() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) []DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) +func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSamlStrictMode) *OrganizationSettingsSettingsSamlStrictMode { + return &v + }).(OrganizationSettingsSettingsSamlStrictModePtrOutput) } -// A string expression built from queries, formulas, and functions. -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlStrictModeOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OrganizationSettingsSettingsSamlStrictMode) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -// The options for limiting results returned. -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) Limit() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *DashboardWidgetToplistDefinitionRequestFormulaLimit { - return v.Limit - }).(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) -} +type OrganizationSettingsSettingsSamlStrictModePtrOutput struct{ *pulumi.OutputState } -// Styling options for widget formulas. -func (o DashboardWidgetToplistDefinitionRequestFormulaOutput) Style() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormula) *DashboardWidgetToplistDefinitionRequestFormulaStyle { - return v.Style - }).(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) +func (OrganizationSettingsSettingsSamlStrictModePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() } -type DashboardWidgetToplistDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormula)(nil)).Elem() +func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { + return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { +func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaArrayOutput { - return o +func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) Elem() OrganizationSettingsSettingsSamlStrictModeOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSamlStrictMode) OrganizationSettingsSettingsSamlStrictMode { + if v != nil { + return *v + } + var ret OrganizationSettingsSettingsSamlStrictMode + return ret + }).(OrganizationSettingsSettingsSamlStrictModeOutput) } -func (o DashboardWidgetToplistDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestFormula { - return vs[0].([]DashboardWidgetToplistDefinitionRequestFormula)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestFormulaOutput) +// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. +func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OrganizationSettingsSettingsSamlStrictMode) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` +type PowerpackLayout struct { + // The height of the widget. + Height *int `pulumi:"height"` + // The width of the widget. + Width *int `pulumi:"width"` + // The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. + X *int `pulumi:"x"` + // The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. + Y *int `pulumi:"y"` } -// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs and DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput` via: +// PowerpackLayoutInput is an input type that accepts PowerpackLayoutArgs and PowerpackLayoutOutput values. +// You can construct a concrete instance of `PowerpackLayoutInput` via: // -// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} -type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput interface { +// PowerpackLayoutArgs{...} +type PowerpackLayoutInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput - ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackLayoutOutput() PowerpackLayoutOutput + ToPowerpackLayoutOutputWithContext(context.Context) PowerpackLayoutOutput } -type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +type PowerpackLayoutArgs struct { + // The height of the widget. + Height pulumi.IntPtrInput `pulumi:"height"` + // The width of the widget. + Width pulumi.IntPtrInput `pulumi:"width"` + // The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. + X pulumi.IntPtrInput `pulumi:"x"` + // The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. + Y pulumi.IntPtrInput `pulumi:"y"` } -func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackLayoutArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackLayout)(nil)).Elem() +} + +func (i PowerpackLayoutArgs) ToPowerpackLayoutOutput() PowerpackLayoutOutput { + return i.ToPowerpackLayoutOutputWithContext(context.Background()) +} + +func (i PowerpackLayoutArgs) ToPowerpackLayoutOutputWithContext(ctx context.Context) PowerpackLayoutOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackLayoutOutput) } -func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackLayoutArgs) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { + return i.ToPowerpackLayoutPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) +func (i PowerpackLayoutArgs) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackLayoutOutput).ToPowerpackLayoutPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray and DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackLayoutPtrInput is an input type that accepts PowerpackLayoutArgs, PowerpackLayoutPtr and PowerpackLayoutPtrOutput values. +// You can construct a concrete instance of `PowerpackLayoutPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray{ DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} } -type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackLayoutArgs{...} +// +// or: +// +// nil +type PowerpackLayoutPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput - ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput + ToPowerpackLayoutPtrOutputWithContext(context.Context) PowerpackLayoutPtrOutput } -type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray []DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput +type powerpackLayoutPtrType PowerpackLayoutArgs + +func PowerpackLayoutPtr(v *PowerpackLayoutArgs) PowerpackLayoutPtrInput { + return (*powerpackLayoutPtrType)(v) +} -func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (*powerpackLayoutPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackLayout)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i *powerpackLayoutPtrType) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { + return i.ToPowerpackLayoutPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i *powerpackLayoutPtrType) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackLayoutPtrOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackLayoutOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackLayoutOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackLayout)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackLayoutOutput) ToPowerpackLayoutOutput() PowerpackLayoutOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackLayoutOutput) ToPowerpackLayoutOutputWithContext(ctx context.Context) PowerpackLayoutOutput { return o } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (o PowerpackLayoutOutput) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { + return o.ToPowerpackLayoutPtrOutputWithContext(context.Background()) } -// The color palette to apply to the background, same values available as palette. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) +func (o PowerpackLayoutOutput) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackLayout) *PowerpackLayout { + return &v + }).(PowerpackLayoutPtrOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) +// The height of the widget. +func (o PowerpackLayoutOutput) Height() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackLayout) *int { return v.Height }).(pulumi.IntPtrOutput) } -// Setting this to True hides values. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +// The width of the widget. +func (o PowerpackLayoutOutput) Width() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackLayout) *int { return v.Width }).(pulumi.IntPtrOutput) } -// Displays an image as the background. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +// The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. +func (o PowerpackLayoutOutput) X() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackLayout) *int { return v.X }).(pulumi.IntPtrOutput) } -// The metric from the request to correlate with this conditional format. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. +func (o PowerpackLayoutOutput) Y() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackLayout) *int { return v.Y }).(pulumi.IntPtrOutput) } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) -} +type PowerpackLayoutPtrOutput struct{ *pulumi.OutputState } -// Defines the displayed timeframe. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +func (PowerpackLayoutPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackLayout)(nil)).Elem() } -// A value for the comparator. -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +func (o PowerpackLayoutPtrOutput) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { + return o } -type DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (o PowerpackLayoutPtrOutput) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { + return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +func (o PowerpackLayoutPtrOutput) Elem() PowerpackLayoutOutput { + return o.ApplyT(func(v *PowerpackLayout) PowerpackLayout { + if v != nil { + return *v + } + var ret PowerpackLayout + return ret + }).(PowerpackLayoutOutput) } -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// The height of the widget. +func (o PowerpackLayoutPtrOutput) Height() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackLayout) *int { + if v == nil { + return nil + } + return v.Height + }).(pulumi.IntPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat { - return vs[0].([]DashboardWidgetToplistDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) +// The width of the widget. +func (o PowerpackLayoutPtrOutput) Width() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackLayout) *int { + if v == nil { + return nil + } + return v.Width + }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` +// The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. +func (o PowerpackLayoutPtrOutput) X() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackLayout) *int { + if v == nil { + return nil + } + return v.X + }).(pulumi.IntPtrOutput) } -// DashboardWidgetToplistDefinitionRequestFormulaLimitInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaLimitArgs and DashboardWidgetToplistDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaLimitInput` via: -// -// DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{...} -type DashboardWidgetToplistDefinitionRequestFormulaLimitInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput - ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitOutput +// The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. +func (o PowerpackLayoutPtrOutput) Y() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackLayout) *int { + if v == nil { + return nil + } + return v.Y + }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` +type PowerpackTemplateVariable struct { + // One or many default values for powerpack template variables on load. If more than one default is specified, they will be unioned together with `OR`. + Defaults []string `pulumi:"defaults"` + // The name of the powerpack template variable. + Name string `pulumi:"name"` } -func (DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +// PowerpackTemplateVariableInput is an input type that accepts PowerpackTemplateVariableArgs and PowerpackTemplateVariableOutput values. +// You can construct a concrete instance of `PowerpackTemplateVariableInput` via: +// +// PowerpackTemplateVariableArgs{...} +type PowerpackTemplateVariableInput interface { + pulumi.Input + + ToPowerpackTemplateVariableOutput() PowerpackTemplateVariableOutput + ToPowerpackTemplateVariableOutputWithContext(context.Context) PowerpackTemplateVariableOutput } -func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +type PowerpackTemplateVariableArgs struct { + // One or many default values for powerpack template variables on load. If more than one default is specified, they will be unioned together with `OR`. + Defaults pulumi.StringArrayInput `pulumi:"defaults"` + // The name of the powerpack template variable. + Name pulumi.StringInput `pulumi:"name"` } -func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) +func (PowerpackTemplateVariableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackTemplateVariable)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackTemplateVariableArgs) ToPowerpackTemplateVariableOutput() PowerpackTemplateVariableOutput { + return i.ToPowerpackTemplateVariableOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput).ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackTemplateVariableArgs) ToPowerpackTemplateVariableOutputWithContext(ctx context.Context) PowerpackTemplateVariableOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackTemplateVariableOutput) } -// DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaLimitArgs, DashboardWidgetToplistDefinitionRequestFormulaLimitPtr and DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{...} -// -// or: +// PowerpackTemplateVariableArrayInput is an input type that accepts PowerpackTemplateVariableArray and PowerpackTemplateVariableArrayOutput values. +// You can construct a concrete instance of `PowerpackTemplateVariableArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput interface { +// PowerpackTemplateVariableArray{ PowerpackTemplateVariableArgs{...} } +type PowerpackTemplateVariableArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput - ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput + ToPowerpackTemplateVariableArrayOutput() PowerpackTemplateVariableArrayOutput + ToPowerpackTemplateVariableArrayOutputWithContext(context.Context) PowerpackTemplateVariableArrayOutput } -type dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType DashboardWidgetToplistDefinitionRequestFormulaLimitArgs - -func DashboardWidgetToplistDefinitionRequestFormulaLimitPtr(v *DashboardWidgetToplistDefinitionRequestFormulaLimitArgs) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput { - return (*dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType)(v) -} +type PowerpackTemplateVariableArray []PowerpackTemplateVariableInput -func (*dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackTemplateVariableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackTemplateVariable)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackTemplateVariableArray) ToPowerpackTemplateVariableArrayOutput() PowerpackTemplateVariableArrayOutput { + return i.ToPowerpackTemplateVariableArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +func (i PowerpackTemplateVariableArray) ToPowerpackTemplateVariableArrayOutputWithContext(ctx context.Context) PowerpackTemplateVariableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackTemplateVariableArrayOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackTemplateVariableOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackTemplateVariableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackTemplateVariable)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { +func (o PowerpackTemplateVariableOutput) ToPowerpackTemplateVariableOutput() PowerpackTemplateVariableOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { +func (o PowerpackTemplateVariableOutput) ToPowerpackTemplateVariableOutputWithContext(ctx context.Context) PowerpackTemplateVariableOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestFormulaLimit) *DashboardWidgetToplistDefinitionRequestFormulaLimit { - return &v - }).(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) -} - -// The number of results to return. -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// One or many default values for powerpack template variables on load. If more than one default is specified, they will be unioned together with `OR`. +func (o PowerpackTemplateVariableOutput) Defaults() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackTemplateVariable) []string { return v.Defaults }).(pulumi.StringArrayOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +// The name of the powerpack template variable. +func (o PowerpackTemplateVariableOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackTemplateVariable) string { return v.Name }).(pulumi.StringOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +type PowerpackTemplateVariableArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackTemplateVariableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackTemplateVariable)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackTemplateVariableArrayOutput) ToPowerpackTemplateVariableArrayOutput() PowerpackTemplateVariableArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackTemplateVariableArrayOutput) ToPowerpackTemplateVariableArrayOutputWithContext(ctx context.Context) PowerpackTemplateVariableArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaLimit) DashboardWidgetToplistDefinitionRequestFormulaLimit { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestFormulaLimit - return ret - }).(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaLimit) *int { - if v == nil { - return nil - } - return v.Count - }).(pulumi.IntPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaLimit) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) +func (o PowerpackTemplateVariableArrayOutput) Index(i pulumi.IntInput) PowerpackTemplateVariableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackTemplateVariable { + return vs[0].([]PowerpackTemplateVariable)[vs[1].(int)] + }).(PowerpackTemplateVariableOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` +type PowerpackWidget struct { + // The definition for a Alert Graph widget. + AlertGraphDefinition *PowerpackWidgetAlertGraphDefinition `pulumi:"alertGraphDefinition"` + // The definition for a Alert Value widget. + AlertValueDefinition *PowerpackWidgetAlertValueDefinition `pulumi:"alertValueDefinition"` + // The definition for a Change widget. + ChangeDefinition *PowerpackWidgetChangeDefinition `pulumi:"changeDefinition"` + // The definition for a Check Status widget. + CheckStatusDefinition *PowerpackWidgetCheckStatusDefinition `pulumi:"checkStatusDefinition"` + // The definition for a Distribution widget. + DistributionDefinition *PowerpackWidgetDistributionDefinition `pulumi:"distributionDefinition"` + // The definition for a Event Stream widget. + EventStreamDefinition *PowerpackWidgetEventStreamDefinition `pulumi:"eventStreamDefinition"` + // The definition for a Event Timeline widget. + EventTimelineDefinition *PowerpackWidgetEventTimelineDefinition `pulumi:"eventTimelineDefinition"` + // The definition for a Free Text widget. + FreeTextDefinition *PowerpackWidgetFreeTextDefinition `pulumi:"freeTextDefinition"` + // The definition for a Geomap widget. + GeomapDefinition *PowerpackWidgetGeomapDefinition `pulumi:"geomapDefinition"` + // The definition for a Heatmap widget. + HeatmapDefinition *PowerpackWidgetHeatmapDefinition `pulumi:"heatmapDefinition"` + // The definition for a Hostmap widget. + HostmapDefinition *PowerpackWidgetHostmapDefinition `pulumi:"hostmapDefinition"` + // The ID of the widget. + Id *int `pulumi:"id"` + // The definition for an Iframe widget. + IframeDefinition *PowerpackWidgetIframeDefinition `pulumi:"iframeDefinition"` + // The definition for an Image widget + ImageDefinition *PowerpackWidgetImageDefinition `pulumi:"imageDefinition"` + // The definition for a List Stream widget. + ListStreamDefinition *PowerpackWidgetListStreamDefinition `pulumi:"listStreamDefinition"` + // The definition for an Log Stream widget. + LogStreamDefinition *PowerpackWidgetLogStreamDefinition `pulumi:"logStreamDefinition"` + // The definition for an Manage Status widget. + ManageStatusDefinition *PowerpackWidgetManageStatusDefinition `pulumi:"manageStatusDefinition"` + // The definition for a Note widget. + NoteDefinition *PowerpackWidgetNoteDefinition `pulumi:"noteDefinition"` + // The definition for a Query Table widget. + QueryTableDefinition *PowerpackWidgetQueryTableDefinition `pulumi:"queryTableDefinition"` + // The definition for a Query Value widget. + QueryValueDefinition *PowerpackWidgetQueryValueDefinition `pulumi:"queryValueDefinition"` + // The definition for a Run Workflow widget. + RunWorkflowDefinition *PowerpackWidgetRunWorkflowDefinition `pulumi:"runWorkflowDefinition"` + // The definition for a Scatterplot widget. + ScatterplotDefinition *PowerpackWidgetScatterplotDefinition `pulumi:"scatterplotDefinition"` + // The definition for a Service Level Objective widget. + ServiceLevelObjectiveDefinition *PowerpackWidgetServiceLevelObjectiveDefinition `pulumi:"serviceLevelObjectiveDefinition"` + // The definition for a Service Map widget. + ServicemapDefinition *PowerpackWidgetServicemapDefinition `pulumi:"servicemapDefinition"` + // The definition for an SLO (Service Level Objective) List widget. + SloListDefinition *PowerpackWidgetSloListDefinition `pulumi:"sloListDefinition"` + // The definition for a Sunburst widget. + SunburstDefinition *PowerpackWidgetSunburstDefinition `pulumi:"sunburstDefinition"` + // The definition for a Timeseries widget. + TimeseriesDefinition *PowerpackWidgetTimeseriesDefinition `pulumi:"timeseriesDefinition"` + // The definition for a Toplist widget. + ToplistDefinition *PowerpackWidgetToplistDefinition `pulumi:"toplistDefinition"` + // The definition for a Topology Map widget. + TopologyMapDefinition *PowerpackWidgetTopologyMapDefinition `pulumi:"topologyMapDefinition"` + // The definition for a Trace Service widget. + TraceServiceDefinition *PowerpackWidgetTraceServiceDefinition `pulumi:"traceServiceDefinition"` + // The definition for a Treemap widget. + TreemapDefinition *PowerpackWidgetTreemapDefinition `pulumi:"treemapDefinition"` + // The layout of the widget on a 'free' dashboard. + WidgetLayout *PowerpackWidgetWidgetLayout `pulumi:"widgetLayout"` } -// DashboardWidgetToplistDefinitionRequestFormulaStyleInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaStyleArgs and DashboardWidgetToplistDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaStyleInput` via: +// PowerpackWidgetInput is an input type that accepts PowerpackWidgetArgs and PowerpackWidgetOutput values. +// You can construct a concrete instance of `PowerpackWidgetInput` via: // -// DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{...} -type DashboardWidgetToplistDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetArgs{...} +type PowerpackWidgetInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutput() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput - ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaStyleOutput -} - -type DashboardWidgetToplistDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` -} - -func (DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() + ToPowerpackWidgetOutput() PowerpackWidgetOutput + ToPowerpackWidgetOutputWithContext(context.Context) PowerpackWidgetOutput } -func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutput() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +type PowerpackWidgetArgs struct { + // The definition for a Alert Graph widget. + AlertGraphDefinition PowerpackWidgetAlertGraphDefinitionPtrInput `pulumi:"alertGraphDefinition"` + // The definition for a Alert Value widget. + AlertValueDefinition PowerpackWidgetAlertValueDefinitionPtrInput `pulumi:"alertValueDefinition"` + // The definition for a Change widget. + ChangeDefinition PowerpackWidgetChangeDefinitionPtrInput `pulumi:"changeDefinition"` + // The definition for a Check Status widget. + CheckStatusDefinition PowerpackWidgetCheckStatusDefinitionPtrInput `pulumi:"checkStatusDefinition"` + // The definition for a Distribution widget. + DistributionDefinition PowerpackWidgetDistributionDefinitionPtrInput `pulumi:"distributionDefinition"` + // The definition for a Event Stream widget. + EventStreamDefinition PowerpackWidgetEventStreamDefinitionPtrInput `pulumi:"eventStreamDefinition"` + // The definition for a Event Timeline widget. + EventTimelineDefinition PowerpackWidgetEventTimelineDefinitionPtrInput `pulumi:"eventTimelineDefinition"` + // The definition for a Free Text widget. + FreeTextDefinition PowerpackWidgetFreeTextDefinitionPtrInput `pulumi:"freeTextDefinition"` + // The definition for a Geomap widget. + GeomapDefinition PowerpackWidgetGeomapDefinitionPtrInput `pulumi:"geomapDefinition"` + // The definition for a Heatmap widget. + HeatmapDefinition PowerpackWidgetHeatmapDefinitionPtrInput `pulumi:"heatmapDefinition"` + // The definition for a Hostmap widget. + HostmapDefinition PowerpackWidgetHostmapDefinitionPtrInput `pulumi:"hostmapDefinition"` + // The ID of the widget. + Id pulumi.IntPtrInput `pulumi:"id"` + // The definition for an Iframe widget. + IframeDefinition PowerpackWidgetIframeDefinitionPtrInput `pulumi:"iframeDefinition"` + // The definition for an Image widget + ImageDefinition PowerpackWidgetImageDefinitionPtrInput `pulumi:"imageDefinition"` + // The definition for a List Stream widget. + ListStreamDefinition PowerpackWidgetListStreamDefinitionPtrInput `pulumi:"listStreamDefinition"` + // The definition for an Log Stream widget. + LogStreamDefinition PowerpackWidgetLogStreamDefinitionPtrInput `pulumi:"logStreamDefinition"` + // The definition for an Manage Status widget. + ManageStatusDefinition PowerpackWidgetManageStatusDefinitionPtrInput `pulumi:"manageStatusDefinition"` + // The definition for a Note widget. + NoteDefinition PowerpackWidgetNoteDefinitionPtrInput `pulumi:"noteDefinition"` + // The definition for a Query Table widget. + QueryTableDefinition PowerpackWidgetQueryTableDefinitionPtrInput `pulumi:"queryTableDefinition"` + // The definition for a Query Value widget. + QueryValueDefinition PowerpackWidgetQueryValueDefinitionPtrInput `pulumi:"queryValueDefinition"` + // The definition for a Run Workflow widget. + RunWorkflowDefinition PowerpackWidgetRunWorkflowDefinitionPtrInput `pulumi:"runWorkflowDefinition"` + // The definition for a Scatterplot widget. + ScatterplotDefinition PowerpackWidgetScatterplotDefinitionPtrInput `pulumi:"scatterplotDefinition"` + // The definition for a Service Level Objective widget. + ServiceLevelObjectiveDefinition PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput `pulumi:"serviceLevelObjectiveDefinition"` + // The definition for a Service Map widget. + ServicemapDefinition PowerpackWidgetServicemapDefinitionPtrInput `pulumi:"servicemapDefinition"` + // The definition for an SLO (Service Level Objective) List widget. + SloListDefinition PowerpackWidgetSloListDefinitionPtrInput `pulumi:"sloListDefinition"` + // The definition for a Sunburst widget. + SunburstDefinition PowerpackWidgetSunburstDefinitionPtrInput `pulumi:"sunburstDefinition"` + // The definition for a Timeseries widget. + TimeseriesDefinition PowerpackWidgetTimeseriesDefinitionPtrInput `pulumi:"timeseriesDefinition"` + // The definition for a Toplist widget. + ToplistDefinition PowerpackWidgetToplistDefinitionPtrInput `pulumi:"toplistDefinition"` + // The definition for a Topology Map widget. + TopologyMapDefinition PowerpackWidgetTopologyMapDefinitionPtrInput `pulumi:"topologyMapDefinition"` + // The definition for a Trace Service widget. + TraceServiceDefinition PowerpackWidgetTraceServiceDefinitionPtrInput `pulumi:"traceServiceDefinition"` + // The definition for a Treemap widget. + TreemapDefinition PowerpackWidgetTreemapDefinitionPtrInput `pulumi:"treemapDefinition"` + // The layout of the widget on a 'free' dashboard. + WidgetLayout PowerpackWidgetWidgetLayoutPtrInput `pulumi:"widgetLayout"` } -func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) +func (PowerpackWidgetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidget)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetArgs) ToPowerpackWidgetOutput() PowerpackWidgetOutput { + return i.ToPowerpackWidgetOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput).ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetArgs) ToPowerpackWidgetOutputWithContext(ctx context.Context) PowerpackWidgetOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetOutput) } -// DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestFormulaStyleArgs, DashboardWidgetToplistDefinitionRequestFormulaStylePtr and DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{...} -// -// or: +// PowerpackWidgetArrayInput is an input type that accepts PowerpackWidgetArray and PowerpackWidgetArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput interface { +// PowerpackWidgetArray{ PowerpackWidgetArgs{...} } +type PowerpackWidgetArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput - ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetArrayOutput() PowerpackWidgetArrayOutput + ToPowerpackWidgetArrayOutputWithContext(context.Context) PowerpackWidgetArrayOutput } -type dashboardWidgetToplistDefinitionRequestFormulaStylePtrType DashboardWidgetToplistDefinitionRequestFormulaStyleArgs - -func DashboardWidgetToplistDefinitionRequestFormulaStylePtr(v *DashboardWidgetToplistDefinitionRequestFormulaStyleArgs) DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput { - return (*dashboardWidgetToplistDefinitionRequestFormulaStylePtrType)(v) -} +type PowerpackWidgetArray []PowerpackWidgetInput -func (*dashboardWidgetToplistDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidget)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestFormulaStylePtrType) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetArray) ToPowerpackWidgetArrayOutput() PowerpackWidgetArrayOutput { + return i.ToPowerpackWidgetArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestFormulaStylePtrType) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) +func (i PowerpackWidgetArray) ToPowerpackWidgetArrayOutputWithContext(ctx context.Context) PowerpackWidgetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetArrayOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidget)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutput() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetOutput) ToPowerpackWidgetOutput() PowerpackWidgetOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetOutput) ToPowerpackWidgetOutputWithContext(ctx context.Context) PowerpackWidgetOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestFormulaStyle) *DashboardWidgetToplistDefinitionRequestFormulaStyle { - return &v - }).(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) +// The definition for a Alert Graph widget. +func (o PowerpackWidgetOutput) AlertGraphDefinition() PowerpackWidgetAlertGraphDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetAlertGraphDefinition { return v.AlertGraphDefinition }).(PowerpackWidgetAlertGraphDefinitionPtrOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The definition for a Alert Value widget. +func (o PowerpackWidgetOutput) AlertValueDefinition() PowerpackWidgetAlertValueDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetAlertValueDefinition { return v.AlertValueDefinition }).(PowerpackWidgetAlertValueDefinitionPtrOutput) } -// Index specifying which color to use within the palette. -func (o DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// The definition for a Change widget. +func (o PowerpackWidgetOutput) ChangeDefinition() PowerpackWidgetChangeDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetChangeDefinition { return v.ChangeDefinition }).(PowerpackWidgetChangeDefinitionPtrOutput) } -type DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +// The definition for a Check Status widget. +func (o PowerpackWidgetOutput) CheckStatusDefinition() PowerpackWidgetCheckStatusDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetCheckStatusDefinition { return v.CheckStatusDefinition }).(PowerpackWidgetCheckStatusDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput() DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o +// The definition for a Distribution widget. +func (o PowerpackWidgetOutput) DistributionDefinition() PowerpackWidgetDistributionDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetDistributionDefinition { return v.DistributionDefinition }).(PowerpackWidgetDistributionDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o +// The definition for a Event Stream widget. +func (o PowerpackWidgetOutput) EventStreamDefinition() PowerpackWidgetEventStreamDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetEventStreamDefinition { return v.EventStreamDefinition }).(PowerpackWidgetEventStreamDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) Elem() DashboardWidgetToplistDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaStyle) DashboardWidgetToplistDefinitionRequestFormulaStyle { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestFormulaStyle - return ret - }).(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput) +// The definition for a Event Timeline widget. +func (o PowerpackWidgetOutput) EventTimelineDefinition() PowerpackWidgetEventTimelineDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetEventTimelineDefinition { return v.EventTimelineDefinition }).(PowerpackWidgetEventTimelineDefinitionPtrOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) +// The definition for a Free Text widget. +func (o PowerpackWidgetOutput) FreeTextDefinition() PowerpackWidgetFreeTextDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetFreeTextDefinition { return v.FreeTextDefinition }).(PowerpackWidgetFreeTextDefinitionPtrOutput) } -// Index specifying which color to use within the palette. -func (o DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestFormulaStyle) *int { - if v == nil { - return nil - } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) +// The definition for a Geomap widget. +func (o PowerpackWidgetOutput) GeomapDefinition() PowerpackWidgetGeomapDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetGeomapDefinition { return v.GeomapDefinition }).(PowerpackWidgetGeomapDefinitionPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetToplistDefinitionRequestLogQueryGroupBy `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 []DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// The definition for a Heatmap widget. +func (o PowerpackWidgetOutput) HeatmapDefinition() PowerpackWidgetHeatmapDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetHeatmapDefinition { return v.HeatmapDefinition }).(PowerpackWidgetHeatmapDefinitionPtrOutput) } -// DashboardWidgetToplistDefinitionRequestLogQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryArgs and DashboardWidgetToplistDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryInput` via: -// -// DashboardWidgetToplistDefinitionRequestLogQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestLogQueryInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestLogQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryOutput +// The definition for a Hostmap widget. +func (o PowerpackWidgetOutput) HostmapDefinition() PowerpackWidgetHostmapDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetHostmapDefinition { return v.HostmapDefinition }).(PowerpackWidgetHostmapDefinitionPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +// The ID of the widget. +func (o PowerpackWidgetOutput) Id() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *int { return v.Id }).(pulumi.IntPtrOutput) } -func (DashboardWidgetToplistDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +// The definition for an Iframe widget. +func (o PowerpackWidgetOutput) IframeDefinition() PowerpackWidgetIframeDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetIframeDefinition { return v.IframeDefinition }).(PowerpackWidgetIframeDefinitionPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Background()) +// The definition for an Image widget +func (o PowerpackWidgetOutput) ImageDefinition() PowerpackWidgetImageDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetImageDefinition { return v.ImageDefinition }).(PowerpackWidgetImageDefinitionPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryOutput) +// The definition for a List Stream widget. +func (o PowerpackWidgetOutput) ListStreamDefinition() PowerpackWidgetListStreamDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetListStreamDefinition { return v.ListStreamDefinition }).(PowerpackWidgetListStreamDefinitionPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// The definition for an Log Stream widget. +func (o PowerpackWidgetOutput) LogStreamDefinition() PowerpackWidgetLogStreamDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetLogStreamDefinition { return v.LogStreamDefinition }).(PowerpackWidgetLogStreamDefinitionPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryOutput).ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx) +// The definition for an Manage Status widget. +func (o PowerpackWidgetOutput) ManageStatusDefinition() PowerpackWidgetManageStatusDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetManageStatusDefinition { return v.ManageStatusDefinition }).(PowerpackWidgetManageStatusDefinitionPtrOutput) } -// DashboardWidgetToplistDefinitionRequestLogQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryArgs, DashboardWidgetToplistDefinitionRequestLogQueryPtr and DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestLogQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetToplistDefinitionRequestLogQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput +// The definition for a Note widget. +func (o PowerpackWidgetOutput) NoteDefinition() PowerpackWidgetNoteDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetNoteDefinition { return v.NoteDefinition }).(PowerpackWidgetNoteDefinitionPtrOutput) } -type dashboardWidgetToplistDefinitionRequestLogQueryPtrType DashboardWidgetToplistDefinitionRequestLogQueryArgs - -func DashboardWidgetToplistDefinitionRequestLogQueryPtr(v *DashboardWidgetToplistDefinitionRequestLogQueryArgs) DashboardWidgetToplistDefinitionRequestLogQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestLogQueryPtrType)(v) +// The definition for a Query Table widget. +func (o PowerpackWidgetOutput) QueryTableDefinition() PowerpackWidgetQueryTableDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetQueryTableDefinition { return v.QueryTableDefinition }).(PowerpackWidgetQueryTableDefinitionPtrOutput) } -func (*dashboardWidgetToplistDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +// The definition for a Query Value widget. +func (o PowerpackWidgetOutput) QueryValueDefinition() PowerpackWidgetQueryValueDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetQueryValueDefinition { return v.QueryValueDefinition }).(PowerpackWidgetQueryValueDefinitionPtrOutput) } -func (i *dashboardWidgetToplistDefinitionRequestLogQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// The definition for a Run Workflow widget. +func (o PowerpackWidgetOutput) RunWorkflowDefinition() PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetRunWorkflowDefinition { return v.RunWorkflowDefinition }).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) } -func (i *dashboardWidgetToplistDefinitionRequestLogQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) +// The definition for a Scatterplot widget. +func (o PowerpackWidgetOutput) ScatterplotDefinition() PowerpackWidgetScatterplotDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetScatterplotDefinition { return v.ScatterplotDefinition }).(PowerpackWidgetScatterplotDefinitionPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +// The definition for a Service Level Objective widget. +func (o PowerpackWidgetOutput) ServiceLevelObjectiveDefinition() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetServiceLevelObjectiveDefinition { + return v.ServiceLevelObjectiveDefinition + }).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryOutput { - return o +// The definition for a Service Map widget. +func (o PowerpackWidgetOutput) ServicemapDefinition() PowerpackWidgetServicemapDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetServicemapDefinition { return v.ServicemapDefinition }).(PowerpackWidgetServicemapDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryOutput { - return o +// The definition for an SLO (Service Level Objective) List widget. +func (o PowerpackWidgetOutput) SloListDefinition() PowerpackWidgetSloListDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetSloListDefinition { return v.SloListDefinition }).(PowerpackWidgetSloListDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// The definition for a Sunburst widget. +func (o PowerpackWidgetOutput) SunburstDefinition() PowerpackWidgetSunburstDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetSunburstDefinition { return v.SunburstDefinition }).(PowerpackWidgetSunburstDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestLogQuery) *DashboardWidgetToplistDefinitionRequestLogQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) +// The definition for a Timeseries widget. +func (o PowerpackWidgetOutput) TimeseriesDefinition() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTimeseriesDefinition { return v.TimeseriesDefinition }).(PowerpackWidgetTimeseriesDefinitionPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +// The definition for a Toplist widget. +func (o PowerpackWidgetOutput) ToplistDefinition() PowerpackWidgetToplistDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetToplistDefinition { return v.ToplistDefinition }).(PowerpackWidgetToplistDefinitionPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) GroupBies() DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetToplistDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) +// The definition for a Topology Map widget. +func (o PowerpackWidgetOutput) TopologyMapDefinition() PowerpackWidgetTopologyMapDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTopologyMapDefinition { return v.TopologyMapDefinition }).(PowerpackWidgetTopologyMapDefinitionPtrOutput) } -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +// The definition for a Trace Service widget. +func (o PowerpackWidgetOutput) TraceServiceDefinition() PowerpackWidgetTraceServiceDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTraceServiceDefinition { return v.TraceServiceDefinition }).(PowerpackWidgetTraceServiceDefinitionPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) +// The definition for a Treemap widget. +func (o PowerpackWidgetOutput) TreemapDefinition() PowerpackWidgetTreemapDefinitionPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTreemapDefinition { return v.TreemapDefinition }).(PowerpackWidgetTreemapDefinitionPtrOutput) } -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The layout of the widget on a 'free' dashboard. +func (o PowerpackWidgetOutput) WidgetLayout() PowerpackWidgetWidgetLayoutPtrOutput { + return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetWidgetLayout { return v.WidgetLayout }).(PowerpackWidgetWidgetLayoutPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidget)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetArrayOutput) ToPowerpackWidgetArrayOutput() PowerpackWidgetArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetArrayOutput) ToPowerpackWidgetArrayOutputWithContext(ctx context.Context) PowerpackWidgetArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) DashboardWidgetToplistDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestLogQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestLogQueryOutput) +func (o PowerpackWidgetArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidget { + return vs[0].([]PowerpackWidget)[vs[1].(int)] + }).(PowerpackWidgetOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +type PowerpackWidgetAlertGraphDefinition struct { + // The ID of the monitor used by the widget. + AlertId string `pulumi:"alertId"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` + // Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. + VizType string `pulumi:"vizType"` } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) GroupBies() DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetToplistDefinitionRequestLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) *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 DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) []DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery 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"` -} - -// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetAlertGraphDefinitionInput is an input type that accepts PowerpackWidgetAlertGraphDefinitionArgs and PowerpackWidgetAlertGraphDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetAlertGraphDefinitionInput` via: // -// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetAlertGraphDefinitionArgs{...} +type PowerpackWidgetAlertGraphDefinitionInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetAlertGraphDefinitionOutput() PowerpackWidgetAlertGraphDefinitionOutput + ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(context.Context) PowerpackWidgetAlertGraphDefinitionOutput } -type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs 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"` +type PowerpackWidgetAlertGraphDefinitionArgs struct { + // The ID of the monitor used by the widget. + AlertId pulumi.StringInput `pulumi:"alertId"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` + // Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. + VizType pulumi.StringInput `pulumi:"vizType"` } -func (DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetAlertGraphDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetAlertGraphDefinition)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionOutput() PowerpackWidgetAlertGraphDefinitionOutput { + return i.ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertGraphDefinitionOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { + return i.ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertGraphDefinitionOutput).ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetAlertGraphDefinitionPtrInput is an input type that accepts PowerpackWidgetAlertGraphDefinitionArgs, PowerpackWidgetAlertGraphDefinitionPtr and PowerpackWidgetAlertGraphDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetAlertGraphDefinitionPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetAlertGraphDefinitionArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetAlertGraphDefinitionPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput + ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput } -type dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetAlertGraphDefinitionPtrType PowerpackWidgetAlertGraphDefinitionArgs -func DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetAlertGraphDefinitionPtr(v *PowerpackWidgetAlertGraphDefinitionArgs) PowerpackWidgetAlertGraphDefinitionPtrInput { + return (*powerpackWidgetAlertGraphDefinitionPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetAlertGraphDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetAlertGraphDefinition)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetAlertGraphDefinitionPtrType) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { + return i.ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetAlertGraphDefinitionPtrType) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertGraphDefinitionPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetAlertGraphDefinitionOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetAlertGraphDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetAlertGraphDefinition)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionOutput() PowerpackWidgetAlertGraphDefinitionOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { + return o.ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetAlertGraphDefinition) *PowerpackWidgetAlertGraphDefinition { return &v - }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetAlertGraphDefinitionPtrOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The ID of the monitor used by the widget. +func (o PowerpackWidgetAlertGraphDefinitionOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) string { return v.AlertId }).(pulumi.StringOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetAlertGraphDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The title of the widget. +func (o PowerpackWidgetAlertGraphDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetAlertGraphDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetAlertGraphDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. +func (o PowerpackWidgetAlertGraphDefinitionOutput) VizType() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) string { return v.VizType }).(pulumi.StringOutput) +} -func (DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetAlertGraphDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetAlertGraphDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetAlertGraphDefinition)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) Elem() PowerpackWidgetAlertGraphDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) PowerpackWidgetAlertGraphDefinition { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetAlertGraphDefinition return ret - }).(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetAlertGraphDefinitionOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { +// The ID of the monitor used by the widget. +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { if v == nil { return nil } - return &v.Aggregation + return &v.AlertId }).(pulumi.StringPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { if v == nil { return nil } - return v.Facet + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { +// The title of the widget. +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// DashboardWidgetToplistDefinitionRequestLogQueryGroupByInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs and DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryGroupByInput` via: -// -// DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs{...} -type DashboardWidgetToplistDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput + return v.Title + }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -func (DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +// Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. +func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) VizType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { + if v == nil { + return nil + } + return &v.VizType + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) +type PowerpackWidgetAlertValueDefinition struct { + // The ID of the monitor used by the widget. + AlertId string `pulumi:"alertId"` + // The precision to use when displaying the value. Use `*` for maximum precision. + Precision *int `pulumi:"precision"` + // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. + TextAlign *string `pulumi:"textAlign"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` + // The unit for the value displayed in the widget. + Unit *string `pulumi:"unit"` } -// DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryGroupByArray and DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetAlertValueDefinitionInput is an input type that accepts PowerpackWidgetAlertValueDefinitionArgs and PowerpackWidgetAlertValueDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetAlertValueDefinitionInput` via: // -// DashboardWidgetToplistDefinitionRequestLogQueryGroupByArray{ DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs{...} } -type DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetAlertValueDefinitionArgs{...} +type PowerpackWidgetAlertValueDefinitionInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput -} - -type DashboardWidgetToplistDefinitionRequestLogQueryGroupByArray []DashboardWidgetToplistDefinitionRequestLogQueryGroupByInput - -func (DashboardWidgetToplistDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) -} - -type DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) + ToPowerpackWidgetAlertValueDefinitionOutput() PowerpackWidgetAlertValueDefinitionOutput + ToPowerpackWidgetAlertValueDefinitionOutputWithContext(context.Context) PowerpackWidgetAlertValueDefinitionOutput } -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) SortQuery() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryGroupBy) *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +type PowerpackWidgetAlertValueDefinitionArgs struct { + // The ID of the monitor used by the widget. + AlertId pulumi.StringInput `pulumi:"alertId"` + // The precision to use when displaying the value. Use `*` for maximum precision. + Precision pulumi.IntPtrInput `pulumi:"precision"` + // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. + TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` + // The unit for the value displayed in the widget. + Unit pulumi.StringPtrInput `pulumi:"unit"` } -type DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetAlertValueDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetAlertValueDefinition)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionOutput() PowerpackWidgetAlertValueDefinitionOutput { + return i.ToPowerpackWidgetAlertValueDefinitionOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertValueDefinitionOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestLogQueryGroupBy { - return vs[0].([]DashboardWidgetToplistDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { + return i.ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertValueDefinitionOutput).ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs and DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetAlertValueDefinitionPtrInput is an input type that accepts PowerpackWidgetAlertValueDefinitionArgs, PowerpackWidgetAlertValueDefinitionPtr and PowerpackWidgetAlertValueDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetAlertValueDefinitionPtrInput` via: +// +// PowerpackWidgetAlertValueDefinitionArgs{...} +// +// or: // -// DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput interface { +// nil +type PowerpackWidgetAlertValueDefinitionPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() + ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput + ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput } -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} +type powerpackWidgetAlertValueDefinitionPtrType PowerpackWidgetAlertValueDefinitionArgs -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) +func PowerpackWidgetAlertValueDefinitionPtr(v *PowerpackWidgetAlertValueDefinitionArgs) PowerpackWidgetAlertValueDefinitionPtrInput { + return (*powerpackWidgetAlertValueDefinitionPtrType)(v) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (*powerpackWidgetAlertValueDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetAlertValueDefinition)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput).ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i *powerpackWidgetAlertValueDefinitionPtrType) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { + return i.ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Background()) } -// DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs, DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtr and DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput +func (i *powerpackWidgetAlertValueDefinitionPtrType) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertValueDefinitionPtrOutput) } -type dashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs +type PowerpackWidgetAlertValueDefinitionOutput struct{ *pulumi.OutputState } -func DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtr(v *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func (PowerpackWidgetAlertValueDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetAlertValueDefinition)(nil)).Elem() } -func (*dashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionOutput() PowerpackWidgetAlertValueDefinitionOutput { + return o } -func (i *dashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionOutput { + return o } -func (i *dashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { + return o.ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetAlertValueDefinition) *PowerpackWidgetAlertValueDefinition { + return &v + }).(PowerpackWidgetAlertValueDefinitionPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return o +// The ID of the monitor used by the widget. +func (o PowerpackWidgetAlertValueDefinitionOutput) AlertId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) string { return v.AlertId }).(pulumi.StringOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return o +// The precision to use when displaying the value. Use `*` for maximum precision. +func (o PowerpackWidgetAlertValueDefinitionOutput) Precision() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *int { return v.Precision }).(pulumi.IntPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetAlertValueDefinitionOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// The title of the widget. +func (o PowerpackWidgetAlertValueDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetAlertValueDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetAlertValueDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The unit for the value displayed in the widget. +func (o PowerpackWidgetAlertValueDefinitionOutput) Unit() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.Unit }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetAlertValueDefinitionPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetAlertValueDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetAlertValueDefinition)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Elem() PowerpackWidgetAlertValueDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) PowerpackWidgetAlertValueDefinition { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetAlertValueDefinition return ret - }).(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetAlertValueDefinitionOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { +// The ID of the monitor used by the widget. +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) AlertId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { if v == nil { return nil } - return &v.Aggregation + return &v.AlertId }).(pulumi.StringPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { +// The precision to use when displaying the value. Use `*` for maximum precision. +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Precision() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *int { if v == nil { return nil } - return v.Facet - }).(pulumi.StringPtrOutput) + return v.Precision + }).(pulumi.IntPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { +// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { if v == nil { return nil } - return &v.Order + return v.TextAlign }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute 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"` -} - -// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput` via: -// -// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} -type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput +// The title of the widget. +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs 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"` +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -func (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +// The unit for the value displayed in the widget. +func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Unit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { + if v == nil { + return nil + } + return v.Unit + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) +type PowerpackWidgetChangeDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetChangeDefinitionCustomLink `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Requests []PowerpackWidgetChangeDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetChangeDefinitionInput is an input type that accepts PowerpackWidgetChangeDefinitionArgs and PowerpackWidgetChangeDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionInput` via: // -// DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} } -type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetChangeDefinitionArgs{...} +type PowerpackWidgetChangeDefinitionInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput - ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetChangeDefinitionOutput() PowerpackWidgetChangeDefinitionOutput + ToPowerpackWidgetChangeDefinitionOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionOutput } -type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput +type PowerpackWidgetChangeDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetChangeDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Requests PowerpackWidgetChangeDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +} -func (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinition)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionOutput() PowerpackWidgetChangeDefinitionOutput { + return i.ToPowerpackWidgetChangeDefinitionOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Background()) +} -func (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionOutput).ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx) } -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return o +// PowerpackWidgetChangeDefinitionPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionArgs, PowerpackWidgetChangeDefinitionPtr and PowerpackWidgetChangeDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionPtrInput` via: +// +// PowerpackWidgetChangeDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetChangeDefinitionPtrInput interface { + pulumi.Input + + ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput + ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionPtrOutput } -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return o +type powerpackWidgetChangeDefinitionPtrType PowerpackWidgetChangeDefinitionArgs + +func PowerpackWidgetChangeDefinitionPtr(v *PowerpackWidgetChangeDefinitionArgs) PowerpackWidgetChangeDefinitionPtrInput { + return (*powerpackWidgetChangeDefinitionPtrType)(v) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (*powerpackWidgetChangeDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinition)(nil)).Elem() } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetChangeDefinitionPtrType) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Background()) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetChangeDefinitionPtrType) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionPtrOutput) } -type DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinition)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionOutput() PowerpackWidgetChangeDefinitionOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { - return vs[0].([]DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) +func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` -} - -// DashboardWidgetToplistDefinitionRequestProcessQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestProcessQueryArgs and DashboardWidgetToplistDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestProcessQueryInput` via: -// -// DashboardWidgetToplistDefinitionRequestProcessQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestProcessQueryInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestProcessQueryOutput() DashboardWidgetToplistDefinitionRequestProcessQueryOutput - ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryOutput -} - -type DashboardWidgetToplistDefinitionRequestProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` -} - -func (DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutput() DashboardWidgetToplistDefinitionRequestProcessQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestProcessQueryOutput) -} - -func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinition) *PowerpackWidgetChangeDefinition { + return &v + }).(PowerpackWidgetChangeDefinitionPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestProcessQueryOutput).ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionOutput) CustomLinks() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) } -// DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestProcessQueryArgs, DashboardWidgetToplistDefinitionRequestProcessQueryPtr and DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestProcessQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetChangeDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -type dashboardWidgetToplistDefinitionRequestProcessQueryPtrType DashboardWidgetToplistDefinitionRequestProcessQueryArgs - -func DashboardWidgetToplistDefinitionRequestProcessQueryPtr(v *DashboardWidgetToplistDefinitionRequestProcessQueryArgs) DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestProcessQueryPtrType)(v) +// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetChangeDefinitionOutput) Requests() PowerpackWidgetChangeDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionRequest { return v.Requests }).(PowerpackWidgetChangeDefinitionRequestArrayOutput) } -func (*dashboardWidgetToplistDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetChangeDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (i *dashboardWidgetToplistDefinitionRequestProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetChangeDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -func (i *dashboardWidgetToplistDefinitionRequestProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetChangeDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinition)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutput() DashboardWidgetToplistDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetChangeDefinitionPtrOutput) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetChangeDefinitionPtrOutput) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestProcessQuery) *DashboardWidgetToplistDefinitionRequestProcessQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) -} - -// A list of processes. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// Your chosen search term. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o +func (o PowerpackWidgetChangeDefinitionPtrOutput) Elem() PowerpackWidgetChangeDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) PowerpackWidgetChangeDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinition + return ret + }).(PowerpackWidgetChangeDefinitionOutput) } -func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionPtrOutput) CustomLinks() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionCustomLink { + if v == nil { + return nil + } + return v.CustomLinks + }).(PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) } -func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) DashboardWidgetToplistDefinitionRequestProcessQuery { - if v != nil { - return *v +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetChangeDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { + if v == nil { + return nil } - var ret DashboardWidgetToplistDefinitionRequestProcessQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestProcessQueryOutput) + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -// A list of processes. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) []string { +// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetChangeDefinitionPtrOutput) Requests() PowerpackWidgetChangeDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionRequest { if v == nil { return nil } - return v.FilterBies - }).(pulumi.StringArrayOutput) + return v.Requests + }).(PowerpackWidgetChangeDefinitionRequestArrayOutput) } -// The max number of items in the filter list. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) *int { +// The title of the widget. +func (o PowerpackWidgetChangeDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return v.Title + }).(pulumi.StringPtrOutput) } -// Your chosen metric. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetChangeDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { if v == nil { return nil } - return &v.Metric + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestProcessQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetChangeDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { if v == nil { return nil } - return v.SearchBy + return v.TitleSize }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *DashboardWidgetToplistDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *DashboardWidgetToplistDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *DashboardWidgetToplistDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *DashboardWidgetToplistDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +type PowerpackWidgetChangeDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -// DashboardWidgetToplistDefinitionRequestQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryArgs and DashboardWidgetToplistDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryInput` via: +// PowerpackWidgetChangeDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetChangeDefinitionCustomLinkArgs and PowerpackWidgetChangeDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionCustomLinkInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryInput interface { +// PowerpackWidgetChangeDefinitionCustomLinkArgs{...} +type PowerpackWidgetChangeDefinitionCustomLinkInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryOutput() DashboardWidgetToplistDefinitionRequestQueryOutput - ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryOutput + ToPowerpackWidgetChangeDefinitionCustomLinkOutput() PowerpackWidgetChangeDefinitionCustomLinkOutput + ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionCustomLinkOutput } -type DashboardWidgetToplistDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +type PowerpackWidgetChangeDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (DashboardWidgetToplistDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryOutput() DashboardWidgetToplistDefinitionRequestQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionCustomLinkArgs) ToPowerpackWidgetChangeDefinitionCustomLinkOutput() PowerpackWidgetChangeDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryOutput) +func (i PowerpackWidgetChangeDefinitionCustomLinkArgs) ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionCustomLinkOutput) } -// DashboardWidgetToplistDefinitionRequestQueryArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryArray and DashboardWidgetToplistDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetChangeDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionCustomLinkArray and PowerpackWidgetChangeDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionCustomLinkArrayInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryArray{ DashboardWidgetToplistDefinitionRequestQueryArgs{...} } -type DashboardWidgetToplistDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetChangeDefinitionCustomLinkArray{ PowerpackWidgetChangeDefinitionCustomLinkArgs{...} } +type PowerpackWidgetChangeDefinitionCustomLinkArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryArrayOutput() DashboardWidgetToplistDefinitionRequestQueryArrayOutput - ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryArrayOutput + ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutput() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput + ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionCustomLinkArrayOutput } -type DashboardWidgetToplistDefinitionRequestQueryArray []DashboardWidgetToplistDefinitionRequestQueryInput +type PowerpackWidgetChangeDefinitionCustomLinkArray []PowerpackWidgetChangeDefinitionCustomLinkInput -func (DashboardWidgetToplistDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryArray) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutput() DashboardWidgetToplistDefinitionRequestQueryArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionCustomLinkArray) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutput() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryArray) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetChangeDefinitionCustomLinkArray) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) } -type DashboardWidgetToplistDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryOutput() DashboardWidgetToplistDefinitionRequestQueryOutput { +func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) ToPowerpackWidgetChangeDefinitionCustomLinkOutput() PowerpackWidgetChangeDefinitionCustomLinkOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryOutput { +func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkOutput { return o } -// The APM Dependency Stats query using formulas and functions. -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ApmDependencyStatsQuery() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The APM Resource Stats query using formulas and functions. -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ApmResourceStatsQuery() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The Cloud Cost query using formulas and functions. -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) CloudCostQuery() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// A timeseries formula and functions events query. -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) EventQuery() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -// A timeseries formula and functions metrics query. -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) MetricQuery() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// The process query using formulas and functions. -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) ProcessQuery() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) +// The URL of the custom link. +func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -// The SLO query using formulas and functions. -func (o DashboardWidgetToplistDefinitionRequestQueryOutput) SloQuery() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuery) *DashboardWidgetToplistDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutput() DashboardWidgetToplistDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutput() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestQuery { - return vs[0].([]DashboardWidgetToplistDefinitionRequestQuery)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestQueryOutput) +func (o PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionCustomLink { + return vs[0].([]PowerpackWidgetChangeDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionCustomLinkOutput) } -type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` +type PowerpackWidgetChangeDefinitionRequest struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetChangeDefinitionRequestApmQuery `pulumi:"apmQuery"` + // Whether to show absolute or relative change. Valid values are `absolute`, `relative`. + ChangeType *string `pulumi:"changeType"` + // Choose from when to compare current data to. Valid values are `hourBefore`, `dayBefore`, `weekBefore`, `monthBefore`. + CompareTo *string `pulumi:"compareTo"` + Formulas []PowerpackWidgetChangeDefinitionRequestFormula `pulumi:"formulas"` + // A Boolean indicating whether an increase in the value is good (displayed in green) or not (displayed in red). + IncreaseGood *bool `pulumi:"increaseGood"` + // The query to use for this widget. + LogQuery *PowerpackWidgetChangeDefinitionRequestLogQuery `pulumi:"logQuery"` + // What to order by. Valid values are `change`, `name`, `present`, `past`. + OrderBy *string `pulumi:"orderBy"` + // Widget sorting method. Valid values are `asc`, `desc`. + OrderDir *string `pulumi:"orderDir"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetChangeDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetChangeDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetChangeDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetChangeDefinitionRequestSecurityQuery `pulumi:"securityQuery"` + // If set to `true`, displays the current value. + ShowPresent *bool `pulumi:"showPresent"` } -// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs and DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestArgs and PowerpackWidgetChangeDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestArgs{...} +type PowerpackWidgetChangeDefinitionRequestInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput - ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput -} - -type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` -} - -func (DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestOutput() PowerpackWidgetChangeDefinitionRequestOutput + ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestOutput } -func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + // Whether to show absolute or relative change. Valid values are `absolute`, `relative`. + ChangeType pulumi.StringPtrInput `pulumi:"changeType"` + // Choose from when to compare current data to. Valid values are `hourBefore`, `dayBefore`, `weekBefore`, `monthBefore`. + CompareTo pulumi.StringPtrInput `pulumi:"compareTo"` + Formulas PowerpackWidgetChangeDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // A Boolean indicating whether an increase in the value is good (displayed in green) or not (displayed in red). + IncreaseGood pulumi.BoolPtrInput `pulumi:"increaseGood"` + // The query to use for this widget. + LogQuery PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // What to order by. Valid values are `change`, `name`, `present`, `past`. + OrderBy pulumi.StringPtrInput `pulumi:"orderBy"` + // Widget sorting method. Valid values are `asc`, `desc`. + OrderDir pulumi.StringPtrInput `pulumi:"orderDir"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetChangeDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` + // If set to `true`, displays the current value. + ShowPresent pulumi.BoolPtrInput `pulumi:"showPresent"` } -func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (PowerpackWidgetChangeDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestArgs) ToPowerpackWidgetChangeDefinitionRequestOutput() PowerpackWidgetChangeDefinitionRequestOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestArgs) ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestOutput) } -// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs, DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr and DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestArray and PowerpackWidgetChangeDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestArray{ PowerpackWidgetChangeDefinitionRequestArgs{...} } +type PowerpackWidgetChangeDefinitionRequestArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestArrayOutput() PowerpackWidgetChangeDefinitionRequestArrayOutput + ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestArrayOutput } -type dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs - -func DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) -} +type PowerpackWidgetChangeDefinitionRequestArray []PowerpackWidgetChangeDefinitionRequestInput -func (*dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestArray) ToPowerpackWidgetChangeDefinitionRequestArrayOutput() PowerpackWidgetChangeDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestArray) ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestArrayOutput) } -type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestOutput) ToPowerpackWidgetChangeDefinitionRequestOutput() PowerpackWidgetChangeDefinitionRequestOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestOutput) ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetChangeDefinitionRequestOutput) ApmQuery() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +// Whether to show absolute or relative change. Valid values are `absolute`, `relative`. +func (o PowerpackWidgetChangeDefinitionRequestOutput) ChangeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.ChangeType }).(pulumi.StringPtrOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) +// Choose from when to compare current data to. Valid values are `hourBefore`, `dayBefore`, `weekBefore`, `monthBefore`. +func (o PowerpackWidgetChangeDefinitionRequestOutput) CompareTo() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.CompareTo }).(pulumi.StringPtrOutput) } -// APM environment. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestOutput) Formulas() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) []PowerpackWidgetChangeDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) +// A Boolean indicating whether an increase in the value is good (displayed in green) or not (displayed in red). +func (o PowerpackWidgetChangeDefinitionRequestOutput) IncreaseGood() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *bool { return v.IncreaseGood }).(pulumi.BoolPtrOutput) } -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetChangeDefinitionRequestOutput) LogQuery() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) } -// Name of operation on service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) +// What to order by. Valid values are `change`, `name`, `present`, `past`. +func (o PowerpackWidgetChangeDefinitionRequestOutput) OrderBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.OrderBy }).(pulumi.StringPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// Widget sorting method. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestOutput) OrderDir() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.OrderDir }).(pulumi.StringPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetChangeDefinitionRequestOutput) ProcessQuery() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) } -// APM resource. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetChangeDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) } -// APM service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestOutput) Queries() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) []PowerpackWidgetChangeDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetChangeDefinitionRequestOutput) RumQuery() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetChangeDefinitionRequestOutput) SecurityQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) +} + +// If set to `true`, displays the current value. +func (o PowerpackWidgetChangeDefinitionRequestOutput) ShowPresent() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *bool { return v.ShowPresent }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestArrayOutput) ToPowerpackWidgetChangeDefinitionRequestArrayOutput() PowerpackWidgetChangeDefinitionRequestArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestArrayOutput) ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (o PowerpackWidgetChangeDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequest { + return vs[0].([]PowerpackWidgetChangeDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +type PowerpackWidgetChangeDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// APM environment. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetChangeDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryArgs and PowerpackWidgetChangeDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryInput` via: +// +// PowerpackWidgetChangeDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestApmQueryInput interface { + pulumi.Input -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) + ToPowerpackWidgetChangeDefinitionRequestApmQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryOutput } -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// Name of operation on service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) -} - -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` -} - -// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs and DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput` via: -// -// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput - ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput -} - -type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetChangeDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryOutput) } -func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryOutput).ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs, DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr and DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryArgs, PowerpackWidgetChangeDefinitionRequestApmQueryPtr and PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestApmQueryArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput } -type dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs +type powerpackWidgetChangeDefinitionRequestApmQueryPtrType PowerpackWidgetChangeDefinitionRequestApmQueryArgs -func DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestApmQueryPtr(v *PowerpackWidgetChangeDefinitionRequestApmQueryArgs) PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestApmQueryPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestApmQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestApmQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestApmQuery) *PowerpackWidgetChangeDefinitionRequestApmQuery { return &v - }).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// APM environment. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Array of fields to group results by. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) } -// APM resource. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// APM service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) PowerpackWidgetChangeDefinitionRequestApmQuery { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetChangeDefinitionRequestApmQuery return ret - }).(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestApmQueryOutput) } -// APM environment. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { if v == nil { return nil } - return &v.Env - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Array of fields to group results by. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// Name of operation on service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) } -// APM resource. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) *string { if v == nil { return nil } - return v.ResourceName + return &v.Index }).(pulumi.StringPtrOutput) } -// APM service. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute { if v == nil { return nil } - return &v.Service - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { +// The search query to use. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) *string { if v == nil { return nil } - return &v.Stat + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery 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"` } -// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs and DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput - ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput } -type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs 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 (DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) } -func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs, DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtr and DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput } -type dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs -func DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { return &v - }).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery return ret - }).(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *int { if v == nil { return nil } - return &v.Query - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs and DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput -} - -type DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` -} - -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) +func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs, DashboardWidgetToplistDefinitionRequestQueryEventQueryPtr and DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput } -type dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs - -func DashboardWidgetToplistDefinitionRequestQueryEventQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType)(v) -} +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput -func (*dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryEventQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The compute options. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Computes() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// Group by options. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) -} +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// An array of index names to query in the stream. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { + return o } -// The search options. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Search() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { + return o } -// Storage location (private beta). -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o -} - -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o -} - -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) DashboardWidgetToplistDefinitionRequestQueryEventQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestQueryEventQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput) +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// The compute options. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Computes() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) -} +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput interface { + pulumi.Input -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput } -// Group by options. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) []DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -// An array of index names to query in the stream. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil - } - return v.Indexes - }).(pulumi.StringArrayOutput) +func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -// The search options. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Search() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) } -// Storage location (private beta). -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.Storage - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` +func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs and DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// +// or: // -// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput interface { +// nil +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` -} +type powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (*powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) +func (i *powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray and DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput` via: -// -// DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray{ DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput +func (i *powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray []DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { + return o } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { + return o } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return o +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return o +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -// A time interval in milliseconds. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -// The measurable attribute to compute. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o +} -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return o +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return o +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { - return vs[0].([]DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` +type PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute 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"` } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` +type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs 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 (DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { return o } -// The event facet. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The number of groups to return. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The options for sorting group by results. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` +type PowerpackWidgetChangeDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetChangeDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetChangeDefinitionRequestFormulaStyle `pulumi:"style"` } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetChangeDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaArgs and PowerpackWidgetChangeDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetChangeDefinitionRequestFormulaArgs{...} +type PowerpackWidgetChangeDefinitionRequestFormulaInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestFormulaOutput() PowerpackWidgetChangeDefinitionRequestFormulaOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaOutput } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) +func (PowerpackWidgetChangeDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaOutput() PowerpackWidgetChangeDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestFormulaArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaOutput) } -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaArray and PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestFormulaArray{ PowerpackWidgetChangeDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetChangeDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput } -type dashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs - -func DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} +type PowerpackWidgetChangeDefinitionRequestFormulaArray []PowerpackWidgetChangeDefinitionRequestFormulaInput -func (*dashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaArray) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestFormulaArray) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaOutput() PowerpackWidgetChangeDefinitionRequestFormulaOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// An expression alias. +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) []PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// The options for limiting results returned. +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) Limit() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *PowerpackWidgetChangeDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o +// Styling options for widget formulas. +func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) Style() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *PowerpackWidgetChangeDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} +type PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) +func (PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { + return o } -// The metric used for sorting group by results. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { + return o } -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestFormulaOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs and DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput -} - -type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) +func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput).ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) } -// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs, DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtr and DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput } -type dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs - -func DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtr(v *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType)(v) -} +type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput -func (*dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { - return &v - }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) } -// The events search string. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +// Setting this to True hides values. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +} -func (DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// Displays an image as the background. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +} + +// Defines the displayed timeframe. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +} + +// A value for the comparator. +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} + +type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch - return ret - }).(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// The events search string. -func (o DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) } -type DashboardWidgetToplistDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` } -// DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs and DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs and PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaLimitInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetChangeDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput - ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput } -type DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) } -func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs, DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtr and DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs, PowerpackWidgetChangeDefinitionRequestFormulaLimitPtr and PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput } -type dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs -func DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *DashboardWidgetToplistDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestFormulaLimit) *PowerpackWidgetChangeDefinitionRequestFormulaLimit { return &v - }).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +// The number of results to return. +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// The metrics query definition. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) DashboardWidgetToplistDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaLimit) PowerpackWidgetChangeDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetChangeDefinitionRequestFormulaLimit return ret - }).(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.DataSource - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { +// The number of results to return. +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaLimit) *int { if v == nil { return nil } - return &v.Name - }).(pulumi.StringPtrOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// The metrics query definition. -func (o DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryMetricQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaLimit) *string { if v == nil { return nil } - return &v.Query + return v.Order }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` +type PowerpackWidgetChangeDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` } -// DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs and DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs and PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaStyleInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetChangeDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput - ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutput() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput } -type DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +type PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` } -func (DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutput() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) } -func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput).ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs, DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtr and DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs, PowerpackWidgetChangeDefinitionRequestFormulaStylePtr and PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput` via: // -// DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput } -type dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetChangeDefinitionRequestFormulaStylePtrType PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs -func DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtr(v *DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestFormulaStylePtr(v *PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetChangeDefinitionRequestFormulaStylePtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutput() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *DashboardWidgetToplistDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestFormulaStyle) *PowerpackWidgetChangeDefinitionRequestFormulaStyle { return &v - }).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Whether to normalize the CPU percentages. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The process metric name. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) } -// An array of tags to filter by. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// Index specifying which color to use within the palette. +func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) DashboardWidgetToplistDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaStyle) PowerpackWidgetChangeDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetChangeDefinitionRequestFormulaStyle return ret - }).(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaStyle) *string { if v == nil { return nil } - return &v.DataSource + return v.Palette }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *int { +// Index specifying which color to use within the palette. +func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaStyle) *int { if v == nil { return nil } - return v.Limit + return v.PaletteIndex }).(pulumi.IntPtrOutput) } -// The process metric name. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Sort - }).(pulumi.StringPtrOutput) -} - -// An array of tags to filter by. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) -} - -// The text to use as a filter. -func (o DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.TextFilter - }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +type PowerpackWidgetChangeDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// DashboardWidgetToplistDefinitionRequestQuerySloQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs and DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryArgs and PowerpackWidgetChangeDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestLogQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput - ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryOutput } -type DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +type PowerpackWidgetChangeDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryOutput) } -func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput).ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryOutput).ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs, DashboardWidgetToplistDefinitionRequestQuerySloQueryPtr and DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryArgs, PowerpackWidgetChangeDefinitionRequestLogQueryPtr and PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestLogQueryArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput } -type dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs +type powerpackWidgetChangeDefinitionRequestLogQueryPtrType PowerpackWidgetChangeDefinitionRequestLogQueryArgs -func DashboardWidgetToplistDefinitionRequestQuerySloQueryPtr(v *DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestLogQueryPtr(v *PowerpackWidgetChangeDefinitionRequestLogQueryArgs) PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestLogQueryPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestLogQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestLogQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *DashboardWidgetToplistDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestLogQuery) *PowerpackWidgetChangeDefinitionRequestLogQuery { return &v - }).(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) } -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// ID of an SLO to query. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) DashboardWidgetToplistDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) PowerpackWidgetChangeDefinitionRequestLogQuery { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestQuerySloQuery + var ret PowerpackWidgetChangeDefinitionRequestLogQuery return ret - }).(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryOutput) } -// Additional filters applied to the SLO query. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { if v == nil { return nil } - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy { if v == nil { return nil } - return &v.DataSource - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) *string { if v == nil { return nil } - return v.GroupMode - }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// ID of an SLO to query. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) -} - -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetToplistDefinitionRequestRumQueryGroupBy `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 []DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// DashboardWidgetToplistDefinitionRequestRumQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryArgs and DashboardWidgetToplistDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryInput` via: -// -// DashboardWidgetToplistDefinitionRequestRumQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestRumQueryInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestRumQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryOutput -} - -type DashboardWidgetToplistDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (DashboardWidgetToplistDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Background()) -} - -func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryOutput) -} - -func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i DashboardWidgetToplistDefinitionRequestRumQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryOutput).ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx) -} - -// DashboardWidgetToplistDefinitionRequestRumQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryArgs, DashboardWidgetToplistDefinitionRequestRumQueryPtr and DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestRumQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetToplistDefinitionRequestRumQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput -} - -type dashboardWidgetToplistDefinitionRequestRumQueryPtrType DashboardWidgetToplistDefinitionRequestRumQueryArgs - -func DashboardWidgetToplistDefinitionRequestRumQueryPtr(v *DashboardWidgetToplistDefinitionRequestRumQueryArgs) DashboardWidgetToplistDefinitionRequestRumQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestRumQueryPtrType)(v) -} - -func (*dashboardWidgetToplistDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i *dashboardWidgetToplistDefinitionRequestRumQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i *dashboardWidgetToplistDefinitionRequestRumQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryOutput { - return o -} - -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryOutput { - return o -} - -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestRumQuery) *DashboardWidgetToplistDefinitionRequestRumQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) GroupBies() DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetToplistDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) DashboardWidgetToplistDefinitionRequestRumQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestRumQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) GroupBies() DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetToplistDefinitionRequestRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) *string { - if v == nil { - return nil - } - return &v.Index + return &v.Index }).(pulumi.StringPtrOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) []DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQuery) *string { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) *string { if v == nil { return nil } @@ -8128,7 +6812,7 @@ func (o DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput) SearchQuery() }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -8137,18 +6821,18 @@ type DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput } -type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -8157,125 +6841,125 @@ type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput } -type dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs -func DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { return &v - }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery return ret - }).(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) } // The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } @@ -8284,8 +6968,8 @@ func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Ag } // The facet name. -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } @@ -8294,8 +6978,8 @@ func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Fa } // Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery) *int { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *int { if v == nil { return nil } @@ -8303,124 +6987,124 @@ func (o DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) In }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupBy struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// DashboardWidgetToplistDefinitionRequestRumQueryGroupByInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs and DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs{...} -type DashboardWidgetToplistDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) } -// DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryGroupByArray and DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryGroupByArray{ DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs{...} } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupByArray []DashboardWidgetToplistDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput -func (DashboardWidgetToplistDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { return o } // The facet name. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) SortQuery() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryGroupBy) *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { return v.SortQuery - }).(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestRumQueryGroupBy { - return vs[0].([]DashboardWidgetToplistDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -8429,18 +7113,18 @@ type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs and DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -8449,125 +7133,125 @@ type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs struct Order pulumi.StringInput `pulumi:"order"` } -func (DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput).ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs, DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtr and DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type dashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs -func DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtr(v *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery return ret - }).(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) } // The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -8576,8 +7260,8 @@ func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput } // The facet name. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -8586,8 +7270,8 @@ func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -8595,7 +7279,7 @@ func (o DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -8604,18 +7288,18 @@ type DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} -type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput } -type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs struct { +type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -8624,4522 +7308,4274 @@ type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) } -// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} } -type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput - ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput } -type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput +type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput -func (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { return o } // The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { - return vs[0].([]DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) +func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy `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 []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetChangeDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// DashboardWidgetToplistDefinitionRequestSecurityQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestProcessQueryArgs and PowerpackWidgetChangeDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestProcessQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestProcessQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput + ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryOutput } -type DashboardWidgetToplistDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput `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 DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetChangeDefinitionRequestProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput).ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestProcessQueryOutput).ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryArgs, DashboardWidgetToplistDefinitionRequestSecurityQueryPtr and DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestProcessQueryArgs, PowerpackWidgetChangeDefinitionRequestProcessQueryPtr and PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput` via: // -// DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput } -type dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType DashboardWidgetToplistDefinitionRequestSecurityQueryArgs +type powerpackWidgetChangeDefinitionRequestProcessQueryPtrType PowerpackWidgetChangeDefinitionRequestProcessQueryArgs -func DashboardWidgetToplistDefinitionRequestSecurityQueryPtr(v *DashboardWidgetToplistDefinitionRequestSecurityQueryArgs) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestProcessQueryPtr(v *PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestProcessQueryPtrType)(v) } -func (*dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestSecurityQuery) *DashboardWidgetToplistDefinitionRequestSecurityQuery { +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestProcessQuery) *PowerpackWidgetChangeDefinitionRequestProcessQuery { return &v - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) GroupBies() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) +// A list of processes. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) +// Your chosen metric. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Your chosen search term. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) DashboardWidgetToplistDefinitionRequestSecurityQuery { +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) PowerpackWidgetChangeDefinitionRequestProcessQuery { if v != nil { return *v } - var ret DashboardWidgetToplistDefinitionRequestSecurityQuery + var ret PowerpackWidgetChangeDefinitionRequestProcessQuery return ret - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { +// A list of processes. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return v.ComputeQuery - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) GroupBies() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy { +// The max number of items in the filter list. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) *int { if v == nil { return nil } - return v.GroupBies - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The name of the index to query. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) *string { +// Your chosen metric. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Metric }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) MultiComputes() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { +// Your chosen search term. +func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return v.SearchBy + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery 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"` +type PowerpackWidgetChangeDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetChangeDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetChangeDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` } -// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput -} - -type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs 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 (DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryOutput } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput).ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryOutput) } -// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs, DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr and DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryArray and PowerpackWidgetChangeDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryArrayInput` via: // -// nil -type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryArray{ PowerpackWidgetChangeDefinitionRequestQueryArgs{...} } +type PowerpackWidgetChangeDefinitionRequestQueryArrayInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput + ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryArrayOutput } -type dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs - -func DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetChangeDefinitionRequestQueryArray []PowerpackWidgetChangeDefinitionRequestQueryInput -func (*dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() } -func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryArray) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryArray) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +// The process query using formulas and functions. +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o +// The SLO query using formulas and functions. +func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o -} +type PowerpackWidgetChangeDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { + return o } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { + return o } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestQueryOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` } -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs{...} -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput -} - -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArray and DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArray{ DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs{...} } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput +func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArray []DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByInput - -func (DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { + pulumi.Input -func (DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return o -} +type powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return o +func PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (*powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -// The maximum number of items in the group. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -// A list of exactly one element describing the sort query to use. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) SortQuery() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy) *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) -} - -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +// APM environment. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +// Name of operation on service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs, DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtr and DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -type dashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*dashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (*dashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (i *dashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *bool { + if v == nil { + return nil + } + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// Name of operation on service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil } - var ret DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// APM resource. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return &v.ResourceName }).(pulumi.StringPtrOutput) } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// APM service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Service }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Order + return &v.Stat }).(pulumi.StringPtrOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute 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"` +type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` } -// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs and DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} -type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput } -type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs 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"` +type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) } -// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray and DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput` via: -// -// DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray{ DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput -} - -type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray []DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput - -func (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { + pulumi.Input -func (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return o -} +type powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return o +func PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -// The aggregation method. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (*powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -// The facet name. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -// Define the time interval in seconds. -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToDashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -type DashboardWidgetToplistDefinitionRequestStyle struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette *string `pulumi:"palette"` +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// DashboardWidgetToplistDefinitionRequestStyleInput is an input type that accepts DashboardWidgetToplistDefinitionRequestStyleArgs and DashboardWidgetToplistDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestStyleInput` via: -// -// DashboardWidgetToplistDefinitionRequestStyleArgs{...} -type DashboardWidgetToplistDefinitionRequestStyleInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestStyleOutput() DashboardWidgetToplistDefinitionRequestStyleOutput - ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestStyleOutput +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type DashboardWidgetToplistDefinitionRequestStyleArgs struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette pulumi.StringPtrInput `pulumi:"palette"` +// APM environment. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (DashboardWidgetToplistDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +// Array of fields to group results by. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) } -func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStyleOutput() DashboardWidgetToplistDefinitionRequestStyleOutput { - return i.ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(context.Background()) +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestStyleOutput) +// Name of operation on service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetToplistDefinitionRequestStyleArgs) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestStyleOutput).ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// DashboardWidgetToplistDefinitionRequestStylePtrInput is an input type that accepts DashboardWidgetToplistDefinitionRequestStyleArgs, DashboardWidgetToplistDefinitionRequestStylePtr and DashboardWidgetToplistDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `DashboardWidgetToplistDefinitionRequestStylePtrInput` via: -// -// DashboardWidgetToplistDefinitionRequestStyleArgs{...} -// -// or: -// -// nil -type DashboardWidgetToplistDefinitionRequestStylePtrInput interface { - pulumi.Input - - ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput - ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput +// APM resource. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -type dashboardWidgetToplistDefinitionRequestStylePtrType DashboardWidgetToplistDefinitionRequestStyleArgs - -func DashboardWidgetToplistDefinitionRequestStylePtr(v *DashboardWidgetToplistDefinitionRequestStyleArgs) DashboardWidgetToplistDefinitionRequestStylePtrInput { - return (*dashboardWidgetToplistDefinitionRequestStylePtrType)(v) +// APM service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (*dashboardWidgetToplistDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -func (i *dashboardWidgetToplistDefinitionRequestStylePtrType) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return i.ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) -} +type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (i *dashboardWidgetToplistDefinitionRequestStylePtrType) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionRequestStylePtrOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -type DashboardWidgetToplistDefinitionRequestStyleOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetToplistDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o } -func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStyleOutput() DashboardWidgetToplistDefinitionRequestStyleOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStyleOutput { - return o +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return o.ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestStyleOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetToplistDefinitionRequestStyle) *DashboardWidgetToplistDefinitionRequestStyle { - return &v - }).(DashboardWidgetToplistDefinitionRequestStylePtrOutput) +// APM environment. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o DashboardWidgetToplistDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetToplistDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// Array of fields to group results by. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) []string { + if v == nil { + return nil + } + return v.GroupBies + }).(pulumi.StringArrayOutput) } -type DashboardWidgetToplistDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} -func (DashboardWidgetToplistDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetToplistDefinitionRequestStyle)(nil)).Elem() +// Name of operation on service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutput() DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return o +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) ToDashboardWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionRequestStylePtrOutput { - return o +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) Elem() DashboardWidgetToplistDefinitionRequestStyleOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestStyle) DashboardWidgetToplistDefinitionRequestStyle { - if v != nil { - return *v +// APM resource. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil } - var ret DashboardWidgetToplistDefinitionRequestStyle - return ret - }).(DashboardWidgetToplistDefinitionRequestStyleOutput) + return v.ResourceName + }).(pulumi.StringPtrOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetToplistDefinitionRequestStyle) *string { +// APM service. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Palette + return &v.Service }).(pulumi.StringPtrOutput) } -type DashboardWidgetTopologyMapDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []DashboardWidgetTopologyMapDefinitionCustomLink `pulumi:"customLinks"` - // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). - Requests []DashboardWidgetTopologyMapDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -// DashboardWidgetTopologyMapDefinitionInput is an input type that accepts DashboardWidgetTopologyMapDefinitionArgs and DashboardWidgetTopologyMapDefinitionOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryInput` via: // -// DashboardWidgetTopologyMapDefinitionArgs{...} -type DashboardWidgetTopologyMapDefinitionInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToDashboardWidgetTopologyMapDefinitionOutput() DashboardWidgetTopologyMapDefinitionOutput - ToDashboardWidgetTopologyMapDefinitionOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionOutput + ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput } -type DashboardWidgetTopologyMapDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). - Requests DashboardWidgetTopologyMapDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (DashboardWidgetTopologyMapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionOutput() DashboardWidgetTopologyMapDefinitionOutput { - return i.ToDashboardWidgetTopologyMapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) } -func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { - return i.ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTopologyMapDefinitionArgs) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionOutput).ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTopologyMapDefinitionPtrInput is an input type that accepts DashboardWidgetTopologyMapDefinitionArgs, DashboardWidgetTopologyMapDefinitionPtr and DashboardWidgetTopologyMapDefinitionPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// DashboardWidgetTopologyMapDefinitionArgs{...} +// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type DashboardWidgetTopologyMapDefinitionPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput - ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput } -type dashboardWidgetTopologyMapDefinitionPtrType DashboardWidgetTopologyMapDefinitionArgs +type powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs -func DashboardWidgetTopologyMapDefinitionPtr(v *DashboardWidgetTopologyMapDefinitionArgs) DashboardWidgetTopologyMapDefinitionPtrInput { - return (*dashboardWidgetTopologyMapDefinitionPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*dashboardWidgetTopologyMapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTopologyMapDefinition)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *dashboardWidgetTopologyMapDefinitionPtrType) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { - return i.ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTopologyMapDefinitionPtrType) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) } -type DashboardWidgetTopologyMapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTopologyMapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionOutput() DashboardWidgetTopologyMapDefinitionOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { - return o.ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTopologyMapDefinitionOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTopologyMapDefinition) *DashboardWidgetTopologyMapDefinition { +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery { return &v - }).(DashboardWidgetTopologyMapDefinitionPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o DashboardWidgetTopologyMapDefinitionOutput) CustomLinks() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionCustomLink { - return v.CustomLinks - }).(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) + }).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) } -// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). -func (o DashboardWidgetTopologyMapDefinitionOutput) Requests() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionRequest { - return v.Requests - }).(DashboardWidgetTopologyMapDefinitionRequestArrayOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The title of the widget. -func (o DashboardWidgetTopologyMapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o DashboardWidgetTopologyMapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -// The size of the widget's title (defaults to 16). -func (o DashboardWidgetTopologyMapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// The cloud cost query definition. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type DashboardWidgetTopologyMapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTopologyMapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTopologyMapDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutput() DashboardWidgetTopologyMapDefinitionPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) ToDashboardWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) Elem() DashboardWidgetTopologyMapDefinitionOutput { - return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) DashboardWidgetTopologyMapDefinition { +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret DashboardWidgetTopologyMapDefinition + var ret PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery return ret - }).(DashboardWidgetTopologyMapDefinitionOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) CustomLinks() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) + }).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) } -// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (`query` and `requestType` are required within the request). -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) Requests() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) []DashboardWidgetTopologyMapDefinitionRequest { +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Requests - }).(DashboardWidgetTopologyMapDefinitionRequestArrayOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// The title of the widget. -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) *string { +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Title + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) *string { +// The name of the query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.TitleAlign + return &v.Name }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o DashboardWidgetTopologyMapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTopologyMapDefinition) *string { +// The cloud cost query definition. +func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.TitleSize + return &v.Query }).(pulumi.StringPtrOutput) } -type DashboardWidgetTopologyMapDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +type PowerpackWidgetChangeDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// DashboardWidgetTopologyMapDefinitionCustomLinkInput is an input type that accepts DashboardWidgetTopologyMapDefinitionCustomLinkArgs and DashboardWidgetTopologyMapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionCustomLinkInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryInput` via: // -// DashboardWidgetTopologyMapDefinitionCustomLinkArgs{...} -type DashboardWidgetTopologyMapDefinitionCustomLinkInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToDashboardWidgetTopologyMapDefinitionCustomLinkOutput() DashboardWidgetTopologyMapDefinitionCustomLinkOutput - ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkOutput -} - -type DashboardWidgetTopologyMapDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` -} - -func (DashboardWidgetTopologyMapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput } -func (i DashboardWidgetTopologyMapDefinitionCustomLinkArgs) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutput() DashboardWidgetTopologyMapDefinitionCustomLinkOutput { - return i.ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (i DashboardWidgetTopologyMapDefinitionCustomLinkArgs) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionCustomLinkOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() } -// DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput is an input type that accepts DashboardWidgetTopologyMapDefinitionCustomLinkArray and DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput` via: -// -// DashboardWidgetTopologyMapDefinitionCustomLinkArray{ DashboardWidgetTopologyMapDefinitionCustomLinkArgs{...} } -type DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput interface { - pulumi.Input - - ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput - ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -type DashboardWidgetTopologyMapDefinitionCustomLinkArray []DashboardWidgetTopologyMapDefinitionCustomLinkInput - -func (DashboardWidgetTopologyMapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) } -func (i DashboardWidgetTopologyMapDefinitionCustomLinkArray) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return i.ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTopologyMapDefinitionCustomLinkArray) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -type DashboardWidgetTopologyMapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTopologyMapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() -} +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput interface { + pulumi.Input -func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutput() DashboardWidgetTopologyMapDefinitionCustomLinkOutput { - return o + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput } -func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkOutput { - return o -} +type powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs -// The flag for toggling context menu link visibility. -func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +func PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType)(v) } -// The label for the custom link URL. -func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +func (*powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() } -// The URL of the custom link. -func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o DashboardWidgetTopologyMapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) } -type DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput() DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToDashboardWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTopologyMapDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTopologyMapDefinitionCustomLink { - return vs[0].([]DashboardWidgetTopologyMapDefinitionCustomLink)[vs[1].(int)] - }).(DashboardWidgetTopologyMapDefinitionCustomLinkOutput) -} - -type DashboardWidgetTopologyMapDefinitionRequest struct { - // The query for a Topology request. - Queries []DashboardWidgetTopologyMapDefinitionRequestQuery `pulumi:"queries"` - // The request type for the Topology request ('topology'). Valid values are `topology`. - RequestType string `pulumi:"requestType"` -} - -// DashboardWidgetTopologyMapDefinitionRequestInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestArgs and DashboardWidgetTopologyMapDefinitionRequestOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestInput` via: -// -// DashboardWidgetTopologyMapDefinitionRequestArgs{...} -type DashboardWidgetTopologyMapDefinitionRequestInput interface { - pulumi.Input - - ToDashboardWidgetTopologyMapDefinitionRequestOutput() DashboardWidgetTopologyMapDefinitionRequestOutput - ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestOutput +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -type DashboardWidgetTopologyMapDefinitionRequestArgs struct { - // The query for a Topology request. - Queries DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The request type for the Topology request ('topology'). Valid values are `topology`. - RequestType pulumi.StringInput `pulumi:"requestType"` +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) } -func (DashboardWidgetTopologyMapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +// The compute options. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) } -func (i DashboardWidgetTopologyMapDefinitionRequestArgs) ToDashboardWidgetTopologyMapDefinitionRequestOutput() DashboardWidgetTopologyMapDefinitionRequestOutput { - return i.ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(context.Background()) +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (i DashboardWidgetTopologyMapDefinitionRequestArgs) ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestOutput) +// Group by options. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// DashboardWidgetTopologyMapDefinitionRequestArrayInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestArray and DashboardWidgetTopologyMapDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestArrayInput` via: -// -// DashboardWidgetTopologyMapDefinitionRequestArray{ DashboardWidgetTopologyMapDefinitionRequestArgs{...} } -type DashboardWidgetTopologyMapDefinitionRequestArrayInput interface { - pulumi.Input - - ToDashboardWidgetTopologyMapDefinitionRequestArrayOutput() DashboardWidgetTopologyMapDefinitionRequestArrayOutput - ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestArrayOutput +// An array of index names to query in the stream. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -type DashboardWidgetTopologyMapDefinitionRequestArray []DashboardWidgetTopologyMapDefinitionRequestInput - -func (DashboardWidgetTopologyMapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } -func (i DashboardWidgetTopologyMapDefinitionRequestArray) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutput() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { - return i.ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Background()) +// The search options. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) } -func (i DashboardWidgetTopologyMapDefinitionRequestArray) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestArrayOutput) +// Storage location (private beta). +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type DashboardWidgetTopologyMapDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTopologyMapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o DashboardWidgetTopologyMapDefinitionRequestOutput) ToDashboardWidgetTopologyMapDefinitionRequestOutput() DashboardWidgetTopologyMapDefinitionRequestOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionRequestOutput) ToDashboardWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { return o } -// The query for a Topology request. -func (o DashboardWidgetTopologyMapDefinitionRequestOutput) Queries() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequest) []DashboardWidgetTopologyMapDefinitionRequestQuery { - return v.Queries - }).(DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) PowerpackWidgetChangeDefinitionRequestQueryEventQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestQueryEventQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) } -// The request type for the Topology request ('topology'). Valid values are `topology`. -func (o DashboardWidgetTopologyMapDefinitionRequestOutput) RequestType() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequest) string { return v.RequestType }).(pulumi.StringOutput) +// The compute options. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute { + if v == nil { + return nil + } + return v.Computes + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) } -type DashboardWidgetTopologyMapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTopologyMapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequest)(nil)).Elem() +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTopologyMapDefinitionRequestArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutput() DashboardWidgetTopologyMapDefinitionRequestArrayOutput { - return o +// Group by options. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) } -func (o DashboardWidgetTopologyMapDefinitionRequestArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestArrayOutput { - return o +// An array of index names to query in the stream. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTopologyMapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTopologyMapDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTopologyMapDefinitionRequest { - return vs[0].([]DashboardWidgetTopologyMapDefinitionRequest)[vs[1].(int)] - }).(DashboardWidgetTopologyMapDefinitionRequestOutput) +// The search options. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { + if v == nil { + return nil + } + return v.Search + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) } -type DashboardWidgetTopologyMapDefinitionRequestQuery struct { - // The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. - DataSource string `pulumi:"dataSource"` - // Your environment and primary tag (or `*` if enabled for your account). - Filters []string `pulumi:"filters"` - // The ID of the service to map. - Service string `pulumi:"service"` +// Storage location (private beta). +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// DashboardWidgetTopologyMapDefinitionRequestQueryInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestQueryArgs and DashboardWidgetTopologyMapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput` via: // -// DashboardWidgetTopologyMapDefinitionRequestQueryArgs{...} -type DashboardWidgetTopologyMapDefinitionRequestQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToDashboardWidgetTopologyMapDefinitionRequestQueryOutput() DashboardWidgetTopologyMapDefinitionRequestQueryOutput - ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput } -type DashboardWidgetTopologyMapDefinitionRequestQueryArgs struct { - // The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Your environment and primary tag (or `*` if enabled for your account). - Filters pulumi.StringArrayInput `pulumi:"filters"` - // The ID of the service to map. - Service pulumi.StringInput `pulumi:"service"` +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (DashboardWidgetTopologyMapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i DashboardWidgetTopologyMapDefinitionRequestQueryArgs) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutput() DashboardWidgetTopologyMapDefinitionRequestQueryOutput { - return i.ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetTopologyMapDefinitionRequestQueryArgs) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) } -// DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput is an input type that accepts DashboardWidgetTopologyMapDefinitionRequestQueryArray and DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// DashboardWidgetTopologyMapDefinitionRequestQueryArray{ DashboardWidgetTopologyMapDefinitionRequestQueryArgs{...} } -type DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput - ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput } -type DashboardWidgetTopologyMapDefinitionRequestQueryArray []DashboardWidgetTopologyMapDefinitionRequestQueryInput +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput -func (DashboardWidgetTopologyMapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i DashboardWidgetTopologyMapDefinitionRequestQueryArray) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { - return i.ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetTopologyMapDefinitionRequestQueryArray) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) } -type DashboardWidgetTopologyMapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTopologyMapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutput() DashboardWidgetTopologyMapDefinitionRequestQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { return o } -// The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. -func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Your environment and primary tag (or `*` if enabled for your account). -func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) Filters() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequestQuery) []string { return v.Filters }).(pulumi.StringArrayOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The ID of the service to map. -func (o DashboardWidgetTopologyMapDefinitionRequestQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTopologyMapDefinitionRequestQuery) string { return v.Service }).(pulumi.StringOutput) +// The measurable attribute to compute. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput() DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTopologyMapDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTopologyMapDefinitionRequestQuery { - return vs[0].([]DashboardWidgetTopologyMapDefinitionRequestQuery)[vs[1].(int)] - }).(DashboardWidgetTopologyMapDefinitionRequestQueryOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) } -type DashboardWidgetTraceServiceDefinition struct { - // The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. - DisplayFormat *string `pulumi:"displayFormat"` - // APM environment. - Env string `pulumi:"env"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // APM service. - Service string `pulumi:"service"` - // Whether to show the latency breakdown or not. - ShowBreakdown *bool `pulumi:"showBreakdown"` - // Whether to show the latency distribution or not. - ShowDistribution *bool `pulumi:"showDistribution"` - // Whether to show the error metrics or not. - ShowErrors *bool `pulumi:"showErrors"` - // Whether to show the hits metrics or not - ShowHits *bool `pulumi:"showHits"` - // Whether to show the latency metrics or not. - ShowLatency *bool `pulumi:"showLatency"` - // Whether to show the resource list or not. - ShowResourceList *bool `pulumi:"showResourceList"` - // The size of the widget. Valid values are `small`, `medium`, `large`. - SizeFormat *string `pulumi:"sizeFormat"` - // APM span name - SpanName string `pulumi:"spanName"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. + Limit *int `pulumi:"limit"` + // The options for sorting group by results. + Sort *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// DashboardWidgetTraceServiceDefinitionInput is an input type that accepts DashboardWidgetTraceServiceDefinitionArgs and DashboardWidgetTraceServiceDefinitionOutput values. -// You can construct a concrete instance of `DashboardWidgetTraceServiceDefinitionInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput` via: // -// DashboardWidgetTraceServiceDefinitionArgs{...} -type DashboardWidgetTraceServiceDefinitionInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToDashboardWidgetTraceServiceDefinitionOutput() DashboardWidgetTraceServiceDefinitionOutput - ToDashboardWidgetTraceServiceDefinitionOutputWithContext(context.Context) DashboardWidgetTraceServiceDefinitionOutput -} - -type DashboardWidgetTraceServiceDefinitionArgs struct { - // The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. - DisplayFormat pulumi.StringPtrInput `pulumi:"displayFormat"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // Whether to show the latency breakdown or not. - ShowBreakdown pulumi.BoolPtrInput `pulumi:"showBreakdown"` - // Whether to show the latency distribution or not. - ShowDistribution pulumi.BoolPtrInput `pulumi:"showDistribution"` - // Whether to show the error metrics or not. - ShowErrors pulumi.BoolPtrInput `pulumi:"showErrors"` - // Whether to show the hits metrics or not - ShowHits pulumi.BoolPtrInput `pulumi:"showHits"` - // Whether to show the latency metrics or not. - ShowLatency pulumi.BoolPtrInput `pulumi:"showLatency"` - // Whether to show the resource list or not. - ShowResourceList pulumi.BoolPtrInput `pulumi:"showResourceList"` - // The size of the widget. Valid values are `small`, `medium`, `large`. - SizeFormat pulumi.StringPtrInput `pulumi:"sizeFormat"` - // APM span name - SpanName pulumi.StringInput `pulumi:"spanName"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` -} - -func (DashboardWidgetTraceServiceDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTraceServiceDefinition)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput } -func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionOutput() DashboardWidgetTraceServiceDefinitionOutput { - return i.ToDashboardWidgetTraceServiceDefinitionOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The options for sorting group by results. + Sort PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTraceServiceDefinitionOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { - return i.ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i DashboardWidgetTraceServiceDefinitionArgs) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTraceServiceDefinitionOutput).ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) } -// DashboardWidgetTraceServiceDefinitionPtrInput is an input type that accepts DashboardWidgetTraceServiceDefinitionArgs, DashboardWidgetTraceServiceDefinitionPtr and DashboardWidgetTraceServiceDefinitionPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTraceServiceDefinitionPtrInput` via: -// -// DashboardWidgetTraceServiceDefinitionArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// nil -type DashboardWidgetTraceServiceDefinitionPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput - ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput } -type dashboardWidgetTraceServiceDefinitionPtrType DashboardWidgetTraceServiceDefinitionArgs - -func DashboardWidgetTraceServiceDefinitionPtr(v *DashboardWidgetTraceServiceDefinitionArgs) DashboardWidgetTraceServiceDefinitionPtrInput { - return (*dashboardWidgetTraceServiceDefinitionPtrType)(v) -} +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput -func (*dashboardWidgetTraceServiceDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTraceServiceDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i *dashboardWidgetTraceServiceDefinitionPtrType) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { - return i.ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetTraceServiceDefinitionPtrType) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTraceServiceDefinitionPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type DashboardWidgetTraceServiceDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTraceServiceDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTraceServiceDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionOutput() DashboardWidgetTraceServiceDefinitionOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { - return o.ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +// The event facet. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -func (o DashboardWidgetTraceServiceDefinitionOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTraceServiceDefinition) *DashboardWidgetTraceServiceDefinition { - return &v - }).(DashboardWidgetTraceServiceDefinitionPtrOutput) +// The number of groups to return. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. -func (o DashboardWidgetTraceServiceDefinitionOutput) DisplayFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.DisplayFormat }).(pulumi.StringPtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// APM environment. -func (o DashboardWidgetTraceServiceDefinitionOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) string { return v.Env }).(pulumi.StringOutput) -} +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o DashboardWidgetTraceServiceDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// APM service. -func (o DashboardWidgetTraceServiceDefinitionOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) string { return v.Service }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// Whether to show the latency breakdown or not. -func (o DashboardWidgetTraceServiceDefinitionOutput) ShowBreakdown() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowBreakdown }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// Whether to show the latency distribution or not. -func (o DashboardWidgetTraceServiceDefinitionOutput) ShowDistribution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowDistribution }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) } -// Whether to show the error metrics or not. -func (o DashboardWidgetTraceServiceDefinitionOutput) ShowErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowErrors }).(pulumi.BoolPtrOutput) +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// Whether to show the hits metrics or not -func (o DashboardWidgetTraceServiceDefinitionOutput) ShowHits() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowHits }).(pulumi.BoolPtrOutput) +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput` via: +// +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput interface { + pulumi.Input + + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput } -// Whether to show the latency metrics or not. -func (o DashboardWidgetTraceServiceDefinitionOutput) ShowLatency() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowLatency }).(pulumi.BoolPtrOutput) +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -// Whether to show the resource list or not. -func (o DashboardWidgetTraceServiceDefinitionOutput) ShowResourceList() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *bool { return v.ShowResourceList }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -// The size of the widget. Valid values are `small`, `medium`, `large`. -func (o DashboardWidgetTraceServiceDefinitionOutput) SizeFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.SizeFormat }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -// APM span name -func (o DashboardWidgetTraceServiceDefinitionOutput) SpanName() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) string { return v.SpanName }).(pulumi.StringOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The title of the widget. -func (o DashboardWidgetTraceServiceDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o DashboardWidgetTraceServiceDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// The size of the widget's title (defaults to 16). -func (o DashboardWidgetTraceServiceDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTraceServiceDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// +// or: +// +// nil +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { + pulumi.Input + + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type DashboardWidgetTraceServiceDefinitionPtrOutput struct{ *pulumi.OutputState } +type powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs -func (DashboardWidgetTraceServiceDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTraceServiceDefinition)(nil)).Elem() +func PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutput() DashboardWidgetTraceServiceDefinitionPtrOutput { - return o +func (*powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ToDashboardWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTraceServiceDefinitionPtrOutput { - return o +func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Elem() DashboardWidgetTraceServiceDefinitionOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) DashboardWidgetTraceServiceDefinition { - if v != nil { - return *v - } - var ret DashboardWidgetTraceServiceDefinition - return ret - }).(DashboardWidgetTraceServiceDefinitionOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) DisplayFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return v.DisplayFormat - }).(pulumi.StringPtrOutput) +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -// APM environment. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { + return o } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { + return o } -// APM service. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -// Whether to show the latency breakdown or not. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowBreakdown() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowBreakdown - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { + return &v + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// Whether to show the latency distribution or not. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowDistribution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowDistribution - }).(pulumi.BoolPtrOutput) +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } -// Whether to show the error metrics or not. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowErrors - }).(pulumi.BoolPtrOutput) +// The metric used for sorting group by results. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// Whether to show the hits metrics or not -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowHits() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowHits - }).(pulumi.BoolPtrOutput) +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -// Whether to show the latency metrics or not. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowLatency() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowLatency - }).(pulumi.BoolPtrOutput) +type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -// Whether to show the resource list or not. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) ShowResourceList() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowResourceList - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o } -// The size of the widget. Valid values are `small`, `medium`, `large`. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) SizeFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return v.SizeFormat - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o } -// APM span name -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) SpanName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { - if v == nil { - return nil +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { + if v != nil { + return *v } - return &v.SpanName - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort + return ret + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The title of the widget. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.Title + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { +// The metric used for sorting group by results. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.TitleAlign + return v.Metric }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o DashboardWidgetTraceServiceDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTraceServiceDefinition) *string { +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.TitleSize + return v.Order }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinition struct { - // Nested block describing the request to use when displaying the widget. - Requests []DashboardWidgetTreemapDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` +type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// DashboardWidgetTreemapDefinitionInput is an input type that accepts DashboardWidgetTreemapDefinitionArgs and DashboardWidgetTreemapDefinitionOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchInput` via: // -// DashboardWidgetTreemapDefinitionArgs{...} -type DashboardWidgetTreemapDefinitionInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionOutput() DashboardWidgetTreemapDefinitionOutput - ToDashboardWidgetTreemapDefinitionOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput } -type DashboardWidgetTreemapDefinitionArgs struct { - // Nested block describing the request to use when displaying the widget. - Requests DashboardWidgetTreemapDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` +type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (DashboardWidgetTreemapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionOutput() DashboardWidgetTreemapDefinitionOutput { - return i.ToDashboardWidgetTreemapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) } -func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionArgs) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionOutput).ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionArgs, DashboardWidgetTreemapDefinitionPtr and DashboardWidgetTreemapDefinitionPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// DashboardWidgetTreemapDefinitionArgs{...} +// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput - ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput } -type dashboardWidgetTreemapDefinitionPtrType DashboardWidgetTreemapDefinitionArgs +type powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs -func DashboardWidgetTreemapDefinitionPtr(v *DashboardWidgetTreemapDefinitionArgs) DashboardWidgetTreemapDefinitionPtrInput { - return (*dashboardWidgetTreemapDefinitionPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinition)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionPtrType) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionPtrType) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) } -type DashboardWidgetTreemapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionOutput() DashboardWidgetTreemapDefinitionOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionOutput) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinition) *DashboardWidgetTreemapDefinition { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { return &v - }).(DashboardWidgetTreemapDefinitionPtrOutput) -} - -// Nested block describing the request to use when displaying the widget. -func (o DashboardWidgetTreemapDefinitionOutput) Requests() DashboardWidgetTreemapDefinitionRequestArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinition) []DashboardWidgetTreemapDefinitionRequest { return v.Requests }).(DashboardWidgetTreemapDefinitionRequestArrayOutput) + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The title of the widget. -func (o DashboardWidgetTreemapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The events search string. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type DashboardWidgetTreemapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinition)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionPtrOutput) ToDashboardWidgetTreemapDefinitionPtrOutput() DashboardWidgetTreemapDefinitionPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionPtrOutput) ToDashboardWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionPtrOutput) Elem() DashboardWidgetTreemapDefinitionOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinition) DashboardWidgetTreemapDefinition { +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret DashboardWidgetTreemapDefinition + var ret PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch return ret - }).(DashboardWidgetTreemapDefinitionOutput) -} - -// Nested block describing the request to use when displaying the widget. -func (o DashboardWidgetTreemapDefinitionPtrOutput) Requests() DashboardWidgetTreemapDefinitionRequestArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinition) []DashboardWidgetTreemapDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(DashboardWidgetTreemapDefinitionRequestArrayOutput) + }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) } -// The title of the widget. -func (o DashboardWidgetTreemapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinition) *string { +// The events search string. +func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) *string { if v == nil { return nil } - return v.Title + return &v.Query }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequest struct { - Formulas []DashboardWidgetTreemapDefinitionRequestFormula `pulumi:"formulas"` - Queries []DashboardWidgetTreemapDefinitionRequestQuery `pulumi:"queries"` +type PowerpackWidgetChangeDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` } -// DashboardWidgetTreemapDefinitionRequestInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestArgs and DashboardWidgetTreemapDefinitionRequestOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryMetricQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestArgs{...} -type DashboardWidgetTreemapDefinitionRequestInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestOutput() DashboardWidgetTreemapDefinitionRequestOutput - ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestOutput + ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput } -type DashboardWidgetTreemapDefinitionRequestArgs struct { - Formulas DashboardWidgetTreemapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - Queries DashboardWidgetTreemapDefinitionRequestQueryArrayInput `pulumi:"queries"` +type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (DashboardWidgetTreemapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() -} +func (PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) +} -func (i DashboardWidgetTreemapDefinitionRequestArgs) ToDashboardWidgetTreemapDefinitionRequestOutput() DashboardWidgetTreemapDefinitionRequestOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestArgs) ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestArray and DashboardWidgetTreemapDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs{...} +// +// or: // -// DashboardWidgetTreemapDefinitionRequestArray{ DashboardWidgetTreemapDefinitionRequestArgs{...} } -type DashboardWidgetTreemapDefinitionRequestArrayInput interface { +// nil +type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestArrayOutput() DashboardWidgetTreemapDefinitionRequestArrayOutput - ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestArrayOutput + ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput } -type DashboardWidgetTreemapDefinitionRequestArray []DashboardWidgetTreemapDefinitionRequestInput +type powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs + +func PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType)(v) +} -func (DashboardWidgetTreemapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestArray) ToDashboardWidgetTreemapDefinitionRequestArrayOutput() DashboardWidgetTreemapDefinitionRequestArrayOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestArray) ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestArrayOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestOutput) ToDashboardWidgetTreemapDefinitionRequestOutput() DashboardWidgetTreemapDefinitionRequestOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestOutput) ToDashboardWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestOutput) Formulas() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequest) []DashboardWidgetTreemapDefinitionRequestFormula { - return v.Formulas - }).(DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestOutput) Queries() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequest) []DashboardWidgetTreemapDefinitionRequestQuery { - return v.Queries - }).(DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} -func (DashboardWidgetTreemapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequest)(nil)).Elem() +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestArrayOutput) ToDashboardWidgetTreemapDefinitionRequestArrayOutput() DashboardWidgetTreemapDefinitionRequestArrayOutput { - return o +// The name of the query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } -func (o DashboardWidgetTreemapDefinitionRequestArrayOutput) ToDashboardWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestArrayOutput { - return o +// The metrics query definition. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -func (o DashboardWidgetTreemapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequest { - return vs[0].([]DashboardWidgetTreemapDefinitionRequest)[vs[1].(int)] - }).(DashboardWidgetTreemapDefinitionRequestOutput) +type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() } -type DashboardWidgetTreemapDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *DashboardWidgetTreemapDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *DashboardWidgetTreemapDefinitionRequestFormulaStyle `pulumi:"style"` +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return o } -// DashboardWidgetTreemapDefinitionRequestFormulaInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaArgs and DashboardWidgetTreemapDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaInput` via: -// -// DashboardWidgetTreemapDefinitionRequestFormulaArgs{...} -type DashboardWidgetTreemapDefinitionRequestFormulaInput interface { - pulumi.Input +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { + return o +} - ToDashboardWidgetTreemapDefinitionRequestFormulaOutput() DashboardWidgetTreemapDefinitionRequestFormulaOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaOutput +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) PowerpackWidgetChangeDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestQueryMetricQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.DataSource + }).(pulumi.StringPtrOutput) } -func (DashboardWidgetTreemapDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +// The name of the query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaOutput() DashboardWidgetTreemapDefinitionRequestFormulaOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Background()) +// The metrics query definition. +func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaOutput) +type PowerpackWidgetChangeDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit *int `pulumi:"limit"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` } -// DashboardWidgetTreemapDefinitionRequestFormulaArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaArray and DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryProcessQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestFormulaArray{ DashboardWidgetTreemapDefinitionRequestFormulaArgs{...} } -type DashboardWidgetTreemapDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput } -type DashboardWidgetTreemapDefinitionRequestFormulaArray []DashboardWidgetTreemapDefinitionRequestFormulaInput - -func (DashboardWidgetTreemapDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` } -func (i DashboardWidgetTreemapDefinitionRequestFormulaArray) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestFormulaArray) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -type DashboardWidgetTreemapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTreemapDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaOutput() DashboardWidgetTreemapDefinitionRequestFormulaOutput { - return o +func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaOutput { - return o +func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// An expression alias. -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput interface { + pulumi.Input -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) + ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput } -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) ConditionalFormats() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) []DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) +type powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs + +func PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType)(v) } -// A string expression built from queries, formulas, and functions. -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +func (*powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() } -// The options for limiting results returned. -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) Limit() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *DashboardWidgetTreemapDefinitionRequestFormulaLimit { - return v.Limit - }).(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -// Styling options for widget formulas. -func (o DashboardWidgetTreemapDefinitionRequestFormulaOutput) Style() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormula) *DashboardWidgetTreemapDefinitionRequestFormulaStyle { - return v.Style - }).(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestFormula { - return vs[0].([]DashboardWidgetTreemapDefinitionRequestFormula)[vs[1].(int)] - }).(DashboardWidgetTreemapDefinitionRequestFormulaOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) } -// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs and DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput` via: -// -// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} -type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input - - ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +// The number of hits to return. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) +// The process metric name. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray and DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput` via: -// -// DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray{ DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} } -type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput interface { - pulumi.Input - - ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray []DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput - -func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +// An array of tags to filter by. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) +// The text to use as a filter. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { return o } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) PowerpackWidgetChangeDefinitionRequestQueryProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestQueryProcessQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) } -// The color palette to apply to the background, same values available as palette. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.DataSource }).(pulumi.StringPtrOutput) } -// Setting this to True hides values. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) -} - -// Displays an image as the background. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) -} - -// The metric from the request to correlate with this conditional format. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -// Defines the displayed timeframe. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// The number of hits to return. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) } -// A value for the comparator. -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// The process metric name. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Sort + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// An array of tags to filter by. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) []string { + if v == nil { + return nil + } + return v.TagFilters + }).(pulumi.StringArrayOutput) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat { - return vs[0].([]DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) +// The text to use as a filter. +func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.TextFilter + }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` +type PowerpackWidgetChangeDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// DashboardWidgetTreemapDefinitionRequestFormulaLimitInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs and DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetChangeDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs and PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQuerySloQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{...} -type DashboardWidgetTreemapDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput } -type DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` +type PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput).ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs, DashboardWidgetTreemapDefinitionRequestFormulaLimitPtr and DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs, PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtr and PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput` via: // -// DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput } -type dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs +type powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs -func DashboardWidgetTreemapDefinitionRequestFormulaLimitPtr(v *DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestFormulaLimit) *DashboardWidgetTreemapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *PowerpackWidgetChangeDefinitionRequestQuerySloQuery { return &v - }).(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) } -// The number of results to return. -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +} -func (DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o +// ID of an SLO to query. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaLimit) DashboardWidgetTreemapDefinitionRequestFormulaLimit { - if v != nil { +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) PowerpackWidgetChangeDefinitionRequestQuerySloQuery { + if v != nil { return *v } - var ret DashboardWidgetTreemapDefinitionRequestFormulaLimit + var ret PowerpackWidgetChangeDefinitionRequestQuerySloQuery return ret - }).(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) } -// The number of results to return. -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaLimit) *int { +// Additional filters applied to the SLO query. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return v.Count - }).(pulumi.IntPtrOutput) + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaLimit) *string { +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return v.Order + return &v.DataSource }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) +} + +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetChangeDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// DashboardWidgetTreemapDefinitionRequestFormulaStyleInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs and DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaStyleInput` via: +// PowerpackWidgetChangeDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryArgs and PowerpackWidgetChangeDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{...} -type DashboardWidgetTreemapDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetChangeDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestRumQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutput() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryOutput } -type DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` +type PowerpackWidgetChangeDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutput() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryOutput) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput).ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryOutput).ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs, DashboardWidgetTreemapDefinitionRequestFormulaStylePtr and DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryArgs, PowerpackWidgetChangeDefinitionRequestRumQueryPtr and PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput` via: // -// DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetChangeDefinitionRequestRumQueryArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput - ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput } -type dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs +type powerpackWidgetChangeDefinitionRequestRumQueryPtrType PowerpackWidgetChangeDefinitionRequestRumQueryArgs -func DashboardWidgetTreemapDefinitionRequestFormulaStylePtr(v *DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput { - return (*dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetChangeDefinitionRequestRumQueryPtr(v *PowerpackWidgetChangeDefinitionRequestRumQueryArgs) PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestRumQueryPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestRumQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestFormulaStylePtrType) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestRumQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutput() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestFormulaStyle) *DashboardWidgetTreemapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestRumQuery) *PowerpackWidgetChangeDefinitionRequestRumQuery { return &v - }).(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) } -// Index specifying which color to use within the palette. -func (o DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } -type DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput() DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToDashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaStyle) DashboardWidgetTreemapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) PowerpackWidgetChangeDefinitionRequestRumQuery { if v != nil { return *v } - var ret DashboardWidgetTreemapDefinitionRequestFormulaStyle + var ret PowerpackWidgetChangeDefinitionRequestRumQuery return ret - }).(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetChangeDefinitionRequestRumQueryOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaStyle) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } - return v.Palette + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -// Index specifying which color to use within the palette. -func (o DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestFormulaStyle) *int { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) } -type DashboardWidgetTreemapDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *DashboardWidgetTreemapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *DashboardWidgetTreemapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +// The search query to use. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery 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"` } -// DashboardWidgetTreemapDefinitionRequestQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput } -type DashboardWidgetTreemapDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs 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 (PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +} + +func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (DashboardWidgetTreemapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestQueryArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryArray and DashboardWidgetTreemapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs{...} +// +// or: // -// DashboardWidgetTreemapDefinitionRequestQueryArray{ DashboardWidgetTreemapDefinitionRequestQueryArgs{...} } -type DashboardWidgetTreemapDefinitionRequestQueryArrayInput interface { +// nil +type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput - ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput } -type DashboardWidgetTreemapDefinitionRequestQueryArray []DashboardWidgetTreemapDefinitionRequestQueryInput +type powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs -func (DashboardWidgetTreemapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (i DashboardWidgetTreemapDefinitionRequestQueryArray) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryArray) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -type DashboardWidgetTreemapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTreemapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func (i *powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryOutput { - return o -} +type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryOutput { - return o +func (PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -// The APM Dependency Stats query using formulas and functions. -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { + return o } -// The APM Resource Stats query using formulas and functions. -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ApmResourceStatsQuery() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { + return o } -// The Cloud Cost query using formulas and functions. -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) CloudCostQuery() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -// A timeseries formula and functions events query. -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) EventQuery() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) } -// A timeseries formula and functions metrics query. -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) MetricQuery() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The process query using formulas and functions. -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) ProcessQuery() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The SLO query using formulas and functions. -func (o DashboardWidgetTreemapDefinitionRequestQueryOutput) SloQuery() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuery) *DashboardWidgetTreemapDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestQuery { - return vs[0].([]DashboardWidgetTreemapDefinitionRequestQuery)[vs[1].(int)] - }).(DashboardWidgetTreemapDefinitionRequestQueryOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput interface { - pulumi.Input +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} - ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -func (DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput` via: +// +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) } -// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput` via: // -// nil -type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput } -type dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs - -func DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) -} +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput -func (*dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { - return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// APM environment. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { + return o } -// Name of operation on service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { + return o } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) } -// APM resource. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// APM service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) -} +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput interface { + pulumi.Input -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput } -type DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o +func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery - return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// APM environment. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { + pulumi.Input -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -// Name of operation on service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) -} +type powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -// APM resource. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.ResourceName - }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// APM service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` +func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput interface { - pulumi.Input - - ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { + return o } -type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { + return o } -func (DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -// -// or: -// -// nil -type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { - pulumi.Input +type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput +func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -type dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs - -func DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o } -func (*dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o } -func (i *dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery + return ret + }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o +type PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute 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"` } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} +// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput` via: +// +// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput interface { + pulumi.Input -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) + ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) +type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs 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"` } -// APM environment. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -// Array of fields to group results by. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) } -// Name of operation on service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput interface { + pulumi.Input -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput -// APM resource. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -// APM service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} - -// Array of fields to group results by. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } - return v.GroupBies - }).(pulumi.StringArrayOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Name of operation on service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -// APM resource. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { + return o } -// APM service. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { + return o } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput } -type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs, PowerpackWidgetChangeDefinitionRequestSecurityQueryPtr and PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput } -type dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs -func DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestSecurityQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQuery { return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) } -// The cloud cost query definition. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) PowerpackWidgetChangeDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetChangeDefinitionRequestSecurityQuery return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } - return &v.DataSource - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Index }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } - return &v.Query + return v.MultiComputes + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery 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"` } -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs 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 (DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs +type powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs -func DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Computes() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group by options. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) GroupBies() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The search options. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Search() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) DashboardWidgetTreemapDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret DashboardWidgetTreemapDefinitionRequestQueryEventQuery + var ret PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput) -} - -// The compute options. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Computes() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// Group by options. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil - } - return v.Indexes - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The search options. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Search() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// Storage location (private beta). -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } - return v.Storage - }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` -} - -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput interface { - pulumi.Input - - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput -} - -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` -} - -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) -} - -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray and DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray{ DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput interface { - pulumi.Input - - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput -} - -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray []DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput - -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) -} - -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return o -} - -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return o -} - -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// A time interval in milliseconds. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -// The measurable attribute to compute. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } - -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o -} - -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o -} - -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { - return vs[0].([]DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) } -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray and DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray{ DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs{...} } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray []DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { return o } -// The event facet. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The number of groups to return. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The options for sorting group by results. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Sort() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery struct { + // The aggregation method. Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput).ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs, DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtr and DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type dashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs -func DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtr(v *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The metric used for sorting group by results. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -13147,20721 +11583,19629 @@ func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutp }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Metric + return v.Facet }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Order + return &v.Order }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute 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"` } -// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs and DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput -} - -type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs 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 (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput).ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) } -// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs, DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr and DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: +// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// nil -type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput interface { +// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs +type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput -func DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType)(v) +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (*dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { - return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The events search string. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch - return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) -} - -// The events search string. -func (o DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` +type PowerpackWidgetCheckStatusDefinition struct { + // The check to use in the widget. + Check string `pulumi:"check"` + // The check group to use in the widget. + Group *string `pulumi:"group"` + // When `grouping = "cluster"`, indicates a list of tags to use for grouping. + GroupBies []string `pulumi:"groupBies"` + // The kind of grouping to use. Valid values are `check`, `cluster`. + Grouping string `pulumi:"grouping"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A list of tags to use in the widget. + Tags []string `pulumi:"tags"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetCheckStatusDefinitionInput is an input type that accepts PowerpackWidgetCheckStatusDefinitionArgs and PowerpackWidgetCheckStatusDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetCheckStatusDefinitionInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetCheckStatusDefinitionArgs{...} +type PowerpackWidgetCheckStatusDefinitionInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetCheckStatusDefinitionOutput() PowerpackWidgetCheckStatusDefinitionOutput + ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(context.Context) PowerpackWidgetCheckStatusDefinitionOutput } -type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetCheckStatusDefinitionArgs struct { + // The check to use in the widget. + Check pulumi.StringInput `pulumi:"check"` + // The check group to use in the widget. + Group pulumi.StringPtrInput `pulumi:"group"` + // When `grouping = "cluster"`, indicates a list of tags to use for grouping. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The kind of grouping to use. Valid values are `check`, `cluster`. + Grouping pulumi.StringInput `pulumi:"grouping"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A list of tags to use in the widget. + Tags pulumi.StringArrayInput `pulumi:"tags"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetCheckStatusDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetCheckStatusDefinition)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionOutput() PowerpackWidgetCheckStatusDefinitionOutput { + return i.ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetCheckStatusDefinitionOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { + return i.ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetCheckStatusDefinitionOutput).ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetCheckStatusDefinitionPtrInput is an input type that accepts PowerpackWidgetCheckStatusDefinitionArgs, PowerpackWidgetCheckStatusDefinitionPtr and PowerpackWidgetCheckStatusDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetCheckStatusDefinitionPtrInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetCheckStatusDefinitionArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetCheckStatusDefinitionPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput + ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput } -type dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetCheckStatusDefinitionPtrType PowerpackWidgetCheckStatusDefinitionArgs -func DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetCheckStatusDefinitionPtr(v *PowerpackWidgetCheckStatusDefinitionArgs) PowerpackWidgetCheckStatusDefinitionPtrInput { + return (*powerpackWidgetCheckStatusDefinitionPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetCheckStatusDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetCheckStatusDefinition)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetCheckStatusDefinitionPtrType) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { + return i.ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetCheckStatusDefinitionPtrType) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetCheckStatusDefinitionPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetCheckStatusDefinitionOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetCheckStatusDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetCheckStatusDefinition)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionOutput() PowerpackWidgetCheckStatusDefinitionOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { + return o.ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetCheckStatusDefinition) *PowerpackWidgetCheckStatusDefinition { return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetCheckStatusDefinitionPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +// The check to use in the widget. +func (o PowerpackWidgetCheckStatusDefinitionOutput) Check() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) string { return v.Check }).(pulumi.StringOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +// The check group to use in the widget. +func (o PowerpackWidgetCheckStatusDefinitionOutput) Group() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.Group }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +// When `grouping = "cluster"`, indicates a list of tags to use for grouping. +func (o PowerpackWidgetCheckStatusDefinitionOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) []string { return v.GroupBies }).(pulumi.StringArrayOutput) } -// The metrics query definition. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The kind of grouping to use. Valid values are `check`, `cluster`. +func (o PowerpackWidgetCheckStatusDefinitionOutput) Grouping() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) string { return v.Grouping }).(pulumi.StringOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetCheckStatusDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +} + +// A list of tags to use in the widget. +func (o PowerpackWidgetCheckStatusDefinitionOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) []string { return v.Tags }).(pulumi.StringArrayOutput) +} + +// The title of the widget. +func (o PowerpackWidgetCheckStatusDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetCheckStatusDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetCheckStatusDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetCheckStatusDefinitionPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetCheckStatusDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetCheckStatusDefinition)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) DashboardWidgetTreemapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Elem() PowerpackWidgetCheckStatusDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) PowerpackWidgetCheckStatusDefinition { if v != nil { return *v } - var ret DashboardWidgetTreemapDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetCheckStatusDefinition return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetCheckStatusDefinitionOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { +// The check to use in the widget. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Check() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { if v == nil { return nil } - return v.Aggregator + return &v.Check }).(pulumi.StringPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { +// The check group to use in the widget. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Group() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { if v == nil { return nil } - return v.DataSource + return v.Group }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { +// When `grouping = "cluster"`, indicates a list of tags to use for grouping. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) []string { if v == nil { return nil } - return &v.Name + return v.GroupBies + }).(pulumi.StringArrayOutput) +} + +// The kind of grouping to use. Valid values are `check`, `cluster`. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Grouping() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { + if v == nil { + return nil + } + return &v.Grouping }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryMetricQuery) *string { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { if v == nil { return nil } - return &v.Query + return v.LiveSpan }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` +// A list of tags to use in the widget. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) []string { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.StringArrayOutput) +} + +// The title of the widget. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetDistributionDefinition struct { + // The size of the legend displayed in the widget. + LegendSize *string `pulumi:"legendSize"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Requests []PowerpackWidgetDistributionDefinitionRequest `pulumi:"requests"` + // Whether or not to show the legend on this widget. + ShowLegend *bool `pulumi:"showLegend"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs and DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetDistributionDefinitionInput is an input type that accepts PowerpackWidgetDistributionDefinitionArgs and PowerpackWidgetDistributionDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetDistributionDefinitionArgs{...} +type PowerpackWidgetDistributionDefinitionInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetDistributionDefinitionOutput() PowerpackWidgetDistributionDefinitionOutput + ToPowerpackWidgetDistributionDefinitionOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionOutput } -type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +type PowerpackWidgetDistributionDefinitionArgs struct { + // The size of the legend displayed in the widget. + LegendSize pulumi.StringPtrInput `pulumi:"legendSize"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Requests PowerpackWidgetDistributionDefinitionRequestArrayInput `pulumi:"requests"` + // Whether or not to show the legend on this widget. + ShowLegend pulumi.BoolPtrInput `pulumi:"showLegend"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinition)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionOutput() PowerpackWidgetDistributionDefinitionOutput { + return i.ToPowerpackWidgetDistributionDefinitionOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionOutput) } -func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionOutput).ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx) } -// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs, DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtr and DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetDistributionDefinitionPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionArgs, PowerpackWidgetDistributionDefinitionPtr and PowerpackWidgetDistributionDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionPtrInput` via: // -// DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetDistributionDefinitionArgs{...} // // or: // // nil -type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetDistributionDefinitionPtrInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput + ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionPtrOutput } -type dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetDistributionDefinitionPtrType PowerpackWidgetDistributionDefinitionArgs -func DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetDistributionDefinitionPtr(v *PowerpackWidgetDistributionDefinitionArgs) PowerpackWidgetDistributionDefinitionPtrInput { + return (*powerpackWidgetDistributionDefinitionPtrType)(v) } -func (*dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinition)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionPtrType) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetDistributionDefinitionPtrType) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinition)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionOutput() PowerpackWidgetDistributionDefinitionOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinition) *PowerpackWidgetDistributionDefinition { return &v - }).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) + }).(PowerpackWidgetDistributionDefinitionPtrOutput) } -// Whether to normalize the CPU percentages. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +// The size of the legend displayed in the widget. +func (o PowerpackWidgetDistributionDefinitionOutput) LegendSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.LegendSize }).(pulumi.StringPtrOutput) } -// The number of hits to return. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetDistributionDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -// The process metric name. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetDistributionDefinitionOutput) Requests() PowerpackWidgetDistributionDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) []PowerpackWidgetDistributionDefinitionRequest { + return v.Requests + }).(PowerpackWidgetDistributionDefinitionRequestArrayOutput) } -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +// Whether or not to show the legend on this widget. +func (o PowerpackWidgetDistributionDefinitionOutput) ShowLegend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *bool { return v.ShowLegend }).(pulumi.BoolPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +// The title of the widget. +func (o PowerpackWidgetDistributionDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetDistributionDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetDistributionDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinition)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetDistributionDefinitionPtrOutput) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetDistributionDefinitionPtrOutput) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) DashboardWidgetTreemapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetDistributionDefinitionPtrOutput) Elem() PowerpackWidgetDistributionDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) PowerpackWidgetDistributionDefinition { if v != nil { return *v } - var ret DashboardWidgetTreemapDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetDistributionDefinition return ret - }).(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetDistributionDefinitionOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { +// The size of the legend displayed in the widget. +func (o PowerpackWidgetDistributionDefinitionPtrOutput) LegendSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { if v == nil { return nil } - return v.Aggregator + return v.LegendSize }).(pulumi.StringPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetDistributionDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { if v == nil { return nil } - return &v.DataSource + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *int { +// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetDistributionDefinitionPtrOutput) Requests() PowerpackWidgetDistributionDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) []PowerpackWidgetDistributionDefinitionRequest { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return v.Requests + }).(PowerpackWidgetDistributionDefinitionRequestArrayOutput) } -// The process metric name. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { +// Whether or not to show the legend on this widget. +func (o PowerpackWidgetDistributionDefinitionPtrOutput) ShowLegend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *bool { if v == nil { return nil } - return &v.Metric - }).(pulumi.StringPtrOutput) + return v.ShowLegend + }).(pulumi.BoolPtrOutput) } -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { +// The title of the widget. +func (o PowerpackWidgetDistributionDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { if v == nil { return nil } - return &v.Name + return v.Title }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetDistributionDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { if v == nil { return nil } - return v.Sort + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) -} - -// The text to use as a filter. -func (o DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQueryProcessQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetDistributionDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { if v == nil { return nil } - return v.TextFilter + return v.TitleSize }).(pulumi.StringPtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +type PowerpackWidgetDistributionDefinitionRequest struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetDistributionDefinitionRequestApmQuery `pulumi:"apmQuery"` + ApmStatsQuery *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery `pulumi:"apmStatsQuery"` + // The query to use for this widget. + LogQuery *PowerpackWidgetDistributionDefinitionRequestLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetDistributionDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + // The query to use for this widget. + RumQuery *PowerpackWidgetDistributionDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetDistributionDefinitionRequestSecurityQuery `pulumi:"securityQuery"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style *PowerpackWidgetDistributionDefinitionRequestStyle `pulumi:"style"` } -// DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs and DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetDistributionDefinitionRequestInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestArgs and PowerpackWidgetDistributionDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestInput` via: // -// DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} -type DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetDistributionDefinitionRequestArgs{...} +type PowerpackWidgetDistributionDefinitionRequestInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput - ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestOutput() PowerpackWidgetDistributionDefinitionRequestOutput + ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestOutput } -type DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` -} - -func (DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +type PowerpackWidgetDistributionDefinitionRequestArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + ApmStatsQuery PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput `pulumi:"apmStatsQuery"` + // The query to use for this widget. + LogQuery PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + // The query to use for this widget. + RumQuery PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style PowerpackWidgetDistributionDefinitionRequestStylePtrInput `pulumi:"style"` } -func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) +func (PowerpackWidgetDistributionDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() } -func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestArgs) ToPowerpackWidgetDistributionDefinitionRequestOutput() PowerpackWidgetDistributionDefinitionRequestOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(context.Background()) } -func (i DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput).ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestArgs) ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestOutput) } -// DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs, DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtr and DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput` via: -// -// DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestArray and PowerpackWidgetDistributionDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestArrayInput` via: // -// nil -type DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestArray{ PowerpackWidgetDistributionDefinitionRequestArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestArrayInput interface { pulumi.Input - ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput - ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestArrayOutput() PowerpackWidgetDistributionDefinitionRequestArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestArrayOutput } -type dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs - -func DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtr(v *DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput { - return (*dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestArray []PowerpackWidgetDistributionDefinitionRequestInput -func (*dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() } -func (i *dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestArray) ToPowerpackWidgetDistributionDefinitionRequestArrayOutput() PowerpackWidgetDistributionDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i *dashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestArray) ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestArrayOutput) } -type DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetDistributionDefinitionRequestOutput) ToPowerpackWidgetDistributionDefinitionRequestOutput() PowerpackWidgetDistributionDefinitionRequestOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetDistributionDefinitionRequestOutput) ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return o.ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *DashboardWidgetTreemapDefinitionRequestQuerySloQuery { - return &v - }).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetDistributionDefinitionRequestOutput) ApmQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) } -// Additional filters applied to the SLO query. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestOutput) ApmStatsQuery() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery { + return v.ApmStatsQuery + }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetDistributionDefinitionRequestOutput) LogQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetDistributionDefinitionRequestOutput) ProcessQuery() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetDistributionDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetDistributionDefinitionRequestOutput) RumQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) } -// ID of an SLO to query. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetDistributionDefinitionRequestOutput) SecurityQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +// The style of the widget graph. One nested block is allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestOutput) Style() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestStyle { + return v.Style + }).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) } -type DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() } -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestArrayOutput() PowerpackWidgetDistributionDefinitionRequestArrayOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToDashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestArrayOutput { return o } -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Elem() DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) DashboardWidgetTreemapDefinitionRequestQuerySloQuery { - if v != nil { - return *v - } - var ret DashboardWidgetTreemapDefinitionRequestQuerySloQuery - return ret - }).(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput) -} - -// Additional filters applied to the SLO query. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.GroupMode - }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// ID of an SLO to query. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) -} - -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DashboardWidgetTreemapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequest { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestOutput) } -type DashboardWidgetWidgetLayout struct { - // The height of the widget. - Height int `pulumi:"height"` - // Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. - IsColumnBreak *bool `pulumi:"isColumnBreak"` - // The width of the widget. - Width int `pulumi:"width"` - // The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. - X int `pulumi:"x"` - // The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. - Y int `pulumi:"y"` +type PowerpackWidgetDistributionDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// DashboardWidgetWidgetLayoutInput is an input type that accepts DashboardWidgetWidgetLayoutArgs and DashboardWidgetWidgetLayoutOutput values. -// You can construct a concrete instance of `DashboardWidgetWidgetLayoutInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryInput` via: // -// DashboardWidgetWidgetLayoutArgs{...} -type DashboardWidgetWidgetLayoutInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestApmQueryInput interface { pulumi.Input - ToDashboardWidgetWidgetLayoutOutput() DashboardWidgetWidgetLayoutOutput - ToDashboardWidgetWidgetLayoutOutputWithContext(context.Context) DashboardWidgetWidgetLayoutOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryOutput } -type DashboardWidgetWidgetLayoutArgs struct { - // The height of the widget. - Height pulumi.IntInput `pulumi:"height"` - // Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. - IsColumnBreak pulumi.BoolPtrInput `pulumi:"isColumnBreak"` - // The width of the widget. - Width pulumi.IntInput `pulumi:"width"` - // The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. - X pulumi.IntInput `pulumi:"x"` - // The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. - Y pulumi.IntInput `pulumi:"y"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (DashboardWidgetWidgetLayoutArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetWidgetLayout)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() } -func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutOutput() DashboardWidgetWidgetLayoutOutput { - return i.ToDashboardWidgetWidgetLayoutOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetWidgetLayoutOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) } -func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { - return i.ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i DashboardWidgetWidgetLayoutArgs) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetWidgetLayoutOutput).ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// DashboardWidgetWidgetLayoutPtrInput is an input type that accepts DashboardWidgetWidgetLayoutArgs, DashboardWidgetWidgetLayoutPtr and DashboardWidgetWidgetLayoutPtrOutput values. -// You can construct a concrete instance of `DashboardWidgetWidgetLayoutPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput` via: // -// DashboardWidgetWidgetLayoutArgs{...} +// PowerpackWidgetDistributionDefinitionRequestApmQueryArgs{...} // // or: // // nil -type DashboardWidgetWidgetLayoutPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput - ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Context) DashboardWidgetWidgetLayoutPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput } -type dashboardWidgetWidgetLayoutPtrType DashboardWidgetWidgetLayoutArgs +type powerpackWidgetDistributionDefinitionRequestApmQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmQueryArgs -func DashboardWidgetWidgetLayoutPtr(v *DashboardWidgetWidgetLayoutArgs) DashboardWidgetWidgetLayoutPtrInput { - return (*dashboardWidgetWidgetLayoutPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestApmQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestApmQueryPtrType)(v) } -func (*dashboardWidgetWidgetLayoutPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetWidgetLayout)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() } -func (i *dashboardWidgetWidgetLayoutPtrType) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { - return i.ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestApmQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *dashboardWidgetWidgetLayoutPtrType) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetWidgetLayoutPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestApmQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) } -type DashboardWidgetWidgetLayoutOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (DashboardWidgetWidgetLayoutOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DashboardWidgetWidgetLayout)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() } -func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutOutput() DashboardWidgetWidgetLayoutOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { return o } -func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { return o } -func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { - return o.ToDashboardWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o DashboardWidgetWidgetLayoutOutput) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetWidgetLayout) *DashboardWidgetWidgetLayout { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmQuery) *PowerpackWidgetDistributionDefinitionRequestApmQuery { return &v - }).(DashboardWidgetWidgetLayoutPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) } -// The height of the widget. -func (o DashboardWidgetWidgetLayoutOutput) Height() pulumi.IntOutput { - return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.Height }).(pulumi.IntOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. -func (o DashboardWidgetWidgetLayoutOutput) IsColumnBreak() pulumi.BoolPtrOutput { - return o.ApplyT(func(v DashboardWidgetWidgetLayout) *bool { return v.IsColumnBreak }).(pulumi.BoolPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) } -// The width of the widget. -func (o DashboardWidgetWidgetLayoutOutput) Width() pulumi.IntOutput { - return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.Width }).(pulumi.IntOutput) +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. -func (o DashboardWidgetWidgetLayoutOutput) X() pulumi.IntOutput { - return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.X }).(pulumi.IntOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) } -// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. -func (o DashboardWidgetWidgetLayoutOutput) Y() pulumi.IntOutput { - return o.ApplyT(func(v DashboardWidgetWidgetLayout) int { return v.Y }).(pulumi.IntOutput) +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type DashboardWidgetWidgetLayoutPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -func (DashboardWidgetWidgetLayoutPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DashboardWidgetWidgetLayout)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() } -func (o DashboardWidgetWidgetLayoutPtrOutput) ToDashboardWidgetWidgetLayoutPtrOutput() DashboardWidgetWidgetLayoutPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { return o } -func (o DashboardWidgetWidgetLayoutPtrOutput) ToDashboardWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) DashboardWidgetWidgetLayoutPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { return o } -func (o DashboardWidgetWidgetLayoutPtrOutput) Elem() DashboardWidgetWidgetLayoutOutput { - return o.ApplyT(func(v *DashboardWidgetWidgetLayout) DashboardWidgetWidgetLayout { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) PowerpackWidgetDistributionDefinitionRequestApmQuery { if v != nil { return *v } - var ret DashboardWidgetWidgetLayout + var ret PowerpackWidgetDistributionDefinitionRequestApmQuery return ret - }).(DashboardWidgetWidgetLayoutOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) } -// The height of the widget. -func (o DashboardWidgetWidgetLayoutPtrOutput) Height() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { if v == nil { return nil } - return &v.Height - }).(pulumi.IntPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Whether the widget should be the first one on the second column in high density or not. Only one widget in the dashboard should have this property set to `true`. -func (o DashboardWidgetWidgetLayoutPtrOutput) IsColumnBreak() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *bool { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy { if v == nil { return nil } - return v.IsColumnBreak - }).(pulumi.BoolPtrOutput) + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) } -// The width of the widget. -func (o DashboardWidgetWidgetLayoutPtrOutput) Width() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) *string { if v == nil { return nil } - return &v.Width - }).(pulumi.IntPtrOutput) + return &v.Index + }).(pulumi.StringPtrOutput) } -// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. -func (o DashboardWidgetWidgetLayoutPtrOutput) X() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute { if v == nil { return nil } - return &v.X - }).(pulumi.IntPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) } -// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. -func (o DashboardWidgetWidgetLayoutPtrOutput) Y() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DashboardWidgetWidgetLayout) *int { +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) *string { if v == nil { return nil } - return &v.Y - }).(pulumi.IntPtrOutput) + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type DowntimeRecurrence struct { - // How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. - Period *int `pulumi:"period"` - // The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. - Rrule *string `pulumi:"rrule"` - // One of `days`, `weeks`, `months`, `years`, or `rrule`. - Type string `pulumi:"type"` - // The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. - UntilDate *int `pulumi:"untilDate"` - // How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. - UntilOccurrences *int `pulumi:"untilOccurrences"` - // A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. - WeekDays []string `pulumi:"weekDays"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery 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"` } -// DowntimeRecurrenceInput is an input type that accepts DowntimeRecurrenceArgs and DowntimeRecurrenceOutput values. -// You can construct a concrete instance of `DowntimeRecurrenceInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryInput` via: // -// DowntimeRecurrenceArgs{...} -type DowntimeRecurrenceInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToDowntimeRecurrenceOutput() DowntimeRecurrenceOutput - ToDowntimeRecurrenceOutputWithContext(context.Context) DowntimeRecurrenceOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput } -type DowntimeRecurrenceArgs struct { - // How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. - Period pulumi.IntPtrInput `pulumi:"period"` - // The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. - Rrule pulumi.StringPtrInput `pulumi:"rrule"` - // One of `days`, `weeks`, `months`, `years`, or `rrule`. - Type pulumi.StringInput `pulumi:"type"` - // The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. - UntilDate pulumi.IntPtrInput `pulumi:"untilDate"` - // How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. - UntilOccurrences pulumi.IntPtrInput `pulumi:"untilOccurrences"` - // A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. - WeekDays pulumi.StringArrayInput `pulumi:"weekDays"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs 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 (DowntimeRecurrenceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeRecurrence)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i DowntimeRecurrenceArgs) ToDowntimeRecurrenceOutput() DowntimeRecurrenceOutput { - return i.ToDowntimeRecurrenceOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i DowntimeRecurrenceArgs) ToDowntimeRecurrenceOutputWithContext(ctx context.Context) DowntimeRecurrenceOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeRecurrenceOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) } -func (i DowntimeRecurrenceArgs) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { - return i.ToDowntimeRecurrencePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i DowntimeRecurrenceArgs) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeRecurrenceOutput).ToDowntimeRecurrencePtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// DowntimeRecurrencePtrInput is an input type that accepts DowntimeRecurrenceArgs, DowntimeRecurrencePtr and DowntimeRecurrencePtrOutput values. -// You can construct a concrete instance of `DowntimeRecurrencePtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// DowntimeRecurrenceArgs{...} +// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type DowntimeRecurrencePtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput - ToDowntimeRecurrencePtrOutputWithContext(context.Context) DowntimeRecurrencePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput } -type downtimeRecurrencePtrType DowntimeRecurrenceArgs +type powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs -func DowntimeRecurrencePtr(v *DowntimeRecurrenceArgs) DowntimeRecurrencePtrInput { - return (*downtimeRecurrencePtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*downtimeRecurrencePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeRecurrence)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *downtimeRecurrencePtrType) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { - return i.ToDowntimeRecurrencePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *downtimeRecurrencePtrType) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeRecurrencePtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) } -type DowntimeRecurrenceOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (DowntimeRecurrenceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeRecurrence)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o DowntimeRecurrenceOutput) ToDowntimeRecurrenceOutput() DowntimeRecurrenceOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o DowntimeRecurrenceOutput) ToDowntimeRecurrenceOutputWithContext(ctx context.Context) DowntimeRecurrenceOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o DowntimeRecurrenceOutput) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { - return o.ToDowntimeRecurrencePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o DowntimeRecurrenceOutput) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeRecurrence) *DowntimeRecurrence { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { return &v - }).(DowntimeRecurrencePtrOutput) -} - -// How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. -func (o DowntimeRecurrenceOutput) Period() pulumi.IntPtrOutput { - return o.ApplyT(func(v DowntimeRecurrence) *int { return v.Period }).(pulumi.IntPtrOutput) -} - -// The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. -func (o DowntimeRecurrenceOutput) Rrule() pulumi.StringPtrOutput { - return o.ApplyT(func(v DowntimeRecurrence) *string { return v.Rrule }).(pulumi.StringPtrOutput) -} - -// One of `days`, `weeks`, `months`, `years`, or `rrule`. -func (o DowntimeRecurrenceOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v DowntimeRecurrence) string { return v.Type }).(pulumi.StringOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. -func (o DowntimeRecurrenceOutput) UntilDate() pulumi.IntPtrOutput { - return o.ApplyT(func(v DowntimeRecurrence) *int { return v.UntilDate }).(pulumi.IntPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. -func (o DowntimeRecurrenceOutput) UntilOccurrences() pulumi.IntPtrOutput { - return o.ApplyT(func(v DowntimeRecurrence) *int { return v.UntilOccurrences }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. -func (o DowntimeRecurrenceOutput) WeekDays() pulumi.StringArrayOutput { - return o.ApplyT(func(v DowntimeRecurrence) []string { return v.WeekDays }).(pulumi.StringArrayOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type DowntimeRecurrencePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (DowntimeRecurrencePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeRecurrence)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o DowntimeRecurrencePtrOutput) ToDowntimeRecurrencePtrOutput() DowntimeRecurrencePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o DowntimeRecurrencePtrOutput) ToDowntimeRecurrencePtrOutputWithContext(ctx context.Context) DowntimeRecurrencePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o DowntimeRecurrencePtrOutput) Elem() DowntimeRecurrenceOutput { - return o.ApplyT(func(v *DowntimeRecurrence) DowntimeRecurrence { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret DowntimeRecurrence + var ret PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery return ret - }).(DowntimeRecurrenceOutput) -} - -// How often to repeat as an integer. For example to repeat every 3 days, select a `type` of `days` and a `period` of `3`. -func (o DowntimeRecurrencePtrOutput) Period() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DowntimeRecurrence) *int { - if v == nil { - return nil - } - return v.Period - }).(pulumi.IntPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) } -// The RRULE standard for defining recurring events. For example, to have a recurring event on the first day of each month, use `FREQ=MONTHLY;INTERVAL=1`. Most common rrule options from the iCalendar Spec are supported. Attributes specifying the duration in RRULE are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). Only applicable when `type` is `rrule`. -func (o DowntimeRecurrencePtrOutput) Rrule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DowntimeRecurrence) *string { +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.Rrule + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// One of `days`, `weeks`, `months`, `years`, or `rrule`. -func (o DowntimeRecurrencePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DowntimeRecurrence) *string { +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return &v.Type + return v.Facet }).(pulumi.StringPtrOutput) } -// The date at which the recurrence should end as a POSIX timestamp. `untilOccurrences` and `untilDate` are mutually exclusive. -func (o DowntimeRecurrencePtrOutput) UntilDate() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DowntimeRecurrence) *int { - if v == nil { - return nil - } - return v.UntilDate - }).(pulumi.IntPtrOutput) -} - -// How many times the downtime will be rescheduled. `untilOccurrences` and `untilDate` are mutually exclusive. -func (o DowntimeRecurrencePtrOutput) UntilOccurrences() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DowntimeRecurrence) *int { +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *int { if v == nil { return nil } - return v.UntilOccurrences + return v.Interval }).(pulumi.IntPtrOutput) } -// A list of week days to repeat on. Choose from: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when `type` is `weeks`. First letter must be capitalized. -func (o DowntimeRecurrencePtrOutput) WeekDays() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DowntimeRecurrence) []string { - if v == nil { - return nil - } - return v.WeekDays - }).(pulumi.StringArrayOutput) -} - -type DowntimeScheduleMonitorIdentifier struct { - // ID of the monitor to prevent notifications. - MonitorId *int `pulumi:"monitorId"` - // A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. - MonitorTags []string `pulumi:"monitorTags"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// DowntimeScheduleMonitorIdentifierInput is an input type that accepts DowntimeScheduleMonitorIdentifierArgs and DowntimeScheduleMonitorIdentifierOutput values. -// You can construct a concrete instance of `DowntimeScheduleMonitorIdentifierInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput` via: // -// DowntimeScheduleMonitorIdentifierArgs{...} -type DowntimeScheduleMonitorIdentifierInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToDowntimeScheduleMonitorIdentifierOutput() DowntimeScheduleMonitorIdentifierOutput - ToDowntimeScheduleMonitorIdentifierOutputWithContext(context.Context) DowntimeScheduleMonitorIdentifierOutput -} - -type DowntimeScheduleMonitorIdentifierArgs struct { - // ID of the monitor to prevent notifications. - MonitorId pulumi.IntPtrInput `pulumi:"monitorId"` - // A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. - MonitorTags pulumi.StringArrayInput `pulumi:"monitorTags"` -} - -func (DowntimeScheduleMonitorIdentifierArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleMonitorIdentifier)(nil)).Elem() + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput } -func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierOutput() DowntimeScheduleMonitorIdentifierOutput { - return i.ToDowntimeScheduleMonitorIdentifierOutputWithContext(context.Background()) +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleMonitorIdentifierOutput) +func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { - return i.ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i DowntimeScheduleMonitorIdentifierArgs) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleMonitorIdentifierOutput).ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) } -// DowntimeScheduleMonitorIdentifierPtrInput is an input type that accepts DowntimeScheduleMonitorIdentifierArgs, DowntimeScheduleMonitorIdentifierPtr and DowntimeScheduleMonitorIdentifierPtrOutput values. -// You can construct a concrete instance of `DowntimeScheduleMonitorIdentifierPtrInput` via: -// -// DowntimeScheduleMonitorIdentifierArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput` via: // -// nil -type DowntimeScheduleMonitorIdentifierPtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput - ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Context) DowntimeScheduleMonitorIdentifierPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput } -type downtimeScheduleMonitorIdentifierPtrType DowntimeScheduleMonitorIdentifierArgs - -func DowntimeScheduleMonitorIdentifierPtr(v *DowntimeScheduleMonitorIdentifierArgs) DowntimeScheduleMonitorIdentifierPtrInput { - return (*downtimeScheduleMonitorIdentifierPtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput -func (*downtimeScheduleMonitorIdentifierPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeScheduleMonitorIdentifier)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i *downtimeScheduleMonitorIdentifierPtrType) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { - return i.ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *downtimeScheduleMonitorIdentifierPtrType) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleMonitorIdentifierPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) } -type DowntimeScheduleMonitorIdentifierOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (DowntimeScheduleMonitorIdentifierOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleMonitorIdentifier)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierOutput() DowntimeScheduleMonitorIdentifierOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { return o } -func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { return o } -func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { - return o.ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(context.Background()) -} - -func (o DowntimeScheduleMonitorIdentifierOutput) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeScheduleMonitorIdentifier) *DowntimeScheduleMonitorIdentifier { - return &v - }).(DowntimeScheduleMonitorIdentifierPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// ID of the monitor to prevent notifications. -func (o DowntimeScheduleMonitorIdentifierOutput) MonitorId() pulumi.IntPtrOutput { - return o.ApplyT(func(v DowntimeScheduleMonitorIdentifier) *int { return v.MonitorId }).(pulumi.IntPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. -func (o DowntimeScheduleMonitorIdentifierOutput) MonitorTags() pulumi.StringArrayOutput { - return o.ApplyT(func(v DowntimeScheduleMonitorIdentifier) []string { return v.MonitorTags }).(pulumi.StringArrayOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type DowntimeScheduleMonitorIdentifierPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (DowntimeScheduleMonitorIdentifierPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeScheduleMonitorIdentifier)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o DowntimeScheduleMonitorIdentifierPtrOutput) ToDowntimeScheduleMonitorIdentifierPtrOutput() DowntimeScheduleMonitorIdentifierPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o DowntimeScheduleMonitorIdentifierPtrOutput) ToDowntimeScheduleMonitorIdentifierPtrOutputWithContext(ctx context.Context) DowntimeScheduleMonitorIdentifierPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o DowntimeScheduleMonitorIdentifierPtrOutput) Elem() DowntimeScheduleMonitorIdentifierOutput { - return o.ApplyT(func(v *DowntimeScheduleMonitorIdentifier) DowntimeScheduleMonitorIdentifier { - if v != nil { - return *v - } - var ret DowntimeScheduleMonitorIdentifier - return ret - }).(DowntimeScheduleMonitorIdentifierOutput) -} - -// ID of the monitor to prevent notifications. -func (o DowntimeScheduleMonitorIdentifierPtrOutput) MonitorId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *DowntimeScheduleMonitorIdentifier) *int { - if v == nil { - return nil - } - return v.MonitorId - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) } -// A list of monitor tags. For example, tags that are applied directly to monitors, not tags that are used in monitor queries (which are filtered by the scope parameter), to which the downtime applies. The resulting downtime applies to monitors that match **all** provided monitor tags. Setting `monitorTags` to `[*]` configures the downtime to mute all monitors for the given scope. -func (o DowntimeScheduleMonitorIdentifierPtrOutput) MonitorTags() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DowntimeScheduleMonitorIdentifier) []string { - if v == nil { - return nil - } - return v.MonitorTags - }).(pulumi.StringArrayOutput) -} - -type DowntimeScheduleOneTimeSchedule struct { - // ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. - End *string `pulumi:"end"` - // ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. - Start *string `pulumi:"start"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// DowntimeScheduleOneTimeScheduleInput is an input type that accepts DowntimeScheduleOneTimeScheduleArgs and DowntimeScheduleOneTimeScheduleOutput values. -// You can construct a concrete instance of `DowntimeScheduleOneTimeScheduleInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// DowntimeScheduleOneTimeScheduleArgs{...} -type DowntimeScheduleOneTimeScheduleInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToDowntimeScheduleOneTimeScheduleOutput() DowntimeScheduleOneTimeScheduleOutput - ToDowntimeScheduleOneTimeScheduleOutputWithContext(context.Context) DowntimeScheduleOneTimeScheduleOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput } -type DowntimeScheduleOneTimeScheduleArgs struct { - // ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. - End pulumi.StringPtrInput `pulumi:"end"` - // ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. - Start pulumi.StringPtrInput `pulumi:"start"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (DowntimeScheduleOneTimeScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleOneTimeSchedule)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeScheduleOutput() DowntimeScheduleOneTimeScheduleOutput { - return i.ToDowntimeScheduleOneTimeScheduleOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeScheduleOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleOneTimeScheduleOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { - return i.ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i DowntimeScheduleOneTimeScheduleArgs) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleOneTimeScheduleOutput).ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// DowntimeScheduleOneTimeSchedulePtrInput is an input type that accepts DowntimeScheduleOneTimeScheduleArgs, DowntimeScheduleOneTimeSchedulePtr and DowntimeScheduleOneTimeSchedulePtrOutput values. -// You can construct a concrete instance of `DowntimeScheduleOneTimeSchedulePtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// DowntimeScheduleOneTimeScheduleArgs{...} +// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type DowntimeScheduleOneTimeSchedulePtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput - ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Context) DowntimeScheduleOneTimeSchedulePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type downtimeScheduleOneTimeSchedulePtrType DowntimeScheduleOneTimeScheduleArgs +type powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs -func DowntimeScheduleOneTimeSchedulePtr(v *DowntimeScheduleOneTimeScheduleArgs) DowntimeScheduleOneTimeSchedulePtrInput { - return (*downtimeScheduleOneTimeSchedulePtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*downtimeScheduleOneTimeSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeScheduleOneTimeSchedule)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *downtimeScheduleOneTimeSchedulePtrType) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { - return i.ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *downtimeScheduleOneTimeSchedulePtrType) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleOneTimeSchedulePtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type DowntimeScheduleOneTimeScheduleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (DowntimeScheduleOneTimeScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleOneTimeSchedule)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeScheduleOutput() DowntimeScheduleOneTimeScheduleOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeScheduleOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeScheduleOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { - return o.ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o DowntimeScheduleOneTimeScheduleOutput) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeScheduleOneTimeSchedule) *DowntimeScheduleOneTimeSchedule { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { return &v - }).(DowntimeScheduleOneTimeSchedulePtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +} + +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. -func (o DowntimeScheduleOneTimeScheduleOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v DowntimeScheduleOneTimeSchedule) *string { return v.End }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. -func (o DowntimeScheduleOneTimeScheduleOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v DowntimeScheduleOneTimeSchedule) *string { return v.Start }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type DowntimeScheduleOneTimeSchedulePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (DowntimeScheduleOneTimeSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeScheduleOneTimeSchedule)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o DowntimeScheduleOneTimeSchedulePtrOutput) ToDowntimeScheduleOneTimeSchedulePtrOutput() DowntimeScheduleOneTimeSchedulePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o DowntimeScheduleOneTimeSchedulePtrOutput) ToDowntimeScheduleOneTimeSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleOneTimeSchedulePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o DowntimeScheduleOneTimeSchedulePtrOutput) Elem() DowntimeScheduleOneTimeScheduleOutput { - return o.ApplyT(func(v *DowntimeScheduleOneTimeSchedule) DowntimeScheduleOneTimeSchedule { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret DowntimeScheduleOneTimeSchedule + var ret PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery return ret - }).(DowntimeScheduleOneTimeScheduleOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) } -// ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime never ends. -func (o DowntimeScheduleOneTimeSchedulePtrOutput) End() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DowntimeScheduleOneTimeSchedule) *string { +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.End + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created. -func (o DowntimeScheduleOneTimeSchedulePtrOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DowntimeScheduleOneTimeSchedule) *string { +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Start + return v.Facet }).(pulumi.StringPtrOutput) } -type DowntimeScheduleRecurringSchedule struct { - Recurrences []DowntimeScheduleRecurringScheduleRecurrence `pulumi:"recurrences"` - // The timezone in which to schedule the downtime. - Timezone *string `pulumi:"timezone"` -} - -// DowntimeScheduleRecurringScheduleInput is an input type that accepts DowntimeScheduleRecurringScheduleArgs and DowntimeScheduleRecurringScheduleOutput values. -// You can construct a concrete instance of `DowntimeScheduleRecurringScheduleInput` via: -// -// DowntimeScheduleRecurringScheduleArgs{...} -type DowntimeScheduleRecurringScheduleInput interface { - pulumi.Input - - ToDowntimeScheduleRecurringScheduleOutput() DowntimeScheduleRecurringScheduleOutput - ToDowntimeScheduleRecurringScheduleOutputWithContext(context.Context) DowntimeScheduleRecurringScheduleOutput -} - -type DowntimeScheduleRecurringScheduleArgs struct { - Recurrences DowntimeScheduleRecurringScheduleRecurrenceArrayInput `pulumi:"recurrences"` - // The timezone in which to schedule the downtime. - Timezone pulumi.StringPtrInput `pulumi:"timezone"` -} - -func (DowntimeScheduleRecurringScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleRecurringSchedule)(nil)).Elem() -} - -func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringScheduleOutput() DowntimeScheduleRecurringScheduleOutput { - return i.ToDowntimeScheduleRecurringScheduleOutputWithContext(context.Background()) -} - -func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringScheduleOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleOutput) -} - -func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { - return i.ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Background()) -} - -func (i DowntimeScheduleRecurringScheduleArgs) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleOutput).ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx) -} - -// DowntimeScheduleRecurringSchedulePtrInput is an input type that accepts DowntimeScheduleRecurringScheduleArgs, DowntimeScheduleRecurringSchedulePtr and DowntimeScheduleRecurringSchedulePtrOutput values. -// You can construct a concrete instance of `DowntimeScheduleRecurringSchedulePtrInput` via: -// -// DowntimeScheduleRecurringScheduleArgs{...} -// -// or: -// -// nil -type DowntimeScheduleRecurringSchedulePtrInput interface { - pulumi.Input - - ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput - ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Context) DowntimeScheduleRecurringSchedulePtrOutput -} - -type downtimeScheduleRecurringSchedulePtrType DowntimeScheduleRecurringScheduleArgs - -func DowntimeScheduleRecurringSchedulePtr(v *DowntimeScheduleRecurringScheduleArgs) DowntimeScheduleRecurringSchedulePtrInput { - return (*downtimeScheduleRecurringSchedulePtrType)(v) -} - -func (*downtimeScheduleRecurringSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeScheduleRecurringSchedule)(nil)).Elem() -} - -func (i *downtimeScheduleRecurringSchedulePtrType) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { - return i.ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Background()) -} - -func (i *downtimeScheduleRecurringSchedulePtrType) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringSchedulePtrOutput) -} - -type DowntimeScheduleRecurringScheduleOutput struct{ *pulumi.OutputState } - -func (DowntimeScheduleRecurringScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleRecurringSchedule)(nil)).Elem() -} - -func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringScheduleOutput() DowntimeScheduleRecurringScheduleOutput { - return o -} - -func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringScheduleOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleOutput { - return o -} - -func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { - return o.ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(context.Background()) -} - -func (o DowntimeScheduleRecurringScheduleOutput) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DowntimeScheduleRecurringSchedule) *DowntimeScheduleRecurringSchedule { - return &v - }).(DowntimeScheduleRecurringSchedulePtrOutput) -} - -func (o DowntimeScheduleRecurringScheduleOutput) Recurrences() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { - return o.ApplyT(func(v DowntimeScheduleRecurringSchedule) []DowntimeScheduleRecurringScheduleRecurrence { - return v.Recurrences - }).(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) -} - -// The timezone in which to schedule the downtime. -func (o DowntimeScheduleRecurringScheduleOutput) Timezone() pulumi.StringPtrOutput { - return o.ApplyT(func(v DowntimeScheduleRecurringSchedule) *string { return v.Timezone }).(pulumi.StringPtrOutput) -} - -type DowntimeScheduleRecurringSchedulePtrOutput struct{ *pulumi.OutputState } - -func (DowntimeScheduleRecurringSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DowntimeScheduleRecurringSchedule)(nil)).Elem() -} - -func (o DowntimeScheduleRecurringSchedulePtrOutput) ToDowntimeScheduleRecurringSchedulePtrOutput() DowntimeScheduleRecurringSchedulePtrOutput { - return o -} - -func (o DowntimeScheduleRecurringSchedulePtrOutput) ToDowntimeScheduleRecurringSchedulePtrOutputWithContext(ctx context.Context) DowntimeScheduleRecurringSchedulePtrOutput { - return o -} - -func (o DowntimeScheduleRecurringSchedulePtrOutput) Elem() DowntimeScheduleRecurringScheduleOutput { - return o.ApplyT(func(v *DowntimeScheduleRecurringSchedule) DowntimeScheduleRecurringSchedule { - if v != nil { - return *v - } - var ret DowntimeScheduleRecurringSchedule - return ret - }).(DowntimeScheduleRecurringScheduleOutput) -} - -func (o DowntimeScheduleRecurringSchedulePtrOutput) Recurrences() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { - return o.ApplyT(func(v *DowntimeScheduleRecurringSchedule) []DowntimeScheduleRecurringScheduleRecurrence { - if v == nil { - return nil - } - return v.Recurrences - }).(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) -} - -// The timezone in which to schedule the downtime. -func (o DowntimeScheduleRecurringSchedulePtrOutput) Timezone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DowntimeScheduleRecurringSchedule) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Timezone + return &v.Order }).(pulumi.StringPtrOutput) } -type DowntimeScheduleRecurringScheduleRecurrence struct { - // The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'. - Duration string `pulumi:"duration"` - // The `RRULE` standard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api). - Rrule string `pulumi:"rrule"` - // ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created. - Start *string `pulumi:"start"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute 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"` } -// DowntimeScheduleRecurringScheduleRecurrenceInput is an input type that accepts DowntimeScheduleRecurringScheduleRecurrenceArgs and DowntimeScheduleRecurringScheduleRecurrenceOutput values. -// You can construct a concrete instance of `DowntimeScheduleRecurringScheduleRecurrenceInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput` via: // -// DowntimeScheduleRecurringScheduleRecurrenceArgs{...} -type DowntimeScheduleRecurringScheduleRecurrenceInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToDowntimeScheduleRecurringScheduleRecurrenceOutput() DowntimeScheduleRecurringScheduleRecurrenceOutput - ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(context.Context) DowntimeScheduleRecurringScheduleRecurrenceOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput } -type DowntimeScheduleRecurringScheduleRecurrenceArgs struct { - // The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'. - Duration pulumi.StringInput `pulumi:"duration"` - // The `RRULE` standard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api). - Rrule pulumi.StringInput `pulumi:"rrule"` - // ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created. - Start pulumi.StringPtrInput `pulumi:"start"` +type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs 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 (DowntimeScheduleRecurringScheduleRecurrenceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i DowntimeScheduleRecurringScheduleRecurrenceArgs) ToDowntimeScheduleRecurringScheduleRecurrenceOutput() DowntimeScheduleRecurringScheduleRecurrenceOutput { - return i.ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i DowntimeScheduleRecurringScheduleRecurrenceArgs) ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleRecurrenceOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) } -// DowntimeScheduleRecurringScheduleRecurrenceArrayInput is an input type that accepts DowntimeScheduleRecurringScheduleRecurrenceArray and DowntimeScheduleRecurringScheduleRecurrenceArrayOutput values. -// You can construct a concrete instance of `DowntimeScheduleRecurringScheduleRecurrenceArrayInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// DowntimeScheduleRecurringScheduleRecurrenceArray{ DowntimeScheduleRecurringScheduleRecurrenceArgs{...} } -type DowntimeScheduleRecurringScheduleRecurrenceArrayInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutput() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput - ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(context.Context) DowntimeScheduleRecurringScheduleRecurrenceArrayOutput -} - -type DowntimeScheduleRecurringScheduleRecurrenceArray []DowntimeScheduleRecurringScheduleRecurrenceInput - -func (DowntimeScheduleRecurringScheduleRecurrenceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() -} - -func (i DowntimeScheduleRecurringScheduleRecurrenceArray) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutput() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { - return i.ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(context.Background()) -} - -func (i DowntimeScheduleRecurringScheduleRecurrenceArray) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) -} - -type DowntimeScheduleRecurringScheduleRecurrenceOutput struct{ *pulumi.OutputState } - -func (DowntimeScheduleRecurringScheduleRecurrenceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() -} - -func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) ToDowntimeScheduleRecurringScheduleRecurrenceOutput() DowntimeScheduleRecurringScheduleRecurrenceOutput { - return o + ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput } -func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) ToDowntimeScheduleRecurringScheduleRecurrenceOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceOutput { - return o -} +type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput -// The length of the downtime. Must begin with an integer and end with one of 'm', 'h', d', or 'w'. -func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) Duration() pulumi.StringOutput { - return o.ApplyT(func(v DowntimeScheduleRecurringScheduleRecurrence) string { return v.Duration }).(pulumi.StringOutput) +func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -// The `RRULE` standard for defining recurring events. For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/suppress-alert-with-downtimes/?tab=api). -func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) Rrule() pulumi.StringOutput { - return o.ApplyT(func(v DowntimeScheduleRecurringScheduleRecurrence) string { return v.Rrule }).(pulumi.StringOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -// ISO-8601 Datetime to start the downtime. Must not include a UTC offset. If not provided, the downtime starts the moment it is created. -func (o DowntimeScheduleRecurringScheduleRecurrenceOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v DowntimeScheduleRecurringScheduleRecurrence) *string { return v.Start }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) } -type DowntimeScheduleRecurringScheduleRecurrenceArrayOutput struct{ *pulumi.OutputState } - -func (DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DowntimeScheduleRecurringScheduleRecurrence)(nil)).Elem() -} +type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (o DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutput() DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { - return o +func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) ToDowntimeScheduleRecurringScheduleRecurrenceArrayOutputWithContext(ctx context.Context) DowntimeScheduleRecurringScheduleRecurrenceArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o DowntimeScheduleRecurringScheduleRecurrenceArrayOutput) Index(i pulumi.IntInput) DowntimeScheduleRecurringScheduleRecurrenceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DowntimeScheduleRecurringScheduleRecurrence { - return vs[0].([]DowntimeScheduleRecurringScheduleRecurrence)[vs[1].(int)] - }).(DowntimeScheduleRecurringScheduleRecurrenceOutput) -} - -type IpAllowlistEntry struct { - // IP address or range of addresses. - CidrBlock string `pulumi:"cidrBlock"` - // Note accompanying IP address. - Note *string `pulumi:"note"` -} - -// IpAllowlistEntryInput is an input type that accepts IpAllowlistEntryArgs and IpAllowlistEntryOutput values. -// You can construct a concrete instance of `IpAllowlistEntryInput` via: -// -// IpAllowlistEntryArgs{...} -type IpAllowlistEntryInput interface { - pulumi.Input - - ToIpAllowlistEntryOutput() IpAllowlistEntryOutput - ToIpAllowlistEntryOutputWithContext(context.Context) IpAllowlistEntryOutput -} - -type IpAllowlistEntryArgs struct { - // IP address or range of addresses. - CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` - // Note accompanying IP address. - Note pulumi.StringPtrInput `pulumi:"note"` -} - -func (IpAllowlistEntryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*IpAllowlistEntry)(nil)).Elem() -} - -func (i IpAllowlistEntryArgs) ToIpAllowlistEntryOutput() IpAllowlistEntryOutput { - return i.ToIpAllowlistEntryOutputWithContext(context.Background()) -} - -func (i IpAllowlistEntryArgs) ToIpAllowlistEntryOutputWithContext(ctx context.Context) IpAllowlistEntryOutput { - return pulumi.ToOutputWithContext(ctx, i).(IpAllowlistEntryOutput) -} - -// IpAllowlistEntryArrayInput is an input type that accepts IpAllowlistEntryArray and IpAllowlistEntryArrayOutput values. -// You can construct a concrete instance of `IpAllowlistEntryArrayInput` via: -// -// IpAllowlistEntryArray{ IpAllowlistEntryArgs{...} } -type IpAllowlistEntryArrayInput interface { - pulumi.Input - - ToIpAllowlistEntryArrayOutput() IpAllowlistEntryArrayOutput - ToIpAllowlistEntryArrayOutputWithContext(context.Context) IpAllowlistEntryArrayOutput -} - -type IpAllowlistEntryArray []IpAllowlistEntryInput - -func (IpAllowlistEntryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]IpAllowlistEntry)(nil)).Elem() -} - -func (i IpAllowlistEntryArray) ToIpAllowlistEntryArrayOutput() IpAllowlistEntryArrayOutput { - return i.ToIpAllowlistEntryArrayOutputWithContext(context.Background()) -} - -func (i IpAllowlistEntryArray) ToIpAllowlistEntryArrayOutputWithContext(ctx context.Context) IpAllowlistEntryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(IpAllowlistEntryArrayOutput) -} - -type IpAllowlistEntryOutput struct{ *pulumi.OutputState } - -func (IpAllowlistEntryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*IpAllowlistEntry)(nil)).Elem() -} - -func (o IpAllowlistEntryOutput) ToIpAllowlistEntryOutput() IpAllowlistEntryOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o IpAllowlistEntryOutput) ToIpAllowlistEntryOutputWithContext(ctx context.Context) IpAllowlistEntryOutput { - return o +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// IP address or range of addresses. -func (o IpAllowlistEntryOutput) CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v IpAllowlistEntry) string { return v.CidrBlock }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Note accompanying IP address. -func (o IpAllowlistEntryOutput) Note() pulumi.StringPtrOutput { - return o.ApplyT(func(v IpAllowlistEntry) *string { return v.Note }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type IpAllowlistEntryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (IpAllowlistEntryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]IpAllowlistEntry)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o IpAllowlistEntryArrayOutput) ToIpAllowlistEntryArrayOutput() IpAllowlistEntryArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o IpAllowlistEntryArrayOutput) ToIpAllowlistEntryArrayOutputWithContext(ctx context.Context) IpAllowlistEntryArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o IpAllowlistEntryArrayOutput) Index(i pulumi.IntInput) IpAllowlistEntryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpAllowlistEntry { - return vs[0].([]IpAllowlistEntry)[vs[1].(int)] - }).(IpAllowlistEntryOutput) +func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) } -type LogsArchiveAzureArchive struct { - // Your client id. - ClientId string `pulumi:"clientId"` - // The container where the archive is stored. - Container string `pulumi:"container"` - // The path where the archive is stored. - Path *string `pulumi:"path"` - // The associated storage account. - StorageAccount string `pulumi:"storageAccount"` - // Your tenant id. - TenantId string `pulumi:"tenantId"` +type PowerpackWidgetDistributionDefinitionRequestApmStatsQuery struct { + // Column properties used by the front end for display. + Columns []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn `pulumi:"columns"` + // The environment name. + Env string `pulumi:"env"` + // The operation name associated with the service. + Name string `pulumi:"name"` + // The organization's host group name and value. + PrimaryTag string `pulumi:"primaryTag"` + // The resource name. + Resource *string `pulumi:"resource"` + // The level of detail for the request. Valid values are `service`, `resource`, `span`. + RowType string `pulumi:"rowType"` + // The service name. + Service string `pulumi:"service"` } -// LogsArchiveAzureArchiveInput is an input type that accepts LogsArchiveAzureArchiveArgs and LogsArchiveAzureArchiveOutput values. -// You can construct a concrete instance of `LogsArchiveAzureArchiveInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryInput` via: // -// LogsArchiveAzureArchiveArgs{...} -type LogsArchiveAzureArchiveInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryInput interface { pulumi.Input - ToLogsArchiveAzureArchiveOutput() LogsArchiveAzureArchiveOutput - ToLogsArchiveAzureArchiveOutputWithContext(context.Context) LogsArchiveAzureArchiveOutput + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput } -type LogsArchiveAzureArchiveArgs struct { - // Your client id. - ClientId pulumi.StringInput `pulumi:"clientId"` - // The container where the archive is stored. - Container pulumi.StringInput `pulumi:"container"` - // The path where the archive is stored. - Path pulumi.StringPtrInput `pulumi:"path"` - // The associated storage account. - StorageAccount pulumi.StringInput `pulumi:"storageAccount"` - // Your tenant id. - TenantId pulumi.StringInput `pulumi:"tenantId"` +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs struct { + // Column properties used by the front end for display. + Columns PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput `pulumi:"columns"` + // The environment name. + Env pulumi.StringInput `pulumi:"env"` + // The operation name associated with the service. + Name pulumi.StringInput `pulumi:"name"` + // The organization's host group name and value. + PrimaryTag pulumi.StringInput `pulumi:"primaryTag"` + // The resource name. + Resource pulumi.StringPtrInput `pulumi:"resource"` + // The level of detail for the request. Valid values are `service`, `resource`, `span`. + RowType pulumi.StringInput `pulumi:"rowType"` + // The service name. + Service pulumi.StringInput `pulumi:"service"` } -func (LogsArchiveAzureArchiveArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsArchiveAzureArchive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchiveOutput() LogsArchiveAzureArchiveOutput { - return i.ToLogsArchiveAzureArchiveOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(context.Background()) } -func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchiveOutputWithContext(ctx context.Context) LogsArchiveAzureArchiveOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveAzureArchiveOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) } -func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { - return i.ToLogsArchiveAzureArchivePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (i LogsArchiveAzureArchiveArgs) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveAzureArchiveOutput).ToLogsArchiveAzureArchivePtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx) } -// LogsArchiveAzureArchivePtrInput is an input type that accepts LogsArchiveAzureArchiveArgs, LogsArchiveAzureArchivePtr and LogsArchiveAzureArchivePtrOutput values. -// You can construct a concrete instance of `LogsArchiveAzureArchivePtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput` via: // -// LogsArchiveAzureArchiveArgs{...} +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs{...} // // or: // // nil -type LogsArchiveAzureArchivePtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput interface { pulumi.Input - ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput - ToLogsArchiveAzureArchivePtrOutputWithContext(context.Context) LogsArchiveAzureArchivePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput } -type logsArchiveAzureArchivePtrType LogsArchiveAzureArchiveArgs +type powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs -func LogsArchiveAzureArchivePtr(v *LogsArchiveAzureArchiveArgs) LogsArchiveAzureArchivePtrInput { - return (*logsArchiveAzureArchivePtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType)(v) } -func (*logsArchiveAzureArchivePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsArchiveAzureArchive)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (i *logsArchiveAzureArchivePtrType) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { - return i.ToLogsArchiveAzureArchivePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (i *logsArchiveAzureArchivePtrType) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveAzureArchivePtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) } -type LogsArchiveAzureArchiveOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput struct{ *pulumi.OutputState } -func (LogsArchiveAzureArchiveOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsArchiveAzureArchive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchiveOutput() LogsArchiveAzureArchiveOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { return o } -func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchiveOutputWithContext(ctx context.Context) LogsArchiveAzureArchiveOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { return o } -func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { - return o.ToLogsArchiveAzureArchivePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (o LogsArchiveAzureArchiveOutput) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsArchiveAzureArchive) *LogsArchiveAzureArchive { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery { return &v - }).(LogsArchiveAzureArchivePtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) +} + +// Column properties used by the front end for display. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Columns() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn { + return v.Columns + }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) +} + +// The environment name. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// Your client id. -func (o LogsArchiveAzureArchiveOutput) ClientId() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.ClientId }).(pulumi.StringOutput) +// The operation name associated with the service. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// The container where the archive is stored. -func (o LogsArchiveAzureArchiveOutput) Container() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.Container }).(pulumi.StringOutput) +// The organization's host group name and value. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) PrimaryTag() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.PrimaryTag }).(pulumi.StringOutput) } -// The path where the archive is stored. -func (o LogsArchiveAzureArchiveOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsArchiveAzureArchive) *string { return v.Path }).(pulumi.StringPtrOutput) +// The resource name. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Resource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { return v.Resource }).(pulumi.StringPtrOutput) } -// The associated storage account. -func (o LogsArchiveAzureArchiveOutput) StorageAccount() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.StorageAccount }).(pulumi.StringOutput) +// The level of detail for the request. Valid values are `service`, `resource`, `span`. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) RowType() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.RowType }).(pulumi.StringOutput) } -// Your tenant id. -func (o LogsArchiveAzureArchiveOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveAzureArchive) string { return v.TenantId }).(pulumi.StringOutput) +// The service name. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -type LogsArchiveAzureArchivePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsArchiveAzureArchivePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsArchiveAzureArchive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (o LogsArchiveAzureArchivePtrOutput) ToLogsArchiveAzureArchivePtrOutput() LogsArchiveAzureArchivePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { return o } -func (o LogsArchiveAzureArchivePtrOutput) ToLogsArchiveAzureArchivePtrOutputWithContext(ctx context.Context) LogsArchiveAzureArchivePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { return o } -func (o LogsArchiveAzureArchivePtrOutput) Elem() LogsArchiveAzureArchiveOutput { - return o.ApplyT(func(v *LogsArchiveAzureArchive) LogsArchiveAzureArchive { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) PowerpackWidgetDistributionDefinitionRequestApmStatsQuery { if v != nil { return *v } - var ret LogsArchiveAzureArchive + var ret PowerpackWidgetDistributionDefinitionRequestApmStatsQuery return ret - }).(LogsArchiveAzureArchiveOutput) + }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) } -// Your client id. -func (o LogsArchiveAzureArchivePtrOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { +// Column properties used by the front end for display. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Columns() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn { if v == nil { return nil } - return &v.ClientId - }).(pulumi.StringPtrOutput) + return v.Columns + }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) } -// The container where the archive is stored. -func (o LogsArchiveAzureArchivePtrOutput) Container() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { +// The environment name. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } - return &v.Container + return &v.Env }).(pulumi.StringPtrOutput) } -// The path where the archive is stored. -func (o LogsArchiveAzureArchivePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { +// The operation name associated with the service. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } - return v.Path + return &v.Name }).(pulumi.StringPtrOutput) } -// The associated storage account. -func (o LogsArchiveAzureArchivePtrOutput) StorageAccount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { +// The organization's host group name and value. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) PrimaryTag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } - return &v.StorageAccount + return &v.PrimaryTag }).(pulumi.StringPtrOutput) } -// Your tenant id. -func (o LogsArchiveAzureArchivePtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveAzureArchive) *string { +// The resource name. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Resource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } - return &v.TenantId + return v.Resource }).(pulumi.StringPtrOutput) } -type LogsArchiveGcsArchive struct { - // Name of your GCS bucket. - Bucket string `pulumi:"bucket"` - // Your client email. - ClientEmail string `pulumi:"clientEmail"` - // Path where the archive is stored. - Path *string `pulumi:"path"` - // Your project id. - ProjectId *string `pulumi:"projectId"` +// The level of detail for the request. Valid values are `service`, `resource`, `span`. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) RowType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { + if v == nil { + return nil + } + return &v.RowType + }).(pulumi.StringPtrOutput) } -// LogsArchiveGcsArchiveInput is an input type that accepts LogsArchiveGcsArchiveArgs and LogsArchiveGcsArchiveOutput values. -// You can construct a concrete instance of `LogsArchiveGcsArchiveInput` via: -// -// LogsArchiveGcsArchiveArgs{...} -type LogsArchiveGcsArchiveInput interface { - pulumi.Input - - ToLogsArchiveGcsArchiveOutput() LogsArchiveGcsArchiveOutput - ToLogsArchiveGcsArchiveOutputWithContext(context.Context) LogsArchiveGcsArchiveOutput +// The service name. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -type LogsArchiveGcsArchiveArgs struct { - // Name of your GCS bucket. - Bucket pulumi.StringInput `pulumi:"bucket"` - // Your client email. - ClientEmail pulumi.StringInput `pulumi:"clientEmail"` - // Path where the archive is stored. - Path pulumi.StringPtrInput `pulumi:"path"` - // Your project id. - ProjectId pulumi.StringPtrInput `pulumi:"projectId"` +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn struct { + // A user-assigned alias for the column. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // The column name. + Name string `pulumi:"name"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -func (LogsArchiveGcsArchiveArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsArchiveGcsArchive)(nil)).Elem() +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs{...} +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput } -func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchiveOutput() LogsArchiveGcsArchiveOutput { - return i.ToLogsArchiveGcsArchiveOutputWithContext(context.Background()) +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs struct { + // A user-assigned alias for the column. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // The column name. + Name pulumi.StringInput `pulumi:"name"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchiveOutputWithContext(ctx context.Context) LogsArchiveGcsArchiveOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveGcsArchiveOutput) +func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { - return i.ToLogsArchiveGcsArchivePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Background()) } -func (i LogsArchiveGcsArchiveArgs) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveGcsArchiveOutput).ToLogsArchiveGcsArchivePtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) } -// LogsArchiveGcsArchivePtrInput is an input type that accepts LogsArchiveGcsArchiveArgs, LogsArchiveGcsArchivePtr and LogsArchiveGcsArchivePtrOutput values. -// You can construct a concrete instance of `LogsArchiveGcsArchivePtrInput` via: -// -// LogsArchiveGcsArchiveArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput` via: // -// nil -type LogsArchiveGcsArchivePtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray{ PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput interface { pulumi.Input - ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput - ToLogsArchiveGcsArchivePtrOutputWithContext(context.Context) LogsArchiveGcsArchivePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput } -type logsArchiveGcsArchivePtrType LogsArchiveGcsArchiveArgs - -func LogsArchiveGcsArchivePtr(v *LogsArchiveGcsArchiveArgs) LogsArchiveGcsArchivePtrInput { - return (*logsArchiveGcsArchivePtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput -func (*logsArchiveGcsArchivePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsArchiveGcsArchive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (i *logsArchiveGcsArchivePtrType) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { - return i.ToLogsArchiveGcsArchivePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Background()) } -func (i *logsArchiveGcsArchivePtrType) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveGcsArchivePtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) } -type LogsArchiveGcsArchiveOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput struct{ *pulumi.OutputState } -func (LogsArchiveGcsArchiveOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsArchiveGcsArchive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchiveOutput() LogsArchiveGcsArchiveOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { return o } -func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchiveOutputWithContext(ctx context.Context) LogsArchiveGcsArchiveOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { return o } -func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { - return o.ToLogsArchiveGcsArchivePtrOutputWithContext(context.Background()) +// A user-assigned alias for the column. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) *string { return v.Alias }).(pulumi.StringPtrOutput) } -func (o LogsArchiveGcsArchiveOutput) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsArchiveGcsArchive) *LogsArchiveGcsArchive { - return &v - }).(LogsArchiveGcsArchivePtrOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) *string { + return v.CellDisplayMode + }).(pulumi.StringPtrOutput) } -// Name of your GCS bucket. -func (o LogsArchiveGcsArchiveOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveGcsArchive) string { return v.Bucket }).(pulumi.StringOutput) +// The column name. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) string { return v.Name }).(pulumi.StringOutput) } -// Your client email. -func (o LogsArchiveGcsArchiveOutput) ClientEmail() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveGcsArchive) string { return v.ClientEmail }).(pulumi.StringOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) *string { return v.Order }).(pulumi.StringPtrOutput) } -// Path where the archive is stored. -func (o LogsArchiveGcsArchiveOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsArchiveGcsArchive) *string { return v.Path }).(pulumi.StringPtrOutput) -} - -// Your project id. -func (o LogsArchiveGcsArchiveOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsArchiveGcsArchive) *string { return v.ProjectId }).(pulumi.StringPtrOutput) -} - -type LogsArchiveGcsArchivePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput struct{ *pulumi.OutputState } -func (LogsArchiveGcsArchivePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsArchiveGcsArchive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (o LogsArchiveGcsArchivePtrOutput) ToLogsArchiveGcsArchivePtrOutput() LogsArchiveGcsArchivePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { return o } -func (o LogsArchiveGcsArchivePtrOutput) ToLogsArchiveGcsArchivePtrOutputWithContext(ctx context.Context) LogsArchiveGcsArchivePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { return o } -func (o LogsArchiveGcsArchivePtrOutput) Elem() LogsArchiveGcsArchiveOutput { - return o.ApplyT(func(v *LogsArchiveGcsArchive) LogsArchiveGcsArchive { - if v != nil { - return *v - } - var ret LogsArchiveGcsArchive - return ret - }).(LogsArchiveGcsArchiveOutput) -} - -// Name of your GCS bucket. -func (o LogsArchiveGcsArchivePtrOutput) Bucket() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { - if v == nil { - return nil - } - return &v.Bucket - }).(pulumi.StringPtrOutput) -} - -// Your client email. -func (o LogsArchiveGcsArchivePtrOutput) ClientEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { - if v == nil { - return nil - } - return &v.ClientEmail - }).(pulumi.StringPtrOutput) -} - -// Path where the archive is stored. -func (o LogsArchiveGcsArchivePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) -} - -// Your project id. -func (o LogsArchiveGcsArchivePtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveGcsArchive) *string { - if v == nil { - return nil - } - return v.ProjectId - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) } -type LogsArchiveS3Archive struct { - // Your AWS account id. - AccountId string `pulumi:"accountId"` - // Name of your s3 bucket. - Bucket string `pulumi:"bucket"` - // Path where the archive is stored. - Path *string `pulumi:"path"` - // Your AWS role name - RoleName string `pulumi:"roleName"` +type PowerpackWidgetDistributionDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// LogsArchiveS3ArchiveInput is an input type that accepts LogsArchiveS3ArchiveArgs and LogsArchiveS3ArchiveOutput values. -// You can construct a concrete instance of `LogsArchiveS3ArchiveInput` via: +// PowerpackWidgetDistributionDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryInput` via: // -// LogsArchiveS3ArchiveArgs{...} -type LogsArchiveS3ArchiveInput interface { +// PowerpackWidgetDistributionDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestLogQueryInput interface { pulumi.Input - ToLogsArchiveS3ArchiveOutput() LogsArchiveS3ArchiveOutput - ToLogsArchiveS3ArchiveOutputWithContext(context.Context) LogsArchiveS3ArchiveOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryOutput } -type LogsArchiveS3ArchiveArgs struct { - // Your AWS account id. - AccountId pulumi.StringInput `pulumi:"accountId"` - // Name of your s3 bucket. - Bucket pulumi.StringInput `pulumi:"bucket"` - // Path where the archive is stored. - Path pulumi.StringPtrInput `pulumi:"path"` - // Your AWS role name - RoleName pulumi.StringInput `pulumi:"roleName"` +type PowerpackWidgetDistributionDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (LogsArchiveS3ArchiveArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsArchiveS3Archive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() } -func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchiveOutput() LogsArchiveS3ArchiveOutput { - return i.ToLogsArchiveS3ArchiveOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchiveOutputWithContext(ctx context.Context) LogsArchiveS3ArchiveOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveS3ArchiveOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) } -func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { - return i.ToLogsArchiveS3ArchivePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i LogsArchiveS3ArchiveArgs) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveS3ArchiveOutput).ToLogsArchiveS3ArchivePtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// LogsArchiveS3ArchivePtrInput is an input type that accepts LogsArchiveS3ArchiveArgs, LogsArchiveS3ArchivePtr and LogsArchiveS3ArchivePtrOutput values. -// You can construct a concrete instance of `LogsArchiveS3ArchivePtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryArgs, PowerpackWidgetDistributionDefinitionRequestLogQueryPtr and PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput` via: // -// LogsArchiveS3ArchiveArgs{...} +// PowerpackWidgetDistributionDefinitionRequestLogQueryArgs{...} // // or: // // nil -type LogsArchiveS3ArchivePtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput - ToLogsArchiveS3ArchivePtrOutputWithContext(context.Context) LogsArchiveS3ArchivePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput } -type logsArchiveS3ArchivePtrType LogsArchiveS3ArchiveArgs +type powerpackWidgetDistributionDefinitionRequestLogQueryPtrType PowerpackWidgetDistributionDefinitionRequestLogQueryArgs -func LogsArchiveS3ArchivePtr(v *LogsArchiveS3ArchiveArgs) LogsArchiveS3ArchivePtrInput { - return (*logsArchiveS3ArchivePtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestLogQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestLogQueryPtrType)(v) } -func (*logsArchiveS3ArchivePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsArchiveS3Archive)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() } -func (i *logsArchiveS3ArchivePtrType) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { - return i.ToLogsArchiveS3ArchivePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestLogQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *logsArchiveS3ArchivePtrType) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsArchiveS3ArchivePtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestLogQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) } -type LogsArchiveS3ArchiveOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (LogsArchiveS3ArchiveOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsArchiveS3Archive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() } -func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchiveOutput() LogsArchiveS3ArchiveOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { return o } -func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchiveOutputWithContext(ctx context.Context) LogsArchiveS3ArchiveOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { return o } -func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { - return o.ToLogsArchiveS3ArchivePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o LogsArchiveS3ArchiveOutput) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsArchiveS3Archive) *LogsArchiveS3Archive { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestLogQuery) *PowerpackWidgetDistributionDefinitionRequestLogQuery { return &v - }).(LogsArchiveS3ArchivePtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) } -// Your AWS account id. -func (o LogsArchiveS3ArchiveOutput) AccountId() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveS3Archive) string { return v.AccountId }).(pulumi.StringOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) } -// Name of your s3 bucket. -func (o LogsArchiveS3ArchiveOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveS3Archive) string { return v.Bucket }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// Path where the archive is stored. -func (o LogsArchiveS3ArchiveOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsArchiveS3Archive) *string { return v.Path }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) } -// Your AWS role name -func (o LogsArchiveS3ArchiveOutput) RoleName() pulumi.StringOutput { - return o.ApplyT(func(v LogsArchiveS3Archive) string { return v.RoleName }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type LogsArchiveS3ArchivePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsArchiveS3ArchivePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsArchiveS3Archive)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() } -func (o LogsArchiveS3ArchivePtrOutput) ToLogsArchiveS3ArchivePtrOutput() LogsArchiveS3ArchivePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { return o } -func (o LogsArchiveS3ArchivePtrOutput) ToLogsArchiveS3ArchivePtrOutputWithContext(ctx context.Context) LogsArchiveS3ArchivePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { return o } -func (o LogsArchiveS3ArchivePtrOutput) Elem() LogsArchiveS3ArchiveOutput { - return o.ApplyT(func(v *LogsArchiveS3Archive) LogsArchiveS3Archive { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) PowerpackWidgetDistributionDefinitionRequestLogQuery { if v != nil { return *v } - var ret LogsArchiveS3Archive + var ret PowerpackWidgetDistributionDefinitionRequestLogQuery return ret - }).(LogsArchiveS3ArchiveOutput) + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) } -// Your AWS account id. -func (o LogsArchiveS3ArchivePtrOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveS3Archive) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { if v == nil { return nil } - return &v.AccountId - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) } -// Name of your s3 bucket. -func (o LogsArchiveS3ArchivePtrOutput) Bucket() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveS3Archive) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy { if v == nil { return nil } - return &v.Bucket - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) } -// Path where the archive is stored. -func (o LogsArchiveS3ArchivePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveS3Archive) *string { +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) *string { if v == nil { return nil } - return v.Path + return &v.Index }).(pulumi.StringPtrOutput) } -// Your AWS role name -func (o LogsArchiveS3ArchivePtrOutput) RoleName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsArchiveS3Archive) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) *string { if v == nil { return nil } - return &v.RoleName + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineFilter struct { - // Filter criteria of the category. - Query string `pulumi:"query"` +type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery 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"` } -// LogsCustomPipelineFilterInput is an input type that accepts LogsCustomPipelineFilterArgs and LogsCustomPipelineFilterOutput values. -// You can construct a concrete instance of `LogsCustomPipelineFilterInput` via: +// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryInput` via: // -// LogsCustomPipelineFilterArgs{...} -type LogsCustomPipelineFilterInput interface { +// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToLogsCustomPipelineFilterOutput() LogsCustomPipelineFilterOutput - ToLogsCustomPipelineFilterOutputWithContext(context.Context) LogsCustomPipelineFilterOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput } -type LogsCustomPipelineFilterArgs struct { - // Filter criteria of the category. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs 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 (LogsCustomPipelineFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineFilter)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i LogsCustomPipelineFilterArgs) ToLogsCustomPipelineFilterOutput() LogsCustomPipelineFilterOutput { - return i.ToLogsCustomPipelineFilterOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineFilterArgs) ToLogsCustomPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineFilterOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) } -// LogsCustomPipelineFilterArrayInput is an input type that accepts LogsCustomPipelineFilterArray and LogsCustomPipelineFilterArrayOutput values. -// You can construct a concrete instance of `LogsCustomPipelineFilterArrayInput` via: -// -// LogsCustomPipelineFilterArray{ LogsCustomPipelineFilterArgs{...} } -type LogsCustomPipelineFilterArrayInput interface { - pulumi.Input - - ToLogsCustomPipelineFilterArrayOutput() LogsCustomPipelineFilterArrayOutput - ToLogsCustomPipelineFilterArrayOutputWithContext(context.Context) LogsCustomPipelineFilterArrayOutput +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -type LogsCustomPipelineFilterArray []LogsCustomPipelineFilterInput - -func (LogsCustomPipelineFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineFilter)(nil)).Elem() +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -func (i LogsCustomPipelineFilterArray) ToLogsCustomPipelineFilterArrayOutput() LogsCustomPipelineFilterArrayOutput { - return i.ToLogsCustomPipelineFilterArrayOutputWithContext(context.Background()) -} +// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput interface { + pulumi.Input -func (i LogsCustomPipelineFilterArray) ToLogsCustomPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineFilterArrayOutput) + ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput } -type LogsCustomPipelineFilterOutput struct{ *pulumi.OutputState } +type powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs -func (LogsCustomPipelineFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineFilter)(nil)).Elem() +func PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (o LogsCustomPipelineFilterOutput) ToLogsCustomPipelineFilterOutput() LogsCustomPipelineFilterOutput { - return o +func (*powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineFilterOutput) ToLogsCustomPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineFilterOutput { - return o +func (i *powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -// Filter criteria of the category. -func (o LogsCustomPipelineFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineFilter) string { return v.Query }).(pulumi.StringOutput) +func (i *powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) } -type LogsCustomPipelineFilterArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineFilter)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineFilterArrayOutput) ToLogsCustomPipelineFilterArrayOutput() LogsCustomPipelineFilterArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineFilterArrayOutput) ToLogsCustomPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineFilterArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineFilterArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineFilter { - return vs[0].([]LogsCustomPipelineFilter)[vs[1].(int)] - }).(LogsCustomPipelineFilterOutput) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -type LogsCustomPipelineProcessor struct { - // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) - ArithmeticProcessor *LogsCustomPipelineProcessorArithmeticProcessor `pulumi:"arithmeticProcessor"` - // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) - AttributeRemapper *LogsCustomPipelineProcessorAttributeRemapper `pulumi:"attributeRemapper"` - // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) - CategoryProcessor *LogsCustomPipelineProcessorCategoryProcessor `pulumi:"categoryProcessor"` - // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) - DateRemapper *LogsCustomPipelineProcessorDateRemapper `pulumi:"dateRemapper"` - // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) - GeoIpParser *LogsCustomPipelineProcessorGeoIpParser `pulumi:"geoIpParser"` - // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) - GrokParser *LogsCustomPipelineProcessorGrokParser `pulumi:"grokParser"` - // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - LookupProcessor *LogsCustomPipelineProcessorLookupProcessor `pulumi:"lookupProcessor"` - // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) - MessageRemapper *LogsCustomPipelineProcessorMessageRemapper `pulumi:"messageRemapper"` - Pipeline *LogsCustomPipelineProcessorPipeline `pulumi:"pipeline"` - // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - ReferenceTableLookupProcessor *LogsCustomPipelineProcessorReferenceTableLookupProcessor `pulumi:"referenceTableLookupProcessor"` - // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) - ServiceRemapper *LogsCustomPipelineProcessorServiceRemapper `pulumi:"serviceRemapper"` - // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) - StatusRemapper *LogsCustomPipelineProcessorStatusRemapper `pulumi:"statusRemapper"` - // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) - StringBuilderProcessor *LogsCustomPipelineProcessorStringBuilderProcessor `pulumi:"stringBuilderProcessor"` - // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) - TraceIdRemapper *LogsCustomPipelineProcessorTraceIdRemapper `pulumi:"traceIdRemapper"` - // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) - UrlParser *LogsCustomPipelineProcessorUrlParser `pulumi:"urlParser"` - // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) - UserAgentParser *LogsCustomPipelineProcessorUserAgentParser `pulumi:"userAgentParser"` +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { + return &v + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) } -// LogsCustomPipelineProcessorInput is an input type that accepts LogsCustomPipelineProcessorArgs and LogsCustomPipelineProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorInput` via: -// -// LogsCustomPipelineProcessorArgs{...} -type LogsCustomPipelineProcessorInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorOutput() LogsCustomPipelineProcessorOutput - ToLogsCustomPipelineProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorOutput +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorArgs struct { - // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) - ArithmeticProcessor LogsCustomPipelineProcessorArithmeticProcessorPtrInput `pulumi:"arithmeticProcessor"` - // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) - AttributeRemapper LogsCustomPipelineProcessorAttributeRemapperPtrInput `pulumi:"attributeRemapper"` - // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) - CategoryProcessor LogsCustomPipelineProcessorCategoryProcessorPtrInput `pulumi:"categoryProcessor"` - // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) - DateRemapper LogsCustomPipelineProcessorDateRemapperPtrInput `pulumi:"dateRemapper"` - // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) - GeoIpParser LogsCustomPipelineProcessorGeoIpParserPtrInput `pulumi:"geoIpParser"` - // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) - GrokParser LogsCustomPipelineProcessorGrokParserPtrInput `pulumi:"grokParser"` - // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - LookupProcessor LogsCustomPipelineProcessorLookupProcessorPtrInput `pulumi:"lookupProcessor"` - // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) - MessageRemapper LogsCustomPipelineProcessorMessageRemapperPtrInput `pulumi:"messageRemapper"` - Pipeline LogsCustomPipelineProcessorPipelinePtrInput `pulumi:"pipeline"` - // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - ReferenceTableLookupProcessor LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput `pulumi:"referenceTableLookupProcessor"` - // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) - ServiceRemapper LogsCustomPipelineProcessorServiceRemapperPtrInput `pulumi:"serviceRemapper"` - // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) - StatusRemapper LogsCustomPipelineProcessorStatusRemapperPtrInput `pulumi:"statusRemapper"` - // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) - StringBuilderProcessor LogsCustomPipelineProcessorStringBuilderProcessorPtrInput `pulumi:"stringBuilderProcessor"` - // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) - TraceIdRemapper LogsCustomPipelineProcessorTraceIdRemapperPtrInput `pulumi:"traceIdRemapper"` - // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) - UrlParser LogsCustomPipelineProcessorUrlParserPtrInput `pulumi:"urlParser"` - // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) - UserAgentParser LogsCustomPipelineProcessorUserAgentParserPtrInput `pulumi:"userAgentParser"` +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (LogsCustomPipelineProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessor)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (i LogsCustomPipelineProcessorArgs) ToLogsCustomPipelineProcessorOutput() LogsCustomPipelineProcessorOutput { - return i.ToLogsCustomPipelineProcessorOutputWithContext(context.Background()) -} +type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (i LogsCustomPipelineProcessorArgs) ToLogsCustomPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorOutput) +func (PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -// LogsCustomPipelineProcessorArrayInput is an input type that accepts LogsCustomPipelineProcessorArray and LogsCustomPipelineProcessorArrayOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorArrayInput` via: -// -// LogsCustomPipelineProcessorArray{ LogsCustomPipelineProcessorArgs{...} } -type LogsCustomPipelineProcessorArrayInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorArrayOutput() LogsCustomPipelineProcessorArrayOutput - ToLogsCustomPipelineProcessorArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorArrayOutput +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return o } -type LogsCustomPipelineProcessorArray []LogsCustomPipelineProcessorInput - -func (LogsCustomPipelineProcessorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessor)(nil)).Elem() +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { + return o } -func (i LogsCustomPipelineProcessorArray) ToLogsCustomPipelineProcessorArrayOutput() LogsCustomPipelineProcessorArrayOutput { - return i.ToLogsCustomPipelineProcessorArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery + return ret + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) } -func (i LogsCustomPipelineProcessorArray) ToLogsCustomPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArrayOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessor)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorOutput) ToLogsCustomPipelineProcessorOutput() LogsCustomPipelineProcessorOutput { - return o +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -func (o LogsCustomPipelineProcessorOutput) ToLogsCustomPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorOutput { - return o +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) -func (o LogsCustomPipelineProcessorOutput) ArithmeticProcessor() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorArithmeticProcessor { - return v.ArithmeticProcessor - }).(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) -} +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput interface { + pulumi.Input -// Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) -func (o LogsCustomPipelineProcessorOutput) AttributeRemapper() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorAttributeRemapper { - return v.AttributeRemapper - }).(LogsCustomPipelineProcessorAttributeRemapperPtrOutput) + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput } -// Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) -func (o LogsCustomPipelineProcessorOutput) CategoryProcessor() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorCategoryProcessor { - return v.CategoryProcessor - }).(LogsCustomPipelineProcessorCategoryProcessorPtrOutput) +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -// Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) -func (o LogsCustomPipelineProcessorOutput) DateRemapper() LogsCustomPipelineProcessorDateRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorDateRemapper { return v.DateRemapper }).(LogsCustomPipelineProcessorDateRemapperPtrOutput) +func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) -func (o LogsCustomPipelineProcessorOutput) GeoIpParser() LogsCustomPipelineProcessorGeoIpParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorGeoIpParser { return v.GeoIpParser }).(LogsCustomPipelineProcessorGeoIpParserPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -// Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) -func (o LogsCustomPipelineProcessorOutput) GrokParser() LogsCustomPipelineProcessorGrokParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorGrokParser { return v.GrokParser }).(LogsCustomPipelineProcessorGrokParserPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) } -// Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) -func (o LogsCustomPipelineProcessorOutput) LookupProcessor() LogsCustomPipelineProcessorLookupProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorLookupProcessor { - return v.LookupProcessor - }).(LogsCustomPipelineProcessorLookupProcessorPtrOutput) +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput } -// Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) -func (o LogsCustomPipelineProcessorOutput) MessageRemapper() LogsCustomPipelineProcessorMessageRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorMessageRemapper { - return v.MessageRemapper - }).(LogsCustomPipelineProcessorMessageRemapperPtrOutput) +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput + +func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorOutput) Pipeline() LogsCustomPipelineProcessorPipelinePtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorPipeline { return v.Pipeline }).(LogsCustomPipelineProcessorPipelinePtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -// Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) -func (o LogsCustomPipelineProcessorOutput) ReferenceTableLookupProcessor() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorReferenceTableLookupProcessor { - return v.ReferenceTableLookupProcessor - }).(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) } -// Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) -func (o LogsCustomPipelineProcessorOutput) ServiceRemapper() LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorServiceRemapper { - return v.ServiceRemapper - }).(LogsCustomPipelineProcessorServiceRemapperPtrOutput) +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) -func (o LogsCustomPipelineProcessorOutput) StatusRemapper() LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorStatusRemapper { - return v.StatusRemapper - }).(LogsCustomPipelineProcessorStatusRemapperPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { + return o } -// String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) -func (o LogsCustomPipelineProcessorOutput) StringBuilderProcessor() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorStringBuilderProcessor { - return v.StringBuilderProcessor - }).(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { + return o } -// Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) -func (o LogsCustomPipelineProcessorOutput) TraceIdRemapper() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorTraceIdRemapper { - return v.TraceIdRemapper - }).(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) -func (o LogsCustomPipelineProcessorOutput) UrlParser() LogsCustomPipelineProcessorUrlParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorUrlParser { return v.UrlParser }).(LogsCustomPipelineProcessorUrlParserPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) -func (o LogsCustomPipelineProcessorOutput) UserAgentParser() LogsCustomPipelineProcessorUserAgentParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessor) *LogsCustomPipelineProcessorUserAgentParser { - return v.UserAgentParser - }).(LogsCustomPipelineProcessorUserAgentParserPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type LogsCustomPipelineProcessorArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorArrayOutput() LogsCustomPipelineProcessorArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessor { - return vs[0].([]LogsCustomPipelineProcessor)[vs[1].(int)] - }).(LogsCustomPipelineProcessorOutput) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) } -type LogsCustomPipelineProcessorArithmeticProcessor struct { - // Arithmetic operation between one or more log attributes. - Expression string `pulumi:"expression"` - // Boolean value to enable your pipeline. - IsEnabled *bool `pulumi:"isEnabled"` - // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. - IsReplaceMissing *bool `pulumi:"isReplaceMissing"` - // Your pipeline name. - Name *string `pulumi:"name"` - // Name of the attribute that contains the result of the arithmetic operation. - Target string `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// LogsCustomPipelineProcessorArithmeticProcessorInput is an input type that accepts LogsCustomPipelineProcessorArithmeticProcessorArgs and LogsCustomPipelineProcessorArithmeticProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorArithmeticProcessorInput` via: +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// LogsCustomPipelineProcessorArithmeticProcessorArgs{...} -type LogsCustomPipelineProcessorArithmeticProcessorInput interface { +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorArithmeticProcessorOutput - ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorArithmeticProcessorOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput } -type LogsCustomPipelineProcessorArithmeticProcessorArgs struct { - // Arithmetic operation between one or more log attributes. - Expression pulumi.StringInput `pulumi:"expression"` - // Boolean value to enable your pipeline. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. - IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` - // Your pipeline name. - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the attribute that contains the result of the arithmetic operation. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (LogsCustomPipelineProcessorArithmeticProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorArithmeticProcessorOutput { - return i.ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArithmeticProcessorOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArithmeticProcessorOutput).ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorArithmeticProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorArithmeticProcessorArgs, LogsCustomPipelineProcessorArithmeticProcessorPtr and LogsCustomPipelineProcessorArithmeticProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorArithmeticProcessorPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// LogsCustomPipelineProcessorArithmeticProcessorArgs{...} +// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorArithmeticProcessorPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput - ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type logsCustomPipelineProcessorArithmeticProcessorPtrType LogsCustomPipelineProcessorArithmeticProcessorArgs +type powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs -func LogsCustomPipelineProcessorArithmeticProcessorPtr(v *LogsCustomPipelineProcessorArithmeticProcessorArgs) LogsCustomPipelineProcessorArithmeticProcessorPtrInput { - return (*logsCustomPipelineProcessorArithmeticProcessorPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*logsCustomPipelineProcessorArithmeticProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type LogsCustomPipelineProcessorArithmeticProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorArithmeticProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorArithmeticProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorArithmeticProcessor) *LogsCustomPipelineProcessorArithmeticProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) -} - -// Arithmetic operation between one or more log attributes. -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) string { return v.Expression }).(pulumi.StringOutput) -} - -// Boolean value to enable your pipeline. -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) *bool { return v.IsReplaceMissing }).(pulumi.BoolPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Your pipeline name. -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Name of the attribute that contains the result of the arithmetic operation. -func (o LogsCustomPipelineProcessorArithmeticProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorArithmeticProcessor) string { return v.Target }).(pulumi.StringOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorArithmeticProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorArithmeticProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Elem() LogsCustomPipelineProcessorArithmeticProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) LogsCustomPipelineProcessorArithmeticProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorArithmeticProcessor + var ret PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery return ret - }).(LogsCustomPipelineProcessorArithmeticProcessorOutput) + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) } -// Arithmetic operation between one or more log attributes. -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Expression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *string { +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Expression + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// Boolean value to enable your pipeline. -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *bool { - if v == nil { - return nil - } - return v.IsReplaceMissing - }).(pulumi.BoolPtrOutput) -} - -// Your pipeline name. -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *string { +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// Name of the attribute that contains the result of the arithmetic operation. -func (o LogsCustomPipelineProcessorArithmeticProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorArithmeticProcessor) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Target + return &v.Order }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorAttributeRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor - Name *string `pulumi:"name"` - // Override the target element if already set. - OverrideOnConflict *bool `pulumi:"overrideOnConflict"` - // Remove or preserve the remapped source element. - PreserveSource *bool `pulumi:"preserveSource"` - // Defines where the sources are from (log `attribute` or `tag`). - SourceType string `pulumi:"sourceType"` - // List of source attributes or tags. - Sources []string `pulumi:"sources"` - // Final attribute or tag name to remap the sources. - Target string `pulumi:"target"` - // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. - TargetFormat *string `pulumi:"targetFormat"` - // Defines if the target is a log `attribute` or `tag`. - TargetType string `pulumi:"targetType"` +type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute 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"` } -// LogsCustomPipelineProcessorAttributeRemapperInput is an input type that accepts LogsCustomPipelineProcessorAttributeRemapperArgs and LogsCustomPipelineProcessorAttributeRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorAttributeRemapperInput` via: +// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput` via: // -// LogsCustomPipelineProcessorAttributeRemapperArgs{...} -type LogsCustomPipelineProcessorAttributeRemapperInput interface { +// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput interface { pulumi.Input - ToLogsCustomPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorAttributeRemapperOutput - ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorAttributeRemapperOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput } -type LogsCustomPipelineProcessorAttributeRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Override the target element if already set. - OverrideOnConflict pulumi.BoolPtrInput `pulumi:"overrideOnConflict"` - // Remove or preserve the remapped source element. - PreserveSource pulumi.BoolPtrInput `pulumi:"preserveSource"` - // Defines where the sources are from (log `attribute` or `tag`). - SourceType pulumi.StringInput `pulumi:"sourceType"` - // List of source attributes or tags. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Final attribute or tag name to remap the sources. - Target pulumi.StringInput `pulumi:"target"` - // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. - TargetFormat pulumi.StringPtrInput `pulumi:"targetFormat"` - // Defines if the target is a log `attribute` or `tag`. - TargetType pulumi.StringInput `pulumi:"targetType"` +type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs 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 (LogsCustomPipelineProcessorAttributeRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorAttributeRemapperOutput { - return i.ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorAttributeRemapperOutput) -} - -func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) -} - -func (i LogsCustomPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorAttributeRemapperOutput).ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) } -// LogsCustomPipelineProcessorAttributeRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorAttributeRemapperArgs, LogsCustomPipelineProcessorAttributeRemapperPtr and LogsCustomPipelineProcessorAttributeRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorAttributeRemapperPtrInput` via: -// -// LogsCustomPipelineProcessorAttributeRemapperArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// nil -type LogsCustomPipelineProcessorAttributeRemapperPtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput - ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput } -type logsCustomPipelineProcessorAttributeRemapperPtrType LogsCustomPipelineProcessorAttributeRemapperArgs - -func LogsCustomPipelineProcessorAttributeRemapperPtr(v *LogsCustomPipelineProcessorAttributeRemapperArgs) LogsCustomPipelineProcessorAttributeRemapperPtrInput { - return (*logsCustomPipelineProcessorAttributeRemapperPtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput -func (*logsCustomPipelineProcessorAttributeRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i *logsCustomPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorAttributeRemapperPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) } -type LogsCustomPipelineProcessorAttributeRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorAttributeRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorAttributeRemapperOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorAttributeRemapper) *LogsCustomPipelineProcessorAttributeRemapper { - return &v - }).(LogsCustomPipelineProcessorAttributeRemapperPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// Override the target element if already set. -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) OverrideOnConflict() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *bool { return v.OverrideOnConflict }).(pulumi.BoolPtrOutput) -} - -// Remove or preserve the remapped source element. -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) PreserveSource() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *bool { return v.PreserveSource }).(pulumi.BoolPtrOutput) -} - -// Defines where the sources are from (log `attribute` or `tag`). -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) SourceType() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) string { return v.SourceType }).(pulumi.StringOutput) -} - -// List of source attributes or tags. -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) -} - -// Final attribute or tag name to remap the sources. -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) string { return v.Target }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) TargetFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) *string { return v.TargetFormat }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Defines if the target is a log `attribute` or `tag`. -func (o LogsCustomPipelineProcessorAttributeRemapperOutput) TargetType() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorAttributeRemapper) string { return v.TargetType }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorAttributeRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorAttributeRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorAttributeRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorAttributeRemapperPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorAttributeRemapperPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Elem() LogsCustomPipelineProcessorAttributeRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) LogsCustomPipelineProcessorAttributeRemapper { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorAttributeRemapper - return ret - }).(LogsCustomPipelineProcessorAttributeRemapperOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// Override the target element if already set. -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) OverrideOnConflict() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *bool { - if v == nil { - return nil - } - return v.OverrideOnConflict - }).(pulumi.BoolPtrOutput) -} - -// Remove or preserve the remapped source element. -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) PreserveSource() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *bool { - if v == nil { - return nil - } - return v.PreserveSource - }).(pulumi.BoolPtrOutput) -} - -// Defines where the sources are from (log `attribute` or `tag`). -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) SourceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { - if v == nil { - return nil - } - return &v.SourceType - }).(pulumi.StringPtrOutput) -} - -// List of source attributes or tags. -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) []string { - if v == nil { - return nil - } - return v.Sources - }).(pulumi.StringArrayOutput) -} - -// Final attribute or tag name to remap the sources. -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { - if v == nil { - return nil - } - return &v.Target - }).(pulumi.StringPtrOutput) -} - -// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) TargetFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { - if v == nil { - return nil - } - return v.TargetFormat - }).(pulumi.StringPtrOutput) -} - -// Defines if the target is a log `attribute` or `tag`. -func (o LogsCustomPipelineProcessorAttributeRemapperPtrOutput) TargetType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorAttributeRemapper) *string { - if v == nil { - return nil - } - return &v.TargetType - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) } -type LogsCustomPipelineProcessorCategoryProcessor struct { - // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. - Categories []LogsCustomPipelineProcessorCategoryProcessorCategory `pulumi:"categories"` - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the category - Name *string `pulumi:"name"` - // Name of the target attribute whose value is defined by the matching category. - Target string `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// LogsCustomPipelineProcessorCategoryProcessorInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorArgs and LogsCustomPipelineProcessorCategoryProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorInput` via: +// PowerpackWidgetDistributionDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs and PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestProcessQueryInput` via: // -// LogsCustomPipelineProcessorCategoryProcessorArgs{...} -type LogsCustomPipelineProcessorCategoryProcessorInput interface { +// PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestProcessQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorCategoryProcessorOutput - ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorOutput + ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput } -type LogsCustomPipelineProcessorCategoryProcessorArgs struct { - // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. - Categories LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput `pulumi:"categories"` - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the category - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the target attribute whose value is defined by the matching category. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (LogsCustomPipelineProcessorCategoryProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorCategoryProcessorOutput { - return i.ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorOutput) +func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) } -func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorOutput).ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorCategoryProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorArgs, LogsCustomPipelineProcessorCategoryProcessorPtr and LogsCustomPipelineProcessorCategoryProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs, PowerpackWidgetDistributionDefinitionRequestProcessQueryPtr and PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput` via: // -// LogsCustomPipelineProcessorCategoryProcessorArgs{...} +// PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorCategoryProcessorPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput - ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput } -type logsCustomPipelineProcessorCategoryProcessorPtrType LogsCustomPipelineProcessorCategoryProcessorArgs +type powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs -func LogsCustomPipelineProcessorCategoryProcessorPtr(v *LogsCustomPipelineProcessorCategoryProcessorArgs) LogsCustomPipelineProcessorCategoryProcessorPtrInput { - return (*logsCustomPipelineProcessorCategoryProcessorPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestProcessQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType)(v) } -func (*logsCustomPipelineProcessorCategoryProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) } -type LogsCustomPipelineProcessorCategoryProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorCategoryProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorCategoryProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { return o } -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { return o } -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorCategoryProcessor) *LogsCustomPipelineProcessorCategoryProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestProcessQuery) *PowerpackWidgetDistributionDefinitionRequestProcessQuery { return &v - }).(LogsCustomPipelineProcessorCategoryProcessorPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) } -// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) Categories() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorCategoryProcessorCategory { - return v.Categories - }).(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) +// A list of processes. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Name of the category -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// Your chosen metric. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// Name of the target attribute whose value is defined by the matching category. -func (o LogsCustomPipelineProcessorCategoryProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessor) string { return v.Target }).(pulumi.StringOutput) +// Your chosen search term. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorCategoryProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorCategoryProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorCategoryProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorCategoryProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Elem() LogsCustomPipelineProcessorCategoryProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) LogsCustomPipelineProcessorCategoryProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) PowerpackWidgetDistributionDefinitionRequestProcessQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorCategoryProcessor + var ret PowerpackWidgetDistributionDefinitionRequestProcessQuery return ret - }).(LogsCustomPipelineProcessorCategoryProcessorOutput) + }).(PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) } -// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. -func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Categories() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorCategoryProcessorCategory { +// A list of processes. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return v.Categories - }).(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) *bool { +// The max number of items in the filter list. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) *int { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// Name of the category -func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) *string { +// Your chosen metric. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.Name + return &v.Metric }).(pulumi.StringPtrOutput) } -// Name of the target attribute whose value is defined by the matching category. -func (o LogsCustomPipelineProcessorCategoryProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorCategoryProcessor) *string { +// Your chosen search term. +func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return &v.Target + return v.SearchBy }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorCategoryProcessorCategory struct { - Filter LogsCustomPipelineProcessorCategoryProcessorCategoryFilter `pulumi:"filter"` - Name string `pulumi:"name"` +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"` } -// LogsCustomPipelineProcessorCategoryProcessorCategoryInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorCategoryArgs and LogsCustomPipelineProcessorCategoryProcessorCategoryOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorCategoryInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryInput` via: // -// LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{...} -type LogsCustomPipelineProcessorCategoryProcessorCategoryInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryOutput - ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput + 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() } -type LogsCustomPipelineProcessorCategoryProcessorCategoryArgs struct { - Filter LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput `pulumi:"filter"` - Name pulumi.StringInput `pulumi:"name"` +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (LogsCustomPipelineProcessorCategoryProcessorCategoryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) } -func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { - return i.ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorCategoryArray and LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput` via: // -// LogsCustomPipelineProcessorCategoryProcessorCategoryArray{ LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{...} } -type LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput - ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput } -type LogsCustomPipelineProcessorCategoryProcessorCategoryArray []LogsCustomPipelineProcessorCategoryProcessorCategoryInput +type powerpackWidgetDistributionDefinitionRequestRumQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryArgs + +func PowerpackWidgetDistributionDefinitionRequestRumQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType)(v) +} -func (LogsCustomPipelineProcessorCategoryProcessorCategoryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { - return i.ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) } -type LogsCustomPipelineProcessorCategoryProcessorCategoryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { return o } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { return o } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) Filter() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessorCategory) LogsCustomPipelineProcessorCategoryProcessorCategoryFilter { - return v.Filter - }).(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessorCategory) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQuery { + return &v + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) } -type LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorCategoryProcessorCategory)(nil)).Elem() +// `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) } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o +// 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) } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o +// 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) } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorCategoryProcessorCategoryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorCategoryProcessorCategory { - return vs[0].([]LogsCustomPipelineProcessorCategoryProcessorCategory)[vs[1].(int)] - }).(LogsCustomPipelineProcessorCategoryProcessorCategoryOutput) +// `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) } -type LogsCustomPipelineProcessorCategoryProcessorCategoryFilter struct { - // Filter criteria of the category. - Query string `pulumi:"query"` +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -// LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput is an input type that accepts LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs and LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput` via: -// -// LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{...} -type LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput interface { - pulumi.Input +type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } - ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput - ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput +func (PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() } -type LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs struct { - // Filter criteria of the category. - Query pulumi.StringInput `pulumi:"query"` +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o } -func (LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { + return o } -func (i LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { - return i.ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) PowerpackWidgetDistributionDefinitionRequestRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionRequestRumQuery + return ret + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) } -func (i LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) +// `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) } -type LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() +// 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) } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { - return o +// 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) } -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput { - return o +// `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) } -// Filter criteria of the category. -func (o LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorCategoryProcessorCategoryFilter) string { return v.Query }).(pulumi.StringOutput) +// 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 LogsCustomPipelineProcessorDateRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +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"` } -// LogsCustomPipelineProcessorDateRemapperInput is an input type that accepts LogsCustomPipelineProcessorDateRemapperArgs and LogsCustomPipelineProcessorDateRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorDateRemapperInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput` via: // -// LogsCustomPipelineProcessorDateRemapperArgs{...} -type LogsCustomPipelineProcessorDateRemapperInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorDateRemapperOutput - ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorDateRemapperOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput } -type LogsCustomPipelineProcessorDateRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` +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 (LogsCustomPipelineProcessorDateRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorDateRemapperOutput { - return i.ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorDateRemapperOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) } -func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorDateRemapperOutput).ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorDateRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorDateRemapperArgs, LogsCustomPipelineProcessorDateRemapperPtr and LogsCustomPipelineProcessorDateRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorDateRemapperPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// LogsCustomPipelineProcessorDateRemapperArgs{...} +// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorDateRemapperPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput - ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput } -type logsCustomPipelineProcessorDateRemapperPtrType LogsCustomPipelineProcessorDateRemapperArgs +type powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs -func LogsCustomPipelineProcessorDateRemapperPtr(v *LogsCustomPipelineProcessorDateRemapperArgs) LogsCustomPipelineProcessorDateRemapperPtrInput { - return (*logsCustomPipelineProcessorDateRemapperPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*logsCustomPipelineProcessorDateRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorDateRemapperPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) } -type LogsCustomPipelineProcessorDateRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorDateRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorDateRemapperOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorDateRemapper) *LogsCustomPipelineProcessorDateRemapper { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { return &v - }).(LogsCustomPipelineProcessorDateRemapperPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorDateRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorDateRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorDateRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorDateRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorDateRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorDateRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// 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 LogsCustomPipelineProcessorDateRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorDateRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorDateRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorDateRemapperPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorDateRemapperPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) Elem() LogsCustomPipelineProcessorDateRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) LogsCustomPipelineProcessorDateRemapper { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorDateRemapper + var ret PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery return ret - }).(LogsCustomPipelineProcessorDateRemapperOutput) + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) *bool { +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) *string { +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorDateRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorDateRemapper) []string { +// 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.Sources - }).(pulumi.StringArrayOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorGeoIpParser struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target string `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// LogsCustomPipelineProcessorGeoIpParserInput is an input type that accepts LogsCustomPipelineProcessorGeoIpParserArgs and LogsCustomPipelineProcessorGeoIpParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorGeoIpParserInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput` via: // -// LogsCustomPipelineProcessorGeoIpParserArgs{...} -type LogsCustomPipelineProcessorGeoIpParserInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToLogsCustomPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorGeoIpParserOutput - ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(context.Context) LogsCustomPipelineProcessorGeoIpParserOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput } -type LogsCustomPipelineProcessorGeoIpParserArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (LogsCustomPipelineProcessorGeoIpParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorGeoIpParserOutput { - return i.ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGeoIpParserOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) } -func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { - return i.ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) -} - -func (i LogsCustomPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGeoIpParserOutput).ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx) -} - -// LogsCustomPipelineProcessorGeoIpParserPtrInput is an input type that accepts LogsCustomPipelineProcessorGeoIpParserArgs, LogsCustomPipelineProcessorGeoIpParserPtr and LogsCustomPipelineProcessorGeoIpParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorGeoIpParserPtrInput` via: -// -// LogsCustomPipelineProcessorGeoIpParserArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput` via: // -// nil -type LogsCustomPipelineProcessorGeoIpParserPtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput - ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput } -type logsCustomPipelineProcessorGeoIpParserPtrType LogsCustomPipelineProcessorGeoIpParserArgs - -func LogsCustomPipelineProcessorGeoIpParserPtr(v *LogsCustomPipelineProcessorGeoIpParserArgs) LogsCustomPipelineProcessorGeoIpParserPtrInput { - return (*logsCustomPipelineProcessorGeoIpParserPtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput -func (*logsCustomPipelineProcessorGeoIpParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i *logsCustomPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { - return i.ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGeoIpParserPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) } -type LogsCustomPipelineProcessorGeoIpParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorGeoIpParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorGeoIpParserOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { - return o.ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorGeoIpParser) *LogsCustomPipelineProcessorGeoIpParser { - return &v - }).(LogsCustomPipelineProcessorGeoIpParserPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorGeoIpParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// Name of the processor. -func (o LogsCustomPipelineProcessorGeoIpParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) *string { return v.Name }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorGeoIpParserOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorGeoIpParserOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGeoIpParser) string { return v.Target }).(pulumi.StringOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type LogsCustomPipelineProcessorGeoIpParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorGeoIpParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorGeoIpParser)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorGeoIpParserPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGeoIpParserPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Elem() LogsCustomPipelineProcessorGeoIpParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) LogsCustomPipelineProcessorGeoIpParser { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorGeoIpParser - return ret - }).(LogsCustomPipelineProcessorGeoIpParserOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// Name of the processor. -func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// List of source attributes. -func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) []string { - if v == nil { - return nil - } - return v.Sources - }).(pulumi.StringArrayOutput) -} - -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorGeoIpParserPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGeoIpParser) *string { - if v == nil { - return nil - } - return &v.Target - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) } -type LogsCustomPipelineProcessorGrokParser struct { - Grok LogsCustomPipelineProcessorGrokParserGrok `pulumi:"grok"` - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor - Name *string `pulumi:"name"` - // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. - Samples []string `pulumi:"samples"` - // Name of the log attribute to parse. - Source string `pulumi:"source"` +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// LogsCustomPipelineProcessorGrokParserInput is an input type that accepts LogsCustomPipelineProcessorGrokParserArgs and LogsCustomPipelineProcessorGrokParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// LogsCustomPipelineProcessorGrokParserArgs{...} -type LogsCustomPipelineProcessorGrokParserInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorGrokParserOutput - ToLogsCustomPipelineProcessorGrokParserOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput } -type LogsCustomPipelineProcessorGrokParserArgs struct { - Grok LogsCustomPipelineProcessorGrokParserGrokInput `pulumi:"grok"` - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. - Samples pulumi.StringArrayInput `pulumi:"samples"` - // Name of the log attribute to parse. - Source pulumi.StringInput `pulumi:"source"` +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (LogsCustomPipelineProcessorGrokParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorGrokParserOutput { - return i.ToLogsCustomPipelineProcessorGrokParserOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { - return i.ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserOutput).ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorGrokParserPtrInput is an input type that accepts LogsCustomPipelineProcessorGrokParserArgs, LogsCustomPipelineProcessorGrokParserPtr and LogsCustomPipelineProcessorGrokParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// LogsCustomPipelineProcessorGrokParserArgs{...} +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorGrokParserPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput - ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type logsCustomPipelineProcessorGrokParserPtrType LogsCustomPipelineProcessorGrokParserArgs +type powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs -func LogsCustomPipelineProcessorGrokParserPtr(v *LogsCustomPipelineProcessorGrokParserArgs) LogsCustomPipelineProcessorGrokParserPtrInput { - return (*logsCustomPipelineProcessorGrokParserPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*logsCustomPipelineProcessorGrokParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { - return i.ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type LogsCustomPipelineProcessorGrokParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorGrokParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorGrokParserOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { - return o.ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorGrokParser) *LogsCustomPipelineProcessorGrokParser { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(LogsCustomPipelineProcessorGrokParserPtrOutput) -} - -func (o LogsCustomPipelineProcessorGrokParserOutput) Grok() LogsCustomPipelineProcessorGrokParserGrokOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) LogsCustomPipelineProcessorGrokParserGrok { return v.Grok }).(LogsCustomPipelineProcessorGrokParserGrokOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorGrokParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorGrokParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) *string { return v.Name }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. -func (o LogsCustomPipelineProcessorGrokParserOutput) Samples() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) []string { return v.Samples }).(pulumi.StringArrayOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Name of the log attribute to parse. -func (o LogsCustomPipelineProcessorGrokParserOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParser) string { return v.Source }).(pulumi.StringOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorGrokParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorGrokParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParser)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorGrokParserPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Elem() LogsCustomPipelineProcessorGrokParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) LogsCustomPipelineProcessorGrokParser { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorGrokParser + var ret PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery return ret - }).(LogsCustomPipelineProcessorGrokParserOutput) -} - -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Grok() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *LogsCustomPipelineProcessorGrokParserGrok { - if v == nil { - return nil - } - return &v.Grok - }).(LogsCustomPipelineProcessorGrokParserGrokPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *string { +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Name + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Samples() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) []string { +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Samples - }).(pulumi.StringArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// Name of the log attribute to parse. -func (o LogsCustomPipelineProcessorGrokParserPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParser) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Source + return &v.Order }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorGrokParserGrok struct { - // Match rules for your grok parser. - MatchRules string `pulumi:"matchRules"` - // Support rules for your grok parser. - SupportRules string `pulumi:"supportRules"` +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute 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"` } -// LogsCustomPipelineProcessorGrokParserGrokInput is an input type that accepts LogsCustomPipelineProcessorGrokParserGrokArgs and LogsCustomPipelineProcessorGrokParserGrokOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserGrokInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput` via: // -// LogsCustomPipelineProcessorGrokParserGrokArgs{...} -type LogsCustomPipelineProcessorGrokParserGrokInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToLogsCustomPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorGrokParserGrokOutput - ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserGrokOutput -} - -type LogsCustomPipelineProcessorGrokParserGrokArgs struct { - // Match rules for your grok parser. - MatchRules pulumi.StringInput `pulumi:"matchRules"` - // Support rules for your grok parser. - SupportRules pulumi.StringInput `pulumi:"supportRules"` -} - -func (LogsCustomPipelineProcessorGrokParserGrokArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput } -func (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorGrokParserGrokOutput { - return i.ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(context.Background()) +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs 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 (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserGrokOutput) +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { - return i.ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserGrokOutput).ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) } -// LogsCustomPipelineProcessorGrokParserGrokPtrInput is an input type that accepts LogsCustomPipelineProcessorGrokParserGrokArgs, LogsCustomPipelineProcessorGrokParserGrokPtr and LogsCustomPipelineProcessorGrokParserGrokPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorGrokParserGrokPtrInput` via: -// -// LogsCustomPipelineProcessorGrokParserGrokArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// nil -type LogsCustomPipelineProcessorGrokParserGrokPtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput - ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput } -type logsCustomPipelineProcessorGrokParserGrokPtrType LogsCustomPipelineProcessorGrokParserGrokArgs - -func LogsCustomPipelineProcessorGrokParserGrokPtr(v *LogsCustomPipelineProcessorGrokParserGrokArgs) LogsCustomPipelineProcessorGrokParserGrokPtrInput { - return (*logsCustomPipelineProcessorGrokParserGrokPtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput -func (*logsCustomPipelineProcessorGrokParserGrokPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i *logsCustomPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { - return i.ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorGrokParserGrokPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) } -type LogsCustomPipelineProcessorGrokParserGrokOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorGrokParserGrokOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorGrokParserGrokOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { - return o.ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorGrokParserGrok) *LogsCustomPipelineProcessorGrokParserGrok { - return &v - }).(LogsCustomPipelineProcessorGrokParserGrokPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Match rules for your grok parser. -func (o LogsCustomPipelineProcessorGrokParserGrokOutput) MatchRules() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParserGrok) string { return v.MatchRules }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Support rules for your grok parser. -func (o LogsCustomPipelineProcessorGrokParserGrokOutput) SupportRules() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorGrokParserGrok) string { return v.SupportRules }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorGrokParserGrokPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorGrokParserGrokPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorGrokParserGrok)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorGrokParserGrokPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorGrokParserGrokPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) Elem() LogsCustomPipelineProcessorGrokParserGrokOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParserGrok) LogsCustomPipelineProcessorGrokParserGrok { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorGrokParserGrok - return ret - }).(LogsCustomPipelineProcessorGrokParserGrokOutput) -} - -// Match rules for your grok parser. -func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) MatchRules() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParserGrok) *string { - if v == nil { - return nil - } - return &v.MatchRules - }).(pulumi.StringPtrOutput) -} - -// Support rules for your grok parser. -func (o LogsCustomPipelineProcessorGrokParserGrokPtrOutput) SupportRules() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorGrokParserGrok) *string { - if v == nil { - return nil - } - return &v.SupportRules - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) } -type LogsCustomPipelineProcessorLookupProcessor struct { - // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. - DefaultLookup *string `pulumi:"defaultLookup"` - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // List of entries of the lookup table using `key,value` format. - LookupTables []string `pulumi:"lookupTables"` - // Name of the processor - Name *string `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source string `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target string `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// LogsCustomPipelineProcessorLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorLookupProcessorArgs and LogsCustomPipelineProcessorLookupProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorLookupProcessorInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput` via: // -// LogsCustomPipelineProcessorLookupProcessorArgs{...} -type LogsCustomPipelineProcessorLookupProcessorInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorLookupProcessorOutput - ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorLookupProcessorOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput } -type LogsCustomPipelineProcessorLookupProcessorArgs struct { - // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. - DefaultLookup pulumi.StringPtrInput `pulumi:"defaultLookup"` - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // List of entries of the lookup table using `key,value` format. - LookupTables pulumi.StringArrayInput `pulumi:"lookupTables"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source pulumi.StringInput `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (LogsCustomPipelineProcessorLookupProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorLookupProcessorOutput { - return i.ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorLookupProcessorOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) } -func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorLookupProcessorOutput).ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorLookupProcessorArgs, LogsCustomPipelineProcessorLookupProcessorPtr and LogsCustomPipelineProcessorLookupProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorLookupProcessorPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput` via: // -// LogsCustomPipelineProcessorLookupProcessorArgs{...} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorLookupProcessorPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput - ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput } -type logsCustomPipelineProcessorLookupProcessorPtrType LogsCustomPipelineProcessorLookupProcessorArgs +type powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs -func LogsCustomPipelineProcessorLookupProcessorPtr(v *LogsCustomPipelineProcessorLookupProcessorArgs) LogsCustomPipelineProcessorLookupProcessorPtrInput { - return (*logsCustomPipelineProcessorLookupProcessorPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType)(v) } -func (*logsCustomPipelineProcessorLookupProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorLookupProcessorPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) } -type LogsCustomPipelineProcessorLookupProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorLookupProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorLookupProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { return o } -func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { return o } -func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorLookupProcessor) *LogsCustomPipelineProcessorLookupProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQuery { return &v - }).(LogsCustomPipelineProcessorLookupProcessorPtrOutput) -} - -// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. -func (o LogsCustomPipelineProcessorLookupProcessorOutput) DefaultLookup() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) *string { return v.DefaultLookup }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// List of entries of the lookup table using `key,value` format. -func (o LogsCustomPipelineProcessorLookupProcessorOutput) LookupTables() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) []string { return v.LookupTables }).(pulumi.StringArrayOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorLookupProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorLookupProcessorOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) string { return v.Source }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorLookupProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorLookupProcessor) string { return v.Target }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorLookupProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorLookupProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorLookupProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorLookupProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorLookupProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorLookupProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) LogsCustomPipelineProcessorLookupProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorLookupProcessor + var ret PowerpackWidgetDistributionDefinitionRequestSecurityQuery return ret - }).(LogsCustomPipelineProcessorLookupProcessorOutput) -} - -// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) DefaultLookup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { - if v == nil { - return nil - } - return v.DefaultLookup - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *bool { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// List of entries of the lookup table using `key,value` format. -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) LookupTables() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) []string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } - return v.LookupTables - }).(pulumi.StringArrayOutput) + return v.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { +// The name of the index to query. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return v.Name + return &v.Index }).(pulumi.StringPtrOutput) } -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } - return &v.Source - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorLookupProcessor) *string { +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return &v.Target + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorMessageRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery 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"` } -// LogsCustomPipelineProcessorMessageRemapperInput is an input type that accepts LogsCustomPipelineProcessorMessageRemapperArgs and LogsCustomPipelineProcessorMessageRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorMessageRemapperInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput` via: // -// LogsCustomPipelineProcessorMessageRemapperArgs{...} -type LogsCustomPipelineProcessorMessageRemapperInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorMessageRemapperOutput - ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorMessageRemapperOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput } -type LogsCustomPipelineProcessorMessageRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs 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 (LogsCustomPipelineProcessorMessageRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorMessageRemapperOutput { - return i.ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorMessageRemapperOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorMessageRemapperOutput).ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorMessageRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorMessageRemapperArgs, LogsCustomPipelineProcessorMessageRemapperPtr and LogsCustomPipelineProcessorMessageRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorMessageRemapperPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// LogsCustomPipelineProcessorMessageRemapperArgs{...} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorMessageRemapperPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput - ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type logsCustomPipelineProcessorMessageRemapperPtrType LogsCustomPipelineProcessorMessageRemapperArgs +type powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs -func LogsCustomPipelineProcessorMessageRemapperPtr(v *LogsCustomPipelineProcessorMessageRemapperArgs) LogsCustomPipelineProcessorMessageRemapperPtrInput { - return (*logsCustomPipelineProcessorMessageRemapperPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*logsCustomPipelineProcessorMessageRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorMessageRemapperPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type LogsCustomPipelineProcessorMessageRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorMessageRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorMessageRemapperOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorMessageRemapper) *LogsCustomPipelineProcessorMessageRemapper { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { return &v - }).(LogsCustomPipelineProcessorMessageRemapperPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorMessageRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorMessageRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorMessageRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorMessageRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorMessageRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorMessageRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorMessageRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorMessageRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorMessageRemapper)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorMessageRemapperPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorMessageRemapperPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) Elem() LogsCustomPipelineProcessorMessageRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) LogsCustomPipelineProcessorMessageRemapper { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorMessageRemapper + var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery return ret - }).(LogsCustomPipelineProcessorMessageRemapperOutput) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) *bool { +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) *string { +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorMessageRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorMessageRemapper) []string { +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorPipeline struct { - Filters []LogsCustomPipelineProcessorPipelineFilter `pulumi:"filters"` - IsEnabled *bool `pulumi:"isEnabled"` - Name string `pulumi:"name"` - Processors []LogsCustomPipelineProcessorPipelineProcessor `pulumi:"processors"` +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// LogsCustomPipelineProcessorPipelineInput is an input type that accepts LogsCustomPipelineProcessorPipelineArgs and LogsCustomPipelineProcessorPipelineOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput` via: // -// LogsCustomPipelineProcessorPipelineArgs{...} -type LogsCustomPipelineProcessorPipelineInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineOutput() LogsCustomPipelineProcessorPipelineOutput - ToLogsCustomPipelineProcessorPipelineOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineOutput -} - -type LogsCustomPipelineProcessorPipelineArgs struct { - Filters LogsCustomPipelineProcessorPipelineFilterArrayInput `pulumi:"filters"` - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - Name pulumi.StringInput `pulumi:"name"` - Processors LogsCustomPipelineProcessorPipelineProcessorArrayInput `pulumi:"processors"` -} - -func (LogsCustomPipelineProcessorPipelineArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipeline)(nil)).Elem() + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput } -func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelineOutput() LogsCustomPipelineProcessorPipelineOutput { - return i.ToLogsCustomPipelineProcessorPipelineOutputWithContext(context.Background()) +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelineOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineOutput) +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { - return i.ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineArgs) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineOutput).ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) } -// LogsCustomPipelineProcessorPipelinePtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineArgs, LogsCustomPipelineProcessorPipelinePtr and LogsCustomPipelineProcessorPipelinePtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelinePtrInput` via: -// -// LogsCustomPipelineProcessorPipelineArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// nil -type LogsCustomPipelineProcessorPipelinePtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput - ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelinePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput } -type logsCustomPipelineProcessorPipelinePtrType LogsCustomPipelineProcessorPipelineArgs - -func LogsCustomPipelineProcessorPipelinePtr(v *LogsCustomPipelineProcessorPipelineArgs) LogsCustomPipelineProcessorPipelinePtrInput { - return (*logsCustomPipelineProcessorPipelinePtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput -func (*logsCustomPipelineProcessorPipelinePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipeline)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelinePtrType) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { - return i.ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelinePtrType) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelinePtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) } -type LogsCustomPipelineProcessorPipelineOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipeline)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelineOutput() LogsCustomPipelineProcessorPipelineOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelineOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { - return o.ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorPipelineOutput) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipeline) *LogsCustomPipelineProcessorPipeline { - return &v - }).(LogsCustomPipelineProcessorPipelinePtrOutput) -} - -func (o LogsCustomPipelineProcessorPipelineOutput) Filters() LogsCustomPipelineProcessorPipelineFilterArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineFilter { - return v.Filters - }).(LogsCustomPipelineProcessorPipelineFilterArrayOutput) -} - -func (o LogsCustomPipelineProcessorPipelineOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) string { return v.Name }).(pulumi.StringOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineOutput) Processors() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineProcessor { - return v.Processors - }).(LogsCustomPipelineProcessorPipelineProcessorArrayOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type LogsCustomPipelineProcessorPipelinePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelinePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipeline)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelinePtrOutput) ToLogsCustomPipelineProcessorPipelinePtrOutput() LogsCustomPipelineProcessorPipelinePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelinePtrOutput) ToLogsCustomPipelineProcessorPipelinePtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelinePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelinePtrOutput) Elem() LogsCustomPipelineProcessorPipelineOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) LogsCustomPipelineProcessorPipeline { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorPipeline - return ret - }).(LogsCustomPipelineProcessorPipelineOutput) -} - -func (o LogsCustomPipelineProcessorPipelinePtrOutput) Filters() LogsCustomPipelineProcessorPipelineFilterArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineFilter { - if v == nil { - return nil - } - return v.Filters - }).(LogsCustomPipelineProcessorPipelineFilterArrayOutput) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) } -func (o LogsCustomPipelineProcessorPipelinePtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -func (o LogsCustomPipelineProcessorPipelinePtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput interface { + pulumi.Input -func (o LogsCustomPipelineProcessorPipelinePtrOutput) Processors() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipeline) []LogsCustomPipelineProcessorPipelineProcessor { - if v == nil { - return nil - } - return v.Processors - }).(LogsCustomPipelineProcessorPipelineProcessorArrayOutput) + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput } -type LogsCustomPipelineProcessorPipelineFilter struct { - // Filter criteria of the category. - Query string `pulumi:"query"` +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -// LogsCustomPipelineProcessorPipelineFilterInput is an input type that accepts LogsCustomPipelineProcessorPipelineFilterArgs and LogsCustomPipelineProcessorPipelineFilterOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineFilterInput` via: -// -// LogsCustomPipelineProcessorPipelineFilterArgs{...} -type LogsCustomPipelineProcessorPipelineFilterInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorPipelineFilterOutput() LogsCustomPipelineProcessorPipelineFilterOutput - ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineFilterOutput +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -type LogsCustomPipelineProcessorPipelineFilterArgs struct { - // Filter criteria of the category. - Query pulumi.StringInput `pulumi:"query"` +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (LogsCustomPipelineProcessorPipelineFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i LogsCustomPipelineProcessorPipelineFilterArgs) ToLogsCustomPipelineProcessorPipelineFilterOutput() LogsCustomPipelineProcessorPipelineFilterOutput { - return i.ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineFilterArgs) ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineFilterOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineFilterArrayInput is an input type that accepts LogsCustomPipelineProcessorPipelineFilterArray and LogsCustomPipelineProcessorPipelineFilterArrayOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineFilterArrayInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// LogsCustomPipelineProcessorPipelineFilterArray{ LogsCustomPipelineProcessorPipelineFilterArgs{...} } -type LogsCustomPipelineProcessorPipelineFilterArrayInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineFilterArrayOutput() LogsCustomPipelineProcessorPipelineFilterArrayOutput - ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineFilterArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type LogsCustomPipelineProcessorPipelineFilterArray []LogsCustomPipelineProcessorPipelineFilterInput +type powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs -func (LogsCustomPipelineProcessorPipelineFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +func PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (i LogsCustomPipelineProcessorPipelineFilterArray) ToLogsCustomPipelineProcessorPipelineFilterArrayOutput() LogsCustomPipelineProcessorPipelineFilterArrayOutput { - return i.ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(context.Background()) +func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineFilterArray) ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineFilterArrayOutput) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type LogsCustomPipelineProcessorPipelineFilterOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorPipelineFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineFilterOutput) ToLogsCustomPipelineProcessorPipelineFilterOutput() LogsCustomPipelineProcessorPipelineFilterOutput { - return o +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineFilterOutput) ToLogsCustomPipelineProcessorPipelineFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -// Filter criteria of the category. -func (o LogsCustomPipelineProcessorPipelineFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineFilter) string { return v.Query }).(pulumi.StringOutput) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o } -type LogsCustomPipelineProcessorPipelineFilterArrayOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorPipelineFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineFilter)(nil)).Elem() +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineFilterArrayOutput) ToLogsCustomPipelineProcessorPipelineFilterArrayOutput() LogsCustomPipelineProcessorPipelineFilterArrayOutput { - return o +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineFilterArrayOutput) ToLogsCustomPipelineProcessorPipelineFilterArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineFilterArrayOutput { - return o +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -func (o LogsCustomPipelineProcessorPipelineFilterArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorPipelineFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorPipelineFilter { - return vs[0].([]LogsCustomPipelineProcessorPipelineFilter)[vs[1].(int)] - }).(LogsCustomPipelineProcessorPipelineFilterOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessor struct { - // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) - ArithmeticProcessor *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor `pulumi:"arithmeticProcessor"` - // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) - AttributeRemapper *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper `pulumi:"attributeRemapper"` - // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) - CategoryProcessor *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor `pulumi:"categoryProcessor"` - // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) - DateRemapper *LogsCustomPipelineProcessorPipelineProcessorDateRemapper `pulumi:"dateRemapper"` - // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) - GeoIpParser *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser `pulumi:"geoIpParser"` - // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) - GrokParser *LogsCustomPipelineProcessorPipelineProcessorGrokParser `pulumi:"grokParser"` - // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - LookupProcessor *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor `pulumi:"lookupProcessor"` - // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) - MessageRemapper *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper `pulumi:"messageRemapper"` - // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - ReferenceTableLookupProcessor *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor `pulumi:"referenceTableLookupProcessor"` - // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) - ServiceRemapper *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper `pulumi:"serviceRemapper"` - // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) - StatusRemapper *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper `pulumi:"statusRemapper"` - // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) - StringBuilderProcessor *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor `pulumi:"stringBuilderProcessor"` - // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) - TraceIdRemapper *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper `pulumi:"traceIdRemapper"` - // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) - UrlParser *LogsCustomPipelineProcessorPipelineProcessorUrlParser `pulumi:"urlParser"` - // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) - UserAgentParser *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser `pulumi:"userAgentParser"` +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -// LogsCustomPipelineProcessorPipelineProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorPipelineProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorOutput - ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorOutput -} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -type LogsCustomPipelineProcessorPipelineProcessorArgs struct { - // Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) - ArithmeticProcessor LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput `pulumi:"arithmeticProcessor"` - // Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) - AttributeRemapper LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput `pulumi:"attributeRemapper"` - // Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) - CategoryProcessor LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput `pulumi:"categoryProcessor"` - // Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) - DateRemapper LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput `pulumi:"dateRemapper"` - // Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) - GeoIpParser LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput `pulumi:"geoIpParser"` - // Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) - GrokParser LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput `pulumi:"grokParser"` - // Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - LookupProcessor LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput `pulumi:"lookupProcessor"` - // Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) - MessageRemapper LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput `pulumi:"messageRemapper"` - // Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) - ReferenceTableLookupProcessor LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput `pulumi:"referenceTableLookupProcessor"` - // Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) - ServiceRemapper LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput `pulumi:"serviceRemapper"` - // Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) - StatusRemapper LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput `pulumi:"statusRemapper"` - // String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) - StringBuilderProcessor LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput `pulumi:"stringBuilderProcessor"` - // Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) - TraceIdRemapper LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput `pulumi:"traceIdRemapper"` - // URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) - UrlParser LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput `pulumi:"urlParser"` - // User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) - UserAgentParser LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput `pulumi:"userAgentParser"` +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (LogsCustomPipelineProcessorPipelineProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o } -func (i LogsCustomPipelineProcessorPipelineProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o } -func (i LogsCustomPipelineProcessorPipelineProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorOutput) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery + return ret + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// LogsCustomPipelineProcessorPipelineProcessorArrayInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArray and LogsCustomPipelineProcessorPipelineProcessorArrayOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorArrayInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorArray{ LogsCustomPipelineProcessorPipelineProcessorArgs{...} } -type LogsCustomPipelineProcessorPipelineProcessorArrayInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorPipelineProcessorArrayOutput() LogsCustomPipelineProcessorPipelineProcessorArrayOutput - ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorArrayOutput +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorArray []LogsCustomPipelineProcessorPipelineProcessorInput - -func (LogsCustomPipelineProcessorPipelineProcessorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorArray) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutput() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(context.Background()) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorArray) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArrayOutput) +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute 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"` } -type LogsCustomPipelineProcessorPipelineProcessorOutput struct{ *pulumi.OutputState } +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput interface { + pulumi.Input -func (LogsCustomPipelineProcessorPipelineProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput } -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorOutput { - return o +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs 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 (o LogsCustomPipelineProcessorPipelineProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorOutput { - return o +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -// Arithmetic Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#arithmetic-processor) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ArithmeticProcessor() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor { - return v.ArithmeticProcessor - }).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -// Attribute Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#remapper) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) AttributeRemapper() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper { - return v.AttributeRemapper - }).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) } -// Category Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#category-processor) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) CategoryProcessor() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor { - return v.CategoryProcessor - }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) -} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput interface { + pulumi.Input -// Date Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-date-remapper) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) DateRemapper() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorDateRemapper { - return v.DateRemapper - }).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput } -// Date GeoIP Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#geoip-parser) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) GeoIpParser() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser { - return v.GeoIpParser - }).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) -} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput -// Grok Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#grok-parser) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) GrokParser() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorGrokParser { - return v.GrokParser - }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -// Lookup Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) LookupProcessor() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor { - return v.LookupProcessor - }).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -// Message Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-message-remapper) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) MessageRemapper() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper { - return v.MessageRemapper - }).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#lookup-processor) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ReferenceTableLookupProcessor() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor { - return v.ReferenceTableLookupProcessor - }).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) -} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -// Service Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#service-remapper) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) ServiceRemapper() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper { - return v.ServiceRemapper - }).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -// Status Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#log-status-remapper) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) StatusRemapper() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper { - return v.StatusRemapper - }).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return o } -// String Builder Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#string-builder-processor) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) StringBuilderProcessor() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor { - return v.StringBuilderProcessor - }).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return o } -// Trace ID Remapper Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#trace-remapper) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) TraceIdRemapper() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper { - return v.TraceIdRemapper - }).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// URL Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#url-parser) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) UrlParser() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorUrlParser { - return v.UrlParser - }).(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// User-Agent Parser Processor. More information can be found in the [official docs](https://docs.datadoghq.com/logs/processing/processors/?tab=ui#user-agent-parser) -func (o LogsCustomPipelineProcessorPipelineProcessorOutput) UserAgentParser() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessor) *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser { - return v.UserAgentParser - }).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutput() LogsCustomPipelineProcessorPipelineProcessorArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorPipelineProcessorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorPipelineProcessor { - return vs[0].([]LogsCustomPipelineProcessorPipelineProcessor)[vs[1].(int)] - }).(LogsCustomPipelineProcessorPipelineProcessorOutput) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) } -type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor struct { - // Arithmetic operation between one or more log attributes. - Expression string `pulumi:"expression"` - // Boolean value to enable your pipeline. - IsEnabled *bool `pulumi:"isEnabled"` - // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. - IsReplaceMissing *bool `pulumi:"isReplaceMissing"` - // Your pipeline name. - Name *string `pulumi:"name"` - // Name of the attribute that contains the result of the arithmetic operation. - Target string `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestStyle struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette *string `pulumi:"palette"` } -// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput` via: +// PowerpackWidgetDistributionDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs and PowerpackWidgetDistributionDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStyleInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput interface { +// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} +type PowerpackWidgetDistributionDefinitionRequestStyleInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput - ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput + ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput + ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput } -type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs struct { - // Arithmetic operation between one or more log attributes. - Expression pulumi.StringInput `pulumi:"expression"` - // Boolean value to enable your pipeline. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. - IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` - // Your pipeline name. - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the attribute that contains the result of the arithmetic operation. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetDistributionDefinitionRequestStyleArgs struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette pulumi.StringPtrInput `pulumi:"palette"` } -func (LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) +func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput).ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs, PowerpackWidgetDistributionDefinitionRequestStylePtr and PowerpackWidgetDistributionDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStylePtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{...} +// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestStylePtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput } -type logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs +type powerpackWidgetDistributionDefinitionRequestStylePtrType PowerpackWidgetDistributionDefinitionRequestStyleArgs -func LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestStylePtr(v *PowerpackWidgetDistributionDefinitionRequestStyleArgs) PowerpackWidgetDistributionDefinitionRequestStylePtrInput { + return (*powerpackWidgetDistributionDefinitionRequestStylePtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestStyleOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestStyle) *PowerpackWidgetDistributionDefinitionRequestStyle { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) -} - -// Arithmetic operation between one or more log attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) string { return v.Expression }).(pulumi.StringOutput) -} - -// Boolean value to enable your pipeline. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { - return v.IsReplaceMissing - }).(pulumi.BoolPtrOutput) -} - -// Your pipeline name. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) } -// Name of the attribute that contains the result of the arithmetic operation. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) string { return v.Target }).(pulumi.StringOutput) +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor { +func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestStyle) PowerpackWidgetDistributionDefinitionRequestStyle { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor + var ret PowerpackWidgetDistributionDefinitionRequestStyle return ret - }).(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput) -} - -// Arithmetic operation between one or more log attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Expression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { - if v == nil { - return nil - } - return &v.Expression - }).(pulumi.StringPtrOutput) -} - -// Boolean value to enable your pipeline. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *bool { - if v == nil { - return nil - } - return v.IsReplaceMissing - }).(pulumi.BoolPtrOutput) -} - -// Your pipeline name. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) } -// Name of the attribute that contains the result of the arithmetic operation. -func (o LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor) *string { +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestStyle) *string { if v == nil { return nil } - return &v.Target + return v.Palette }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor - Name *string `pulumi:"name"` - // Override the target element if already set. - OverrideOnConflict *bool `pulumi:"overrideOnConflict"` - // Remove or preserve the remapped source element. - PreserveSource *bool `pulumi:"preserveSource"` - // Defines where the sources are from (log `attribute` or `tag`). - SourceType string `pulumi:"sourceType"` - // List of source attributes or tags. - Sources []string `pulumi:"sources"` - // Final attribute or tag name to remap the sources. - Target string `pulumi:"target"` - // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. - TargetFormat *string `pulumi:"targetFormat"` - // Defines if the target is a log `attribute` or `tag`. - TargetType string `pulumi:"targetType"` +type PowerpackWidgetEventStreamDefinition struct { + // The size to use to display an event. Valid values are `s`, `l`. + EventSize *string `pulumi:"eventSize"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // The query to use in the widget. + Query string `pulumi:"query"` + // The execution method for multi-value filters, options: `and` or `or`. + TagsExecution *string `pulumi:"tagsExecution"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput` via: +// PowerpackWidgetEventStreamDefinitionInput is an input type that accepts PowerpackWidgetEventStreamDefinitionArgs and PowerpackWidgetEventStreamDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventStreamDefinitionInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput interface { +// PowerpackWidgetEventStreamDefinitionArgs{...} +type PowerpackWidgetEventStreamDefinitionInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput - ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput + ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput + ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionOutput } -type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Override the target element if already set. - OverrideOnConflict pulumi.BoolPtrInput `pulumi:"overrideOnConflict"` - // Remove or preserve the remapped source element. - PreserveSource pulumi.BoolPtrInput `pulumi:"preserveSource"` - // Defines where the sources are from (log `attribute` or `tag`). - SourceType pulumi.StringInput `pulumi:"sourceType"` - // List of source attributes or tags. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Final attribute or tag name to remap the sources. - Target pulumi.StringInput `pulumi:"target"` - // If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. - TargetFormat pulumi.StringPtrInput `pulumi:"targetFormat"` - // Defines if the target is a log `attribute` or `tag`. - TargetType pulumi.StringInput `pulumi:"targetType"` +type PowerpackWidgetEventStreamDefinitionArgs struct { + // The size to use to display an event. Valid values are `s`, `l`. + EventSize pulumi.StringPtrInput `pulumi:"eventSize"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // The query to use in the widget. + Query pulumi.StringInput `pulumi:"query"` + // The execution method for multi-value filters, options: `and` or `or`. + TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +func (PowerpackWidgetEventStreamDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { + return i.ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) +func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput).ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput` via: +// PowerpackWidgetEventStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetEventStreamDefinitionArgs, PowerpackWidgetEventStreamDefinitionPtr and PowerpackWidgetEventStreamDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventStreamDefinitionPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{...} +// PowerpackWidgetEventStreamDefinitionArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput interface { +type PowerpackWidgetEventStreamDefinitionPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput + ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput + ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs +type powerpackWidgetEventStreamDefinitionPtrType PowerpackWidgetEventStreamDefinitionArgs -func LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType)(v) +func PowerpackWidgetEventStreamDefinitionPtr(v *PowerpackWidgetEventStreamDefinitionArgs) PowerpackWidgetEventStreamDefinitionPtrInput { + return (*powerpackWidgetEventStreamDefinitionPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +func (*powerpackWidgetEventStreamDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) +func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetEventStreamDefinitionOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +func (PowerpackWidgetEventStreamDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { + return o.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper { +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetEventStreamDefinition) *PowerpackWidgetEventStreamDefinition { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetEventStreamDefinitionPtrOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// The size to use to display an event. Valid values are `s`, `l`. +func (o PowerpackWidgetEventStreamDefinitionOutput) EventSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.EventSize }).(pulumi.StringPtrOutput) } -// Override the target element if already set. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) OverrideOnConflict() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { - return v.OverrideOnConflict - }).(pulumi.BoolPtrOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetEventStreamDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Remove or preserve the remapped source element. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) PreserveSource() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { return v.PreserveSource }).(pulumi.BoolPtrOutput) +// The query to use in the widget. +func (o PowerpackWidgetEventStreamDefinitionOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) string { return v.Query }).(pulumi.StringOutput) } -// Defines where the sources are from (log `attribute` or `tag`). -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) SourceType() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) string { return v.SourceType }).(pulumi.StringOutput) +// The execution method for multi-value filters, options: `and` or `or`. +func (o PowerpackWidgetEventStreamDefinitionOutput) TagsExecution() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) } -// List of source attributes or tags. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The title of the widget. +func (o PowerpackWidgetEventStreamDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// Final attribute or tag name to remap the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) string { return v.Target }).(pulumi.StringOutput) -} - -// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) TargetFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { return v.TargetFormat }).(pulumi.StringPtrOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetEventStreamDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// Defines if the target is a log `attribute` or `tag`. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) TargetType() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) string { return v.TargetType }).(pulumi.StringOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetEventStreamDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetEventStreamDefinitionPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper)(nil)).Elem() +func (PowerpackWidgetEventStreamDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput { +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper { +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Elem() PowerpackWidgetEventStreamDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) PowerpackWidgetEventStreamDefinition { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper + var ret PowerpackWidgetEventStreamDefinition return ret - }).(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetEventStreamDefinitionOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { +// The size to use to display an event. Valid values are `s`, `l`. +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) EventSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { if v == nil { return nil } - return v.Name + return v.EventSize }).(pulumi.StringPtrOutput) } -// Override the target element if already set. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) OverrideOnConflict() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { - if v == nil { - return nil - } - return v.OverrideOnConflict - }).(pulumi.BoolPtrOutput) -} - -// Remove or preserve the remapped source element. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) PreserveSource() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *bool { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { if v == nil { return nil } - return v.PreserveSource - }).(pulumi.BoolPtrOutput) + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -// Defines where the sources are from (log `attribute` or `tag`). -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) SourceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { +// The query to use in the widget. +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { if v == nil { return nil } - return &v.SourceType + return &v.Query }).(pulumi.StringPtrOutput) } -// List of source attributes or tags. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) []string { +// The execution method for multi-value filters, options: `and` or `or`. +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) TagsExecution() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return v.TagsExecution + }).(pulumi.StringPtrOutput) } -// Final attribute or tag name to remap the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { +// The title of the widget. +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { if v == nil { return nil } - return &v.Target + return v.Title }).(pulumi.StringPtrOutput) } -// If the `targetType` of the remapper is `attribute`, try to cast the value to a new specific type. If the cast is not possible, the original type is kept. `string`, `integer`, or `double` are the possible types. If the `targetType` is `tag`, this parameter may not be specified. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) TargetFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { if v == nil { return nil } - return v.TargetFormat + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// Defines if the target is a log `attribute` or `tag`. -func (o LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput) TargetType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { if v == nil { return nil } - return &v.TargetType + return v.TitleSize }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor struct { - // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. - Categories []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory `pulumi:"categories"` - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the category - Name *string `pulumi:"name"` - // Name of the target attribute whose value is defined by the matching category. - Target string `pulumi:"target"` +type PowerpackWidgetEventTimelineDefinition struct { + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // The query to use in the widget. + Query string `pulumi:"query"` + // The execution method for multi-value filters, options: `and` or `or`. + TagsExecution *string `pulumi:"tagsExecution"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput` via: +// PowerpackWidgetEventTimelineDefinitionInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs and PowerpackWidgetEventTimelineDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput interface { +// PowerpackWidgetEventTimelineDefinitionArgs{...} +type PowerpackWidgetEventTimelineDefinitionInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput + ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput + ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(context.Context) PowerpackWidgetEventTimelineDefinitionOutput } -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs struct { - // List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. - Categories LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput `pulumi:"categories"` - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the category - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the target attribute whose value is defined by the matching category. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetEventTimelineDefinitionArgs struct { + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // The query to use in the widget. + Query pulumi.StringInput `pulumi:"query"` + // The execution method for multi-value filters, options: `and` or `or`. + TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +func (PowerpackWidgetEventTimelineDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventTimelineDefinition)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { + return i.ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { + return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput).ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput` via: +// PowerpackWidgetEventTimelineDefinitionPtrInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs, PowerpackWidgetEventTimelineDefinitionPtr and PowerpackWidgetEventTimelineDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{...} +// PowerpackWidgetEventTimelineDefinitionArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput interface { +type PowerpackWidgetEventTimelineDefinitionPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput + ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput + ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs +type powerpackWidgetEventTimelineDefinitionPtrType PowerpackWidgetEventTimelineDefinitionArgs -func LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType)(v) +func PowerpackWidgetEventTimelineDefinitionPtr(v *PowerpackWidgetEventTimelineDefinitionArgs) PowerpackWidgetEventTimelineDefinitionPtrInput { + return (*powerpackWidgetEventTimelineDefinitionPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +func (*powerpackWidgetEventTimelineDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { + return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) +func (i *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetEventTimelineDefinitionOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +func (PowerpackWidgetEventTimelineDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventTimelineDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { + return o.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor { +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetEventTimelineDefinition) *PowerpackWidgetEventTimelineDefinition { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) + }).(PowerpackWidgetEventTimelineDefinitionPtrOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetEventTimelineDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +} + +// The query to use in the widget. +func (o PowerpackWidgetEventTimelineDefinitionOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) string { return v.Query }).(pulumi.StringOutput) } -// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) Categories() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory { - return v.Categories - }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) +// The execution method for multi-value filters, options: `and` or `or`. +func (o PowerpackWidgetEventTimelineDefinitionOutput) TagsExecution() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The title of the widget. +func (o PowerpackWidgetEventTimelineDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// Name of the category -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetEventTimelineDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// Name of the target attribute whose value is defined by the matching category. -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) string { return v.Target }).(pulumi.StringOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetEventTimelineDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetEventTimelineDefinitionPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor)(nil)).Elem() +func (PowerpackWidgetEventTimelineDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput { +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor { +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) Elem() PowerpackWidgetEventTimelineDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) PowerpackWidgetEventTimelineDefinition { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor + var ret PowerpackWidgetEventTimelineDefinition return ret - }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput) + }).(PowerpackWidgetEventTimelineDefinitionOutput) } -// List of filters to match or exclude a log with their corresponding name to assign a custom value to the log. -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Categories() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { if v == nil { return nil } - return v.Categories - }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *bool { +// The query to use in the widget. +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return &v.Query + }).(pulumi.StringPtrOutput) } -// Name of the category -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *string { +// The execution method for multi-value filters, options: `and` or `or`. +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) TagsExecution() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { if v == nil { return nil } - return v.Name + return v.TagsExecution }).(pulumi.StringPtrOutput) } -// Name of the target attribute whose value is defined by the matching category. -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor) *string { +// The title of the widget. +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { if v == nil { return nil } - return &v.Target + return v.Title }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory struct { - Filter LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter `pulumi:"filter"` - Name string `pulumi:"name"` -} - -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput -} - -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs struct { - Filter LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput `pulumi:"filter"` - Name pulumi.StringInput `pulumi:"name"` -} - -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() -} - -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(context.Background()) -} - -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) -} - -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray{ LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs{...} } -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput -} - -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray []LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput - -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() -} - -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(context.Background()) -} - -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) -} - -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { - return o -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { - return o -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) Filter() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter { - return v.Filter - }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory) string { return v.Name }).(pulumi.StringOutput) -} - -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)(nil)).Elem() -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput { - return o -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput) Index(i pulumi.IntInput) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory { - return vs[0].([]LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory)[vs[1].(int)] - }).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput) -} - -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter struct { - // Filter criteria of the category. - Query string `pulumi:"query"` -} - -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs and LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput - ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput -} - -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs struct { - // Filter criteria of the category. - Query pulumi.StringInput `pulumi:"query"` -} - -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() -} - -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(context.Background()) -} - -func (i LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) -} - -type LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter)(nil)).Elem() -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput() LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { - return o -} - -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) ToLogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput { - return o +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -// Filter criteria of the category. -func (o LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter) string { - return v.Query - }).(pulumi.StringOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorDateRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +type PowerpackWidgetFreeTextDefinition struct { + // The color of the text in the widget. + Color *string `pulumi:"color"` + // The size of the text in the widget. + FontSize *string `pulumi:"fontSize"` + // The text to display in the widget. + Text string `pulumi:"text"` + // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. + TextAlign *string `pulumi:"textAlign"` } -// LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput` via: +// PowerpackWidgetFreeTextDefinitionInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs and PowerpackWidgetFreeTextDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput interface { +// PowerpackWidgetFreeTextDefinitionArgs{...} +type PowerpackWidgetFreeTextDefinitionInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput - ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput + ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput + ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionOutput } -type LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` +type PowerpackWidgetFreeTextDefinitionArgs struct { + // The color of the text in the widget. + Color pulumi.StringPtrInput `pulumi:"color"` + // The size of the text in the widget. + FontSize pulumi.StringPtrInput `pulumi:"fontSize"` + // The text to display in the widget. + Text pulumi.StringInput `pulumi:"text"` + // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. + TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` } -func (LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +func (PowerpackWidgetFreeTextDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { + return i.ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { + return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput).ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput` via: +// PowerpackWidgetFreeTextDefinitionPtrInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs, PowerpackWidgetFreeTextDefinitionPtr and PowerpackWidgetFreeTextDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{...} +// PowerpackWidgetFreeTextDefinitionArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput interface { +type PowerpackWidgetFreeTextDefinitionPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput + ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput + ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs +type powerpackWidgetFreeTextDefinitionPtrType PowerpackWidgetFreeTextDefinitionArgs -func LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType)(v) +func PowerpackWidgetFreeTextDefinitionPtr(v *PowerpackWidgetFreeTextDefinitionArgs) PowerpackWidgetFreeTextDefinitionPtrInput { + return (*powerpackWidgetFreeTextDefinitionPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +func (*powerpackWidgetFreeTextDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { + return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorDateRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) +func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetFreeTextDefinitionOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +func (PowerpackWidgetFreeTextDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { + return o.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *LogsCustomPipelineProcessorPipelineProcessorDateRemapper { +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetFreeTextDefinition) *PowerpackWidgetFreeTextDefinition { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) + }).(PowerpackWidgetFreeTextDefinitionPtrOutput) +} + +// The color of the text in the widget. +func (o PowerpackWidgetFreeTextDefinitionOutput) Color() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) *string { return v.Color }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The size of the text in the widget. +func (o PowerpackWidgetFreeTextDefinitionOutput) FontSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) *string { return v.FontSize }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// The text to display in the widget. +func (o PowerpackWidgetFreeTextDefinitionOutput) Text() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) string { return v.Text }).(pulumi.StringOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorDateRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetFreeTextDefinitionOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetFreeTextDefinitionPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorDateRemapper)(nil)).Elem() +func (PowerpackWidgetFreeTextDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput { +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) LogsCustomPipelineProcessorPipelineProcessorDateRemapper { +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Elem() PowerpackWidgetFreeTextDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) PowerpackWidgetFreeTextDefinition { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorDateRemapper + var ret PowerpackWidgetFreeTextDefinition return ret - }).(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput) + }).(PowerpackWidgetFreeTextDefinitionOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *bool { +// The color of the text in the widget. +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Color() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return v.Color + }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) *string { +// The size of the text in the widget. +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) FontSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { if v == nil { return nil } - return v.Name + return v.FontSize }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorDateRemapper) []string { +// The text to display in the widget. +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return &v.Text + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGeoIpParser struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target string `pulumi:"target"` +// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { + if v == nil { + return nil + } + return v.TextAlign + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetGeomapDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetGeomapDefinitionCustomLink `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). + Requests []PowerpackWidgetGeomapDefinitionRequest `pulumi:"requests"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style *PowerpackWidgetGeomapDefinitionStyle `pulumi:"style"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` + // The view of the world that the map should render. + View PowerpackWidgetGeomapDefinitionView `pulumi:"view"` } -// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs and LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput` via: +// PowerpackWidgetGeomapDefinitionInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs and PowerpackWidgetGeomapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput interface { +// PowerpackWidgetGeomapDefinitionArgs{...} +type PowerpackWidgetGeomapDefinitionInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput - ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput + ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput + ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionOutput } -type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetGeomapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). + Requests PowerpackWidgetGeomapDefinitionRequestArrayInput `pulumi:"requests"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style PowerpackWidgetGeomapDefinitionStylePtrInput `pulumi:"style"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` + // The view of the world that the map should render. + View PowerpackWidgetGeomapDefinitionViewInput `pulumi:"view"` } -func (LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { + return i.ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput).ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs, LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtr and LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput` via: +// PowerpackWidgetGeomapDefinitionPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs, PowerpackWidgetGeomapDefinitionPtr and PowerpackWidgetGeomapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{...} +// PowerpackWidgetGeomapDefinitionArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput interface { +type PowerpackWidgetGeomapDefinitionPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput + ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput + ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs +type powerpackWidgetGeomapDefinitionPtrType PowerpackWidgetGeomapDefinitionArgs -func LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType)(v) +func PowerpackWidgetGeomapDefinitionPtr(v *PowerpackWidgetGeomapDefinitionArgs) PowerpackWidgetGeomapDefinitionPtrInput { + return (*powerpackWidgetGeomapDefinitionPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) +func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser { +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinition { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) + }).(PowerpackWidgetGeomapDefinitionPtrOutput) +} + +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionOutput) CustomLinks() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetGeomapDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +} + +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). +func (o PowerpackWidgetGeomapDefinitionOutput) Requests() PowerpackWidgetGeomapDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionRequest { return v.Requests }).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) +} + +// The style of the widget graph. One nested block is allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionOutput) Style() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinitionStyle { return v.Style }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The title of the widget. +func (o PowerpackWidgetGeomapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *string { return v.Name }).(pulumi.StringPtrOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetGeomapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetGeomapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) string { return v.Target }).(pulumi.StringOutput) +// The view of the world that the map should render. +func (o PowerpackWidgetGeomapDefinitionOutput) View() PowerpackWidgetGeomapDefinitionViewOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) PowerpackWidgetGeomapDefinitionView { return v.View }).(PowerpackWidgetGeomapDefinitionViewOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGeoIpParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) LogsCustomPipelineProcessorPipelineProcessorGeoIpParser { +func (o PowerpackWidgetGeomapDefinitionPtrOutput) Elem() PowerpackWidgetGeomapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) PowerpackWidgetGeomapDefinition { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorGeoIpParser + var ret PowerpackWidgetGeomapDefinition return ret - }).(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput) + }).(PowerpackWidgetGeomapDefinitionOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *bool { +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionPtrOutput) CustomLinks() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionCustomLink { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *string { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetGeomapDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { if v == nil { return nil } - return v.Name + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) []string { +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). +func (o PowerpackWidgetGeomapDefinitionPtrOutput) Requests() PowerpackWidgetGeomapDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionRequest { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return v.Requests + }).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) +} + +// The style of the widget graph. One nested block is allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionPtrOutput) Style() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinitionStyle { + if v == nil { + return nil + } + return v.Style + }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGeoIpParser) *string { +// The title of the widget. +func (o PowerpackWidgetGeomapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { if v == nil { return nil } - return &v.Target + return v.Title }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGrokParser struct { - Grok LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok `pulumi:"grok"` - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor - Name *string `pulumi:"name"` - // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. - Samples []string `pulumi:"samples"` - // Name of the log attribute to parse. - Source string `pulumi:"source"` +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetGeomapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -// LogsCustomPipelineProcessorPipelineProcessorGrokParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs and LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorGrokParserInput interface { - pulumi.Input +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetGeomapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) +} - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput +// The view of the world that the map should render. +func (o PowerpackWidgetGeomapDefinitionPtrOutput) View() PowerpackWidgetGeomapDefinitionViewPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinitionView { + if v == nil { + return nil + } + return &v.View + }).(PowerpackWidgetGeomapDefinitionViewPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs struct { - Grok LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput `pulumi:"grok"` - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. - Samples pulumi.StringArrayInput `pulumi:"samples"` - // Name of the log attribute to parse. - Source pulumi.StringInput `pulumi:"source"` +type PowerpackWidgetGeomapDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -func (LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +// PowerpackWidgetGeomapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetGeomapDefinitionCustomLinkArgs and PowerpackWidgetGeomapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionCustomLinkInput` via: +// +// PowerpackWidgetGeomapDefinitionCustomLinkArgs{...} +type PowerpackWidgetGeomapDefinitionCustomLinkInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput + ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(context.Background()) +type PowerpackWidgetGeomapDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) +func (PowerpackWidgetGeomapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkOutput) } -// LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs, LogsCustomPipelineProcessorPipelineProcessorGrokParserPtr and LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionCustomLinkArray and PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionCustomLinkArrayInput` via: // -// nil -type LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput interface { +// PowerpackWidgetGeomapDefinitionCustomLinkArray{ PowerpackWidgetGeomapDefinitionCustomLinkArgs{...} } +type PowerpackWidgetGeomapDefinitionCustomLinkArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput + ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput } -type logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs - -func LogsCustomPipelineProcessorPipelineProcessorGrokParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionCustomLinkArray []PowerpackWidgetGeomapDefinitionCustomLinkInput -func (*logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) +func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorGrokParser) *LogsCustomPipelineProcessorPipelineProcessorGrokParser { - return &v - }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) -} - -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Grok() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { - return v.Grok - }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) *string { return v.Name }).(pulumi.StringPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Samples() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) []string { return v.Samples }).(pulumi.StringArrayOutput) +// The URL of the custom link. +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -// Name of the log attribute to parse. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParser) string { return v.Source }).(pulumi.StringOutput) +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) LogsCustomPipelineProcessorPipelineProcessorGrokParser { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorPipelineProcessorGrokParser - return ret - }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput) -} - -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Grok() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { - if v == nil { - return nil - } - return &v.Grok - }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Samples() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) []string { - if v == nil { - return nil - } - return v.Samples - }).(pulumi.StringArrayOutput) -} - -// Name of the log attribute to parse. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParser) *string { - if v == nil { - return nil - } - return &v.Source - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionCustomLink { + return vs[0].([]PowerpackWidgetGeomapDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionCustomLinkOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok struct { - // Match rules for your grok parser. - MatchRules string `pulumi:"matchRules"` - // Support rules for your grok parser. - SupportRules string `pulumi:"supportRules"` +type PowerpackWidgetGeomapDefinitionRequest struct { + Formulas []PowerpackWidgetGeomapDefinitionRequestFormula `pulumi:"formulas"` + // The query to use for this widget. + LogQuery *PowerpackWidgetGeomapDefinitionRequestLogQuery `pulumi:"logQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetGeomapDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetGeomapDefinitionRequestRumQuery `pulumi:"rumQuery"` } -// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs and LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput` via: +// PowerpackWidgetGeomapDefinitionRequestInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArgs and PowerpackWidgetGeomapDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput interface { +// PowerpackWidgetGeomapDefinitionRequestArgs{...} +type PowerpackWidgetGeomapDefinitionRequestInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput -} - -type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs struct { - // Match rules for your grok parser. - MatchRules pulumi.StringInput `pulumi:"matchRules"` - // Support rules for your grok parser. - SupportRules pulumi.StringInput `pulumi:"supportRules"` -} - -func (LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput + ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestOutput } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(context.Background()) +type PowerpackWidgetGeomapDefinitionRequestArgs struct { + Formulas PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The query to use for this widget. + LogQuery PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetGeomapDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) +func (PowerpackWidgetGeomapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput).ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestOutput) } -// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs, LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtr and LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArray and PowerpackWidgetGeomapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestArrayInput` via: // -// nil -type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestArray{ PowerpackWidgetGeomapDefinitionRequestArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput } -type logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs - -func LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtr(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestArray []PowerpackWidgetGeomapDefinitionRequestInput -func (*logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrType) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { +func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { +func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestOutput) Formulas() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetGeomapDefinitionRequestOutput) LogQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { - return &v - }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetGeomapDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) } -// Match rules for your grok parser. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) MatchRules() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) string { return v.MatchRules }).(pulumi.StringOutput) +func (o PowerpackWidgetGeomapDefinitionRequestOutput) Queries() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) } -// Support rules for your grok parser. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) SupportRules() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) string { return v.SupportRules }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetGeomapDefinitionRequestOutput) RumQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok - return ret - }).(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput) -} - -// Match rules for your grok parser. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) MatchRules() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) *string { - if v == nil { - return nil - } - return &v.MatchRules - }).(pulumi.StringPtrOutput) -} - -// Support rules for your grok parser. -func (o LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput) SupportRules() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok) *string { - if v == nil { - return nil - } - return &v.SupportRules - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequest { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestOutput) } -type LogsCustomPipelineProcessorPipelineProcessorLookupProcessor struct { - // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. - DefaultLookup *string `pulumi:"defaultLookup"` - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // List of entries of the lookup table using `key,value` format. - LookupTables []string `pulumi:"lookupTables"` - // Name of the processor - Name *string `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source string `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target string `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetGeomapDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetGeomapDefinitionRequestFormulaStyle `pulumi:"style"` } -// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaArgs and PowerpackWidgetGeomapDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput - ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput -} - -type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs struct { - // Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. - DefaultLookup pulumi.StringPtrInput `pulumi:"defaultLookup"` - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // List of entries of the lookup table using `key,value` format. - LookupTables pulumi.StringArrayInput `pulumi:"lookupTables"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source pulumi.StringInput `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target pulumi.StringInput `pulumi:"target"` -} - -func (LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput } -func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(context.Background()) +type PowerpackWidgetGeomapDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) +func (PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaOutput) } -// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaArray and PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput` via: // -// nil -type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaArray{ PowerpackWidgetGeomapDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput } -type logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs - -func LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestFormulaArray []PowerpackWidgetGeomapDefinitionRequestFormulaInput -func (*logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) } -type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor { - return &v - }).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) -} - -// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) DefaultLookup() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { return v.DefaultLookup }).(pulumi.StringPtrOutput) +// An expression alias. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -// List of entries of the lookup table using `key,value` format. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) LookupTables() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) []string { return v.LookupTables }).(pulumi.StringArrayOutput) +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) string { return v.Source }).(pulumi.StringOutput) +// The options for limiting results returned. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *PowerpackWidgetGeomapDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) string { return v.Target }).(pulumi.StringOutput) +// Styling options for widget formulas. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Style() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *PowerpackWidgetGeomapDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) LogsCustomPipelineProcessorPipelineProcessorLookupProcessor { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorPipelineProcessorLookupProcessor - return ret - }).(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestFormulaOutput) } -// Default lookup value to use if there is no entry in the lookup table for the value of the source attribute. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) DefaultLookup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { - if v == nil { - return nil - } - return v.DefaultLookup - }).(pulumi.StringPtrOutput) +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input -// List of entries of the lookup table using `key,value` format. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) LookupTables() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) []string { - if v == nil { - return nil - } - return v.LookupTables - }).(pulumi.StringArrayOutput) + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput } -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { - if v == nil { - return nil - } - return &v.Source - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorLookupProcessor) *string { - if v == nil { - return nil - } - return &v.Target - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -type LogsCustomPipelineProcessorPipelineProcessorMessageRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) } -// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput - ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput } -type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` -} +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput -func (LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (i LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx) +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{...} -// -// or: -// -// nil -type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { + return o } -type logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs - -func LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType)(v) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { + return o } -func (*logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() -} - -func (i *logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) -} - -func (i *logsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { - return o +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { - return o +// Setting this to True hides values. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(context.Background()) +// Displays an image as the background. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper { - return &v - }).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// A value for the comparator. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -type LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorMessageRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) LogsCustomPipelineProcessorPipelineProcessorMessageRemapper { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorPipelineProcessorMessageRemapper - return ret - }).(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorMessageRemapper) []string { - if v == nil { - return nil - } - return v.Sources - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) } -type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the Reference Table for the source attribute and their associated target attribute values. - LookupEnrichmentTable string `pulumi:"lookupEnrichmentTable"` - // Name of the processor - Name *string `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source string `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target string `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` } -// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs and PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput - ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput } -type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the Reference Table for the source attribute and their associated target attribute values. - LookupEnrichmentTable pulumi.StringInput `pulumi:"lookupEnrichmentTable"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source pulumi.StringInput `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs, PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr and PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{...} +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs +type powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs -func LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *PowerpackWidgetGeomapDefinitionRequestFormulaLimit { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *bool { - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// Name of the Reference Table for the source attribute and their associated target attribute values. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) LookupEnrichmentTable() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) string { - return v.LookupEnrichmentTable - }).(pulumi.StringOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { - return v.Name - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) } -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) string { - return v.Source - }).(pulumi.StringOutput) +// The number of results to return. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) string { - return v.Target - }).(pulumi.StringOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) PowerpackWidgetGeomapDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor + var ret PowerpackWidgetGeomapDefinitionRequestFormulaLimit return ret - }).(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// Name of the Reference Table for the source attribute and their associated target attribute values. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) LookupEnrichmentTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { - if v == nil { - return nil - } - return &v.LookupEnrichmentTable - }).(pulumi.StringPtrOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) } -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { +// The number of results to return. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *int { if v == nil { return nil } - return &v.Source - }).(pulumi.StringPtrOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *string { if v == nil { return nil } - return &v.Target + return v.Order }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorServiceRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +type PowerpackWidgetGeomapDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` } -// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs and PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput - ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput } -type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` +type PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` } -func (LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs, PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr and PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{...} +// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput } -type logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs +type powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs -func LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *PowerpackWidgetGeomapDefinitionRequestFormulaStyle { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// Index specifying which color to use within the palette. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorServiceRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) LogsCustomPipelineProcessorPipelineProcessorServiceRemapper { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) PowerpackWidgetGeomapDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorServiceRemapper + var ret PowerpackWidgetGeomapDefinitionRequestFormulaStyle return ret - }).(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) *string { +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *string { if v == nil { return nil } - return v.Name + return v.Palette }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorServiceRemapper) []string { +// Index specifying which color to use within the palette. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *int { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return v.PaletteIndex + }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorStatusRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +type PowerpackWidgetGeomapDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput - ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput } -type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` +type PowerpackWidgetGeomapDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{...} +// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs +type powerpackWidgetGeomapDefinitionRequestLogQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryArgs -func LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestLogQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQuery { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The search query to use. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStatusRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) LogsCustomPipelineProcessorPipelineProcessorStatusRemapper { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) PowerpackWidgetGeomapDefinitionRequestLogQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorStatusRemapper + var ret PowerpackWidgetGeomapDefinitionRequestLogQuery return ret - }).(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *bool { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy { if v == nil { return nil } - return v.Name + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStatusRemapper) []string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return v.MultiComputes + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) } -type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // If it replaces all missing attributes of template by an empty string. - IsReplaceMissing *bool `pulumi:"isReplaceMissing"` - // The name of the processor. - Name *string `pulumi:"name"` - // The name of the attribute that contains the result of the template. - Target string `pulumi:"target"` - // The formula with one or more attributes and raw text. - Template string `pulumi:"template"` +// The search query to use. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery 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"` } -// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs and LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput - ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput } -type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // If it replaces all missing attributes of template by an empty string. - IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` - // The name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // The name of the attribute that contains the result of the template. - Target pulumi.StringInput `pulumi:"target"` - // The formula with one or more attributes and raw text. - Template pulumi.StringInput `pulumi:"template"` +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs 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 (LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput).ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs, LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtr and LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{...} +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs +type powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs -func LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtr(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// If it replaces all missing attributes of template by an empty string. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { - return v.IsReplaceMissing - }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The name of the attribute that contains the result of the template. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) string { return v.Target }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The formula with one or more attributes and raw text. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) Template() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) string { return v.Template }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor + var ret PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery return ret - }).(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) } -// If it replaces all missing attributes of template by an empty string. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *bool { +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.IsReplaceMissing - }).(pulumi.BoolPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The name of the attribute that contains the result of the template. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *int { if v == nil { return nil } - return &v.Target - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// The formula with one or more attributes and raw text. -func (o LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput) Template() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor) *string { - if v == nil { - return nil - } - return &v.Template - }).(pulumi.StringPtrOutput) -} - -type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs and LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput - ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput -} - -type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` -} - -func (LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput } -func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(context.Background()) +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput).ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) } -// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs, LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtr and LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput` via: // -// nil -type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput } -type logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs - -func LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtr(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput -func (*logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) } -type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper { - return &v - }).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper - return ret - }).(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// Name of the processor. -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper) []string { - if v == nil { - return nil - } - return v.Sources - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) } -type LogsCustomPipelineProcessorPipelineProcessorUrlParser struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor - Name *string `pulumi:"name"` - // Normalize the ending slashes or not. - NormalizeEndingSlashes *bool `pulumi:"normalizeEndingSlashes"` - // List of source attributes. - Sources []string `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target string `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// LogsCustomPipelineProcessorPipelineProcessorUrlParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs and LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUrlParserInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorUrlParserInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput - ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput } -type LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Normalize the ending slashes or not. - NormalizeEndingSlashes pulumi.BoolPtrInput `pulumi:"normalizeEndingSlashes"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs, LogsCustomPipelineProcessorPipelineProcessorUrlParserPtr and LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{...} +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs +type powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs -func LogsCustomPipelineProcessorPipelineProcessorUrlParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *LogsCustomPipelineProcessorPipelineProcessorUrlParser { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *string { return v.Name }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// Normalize the ending slashes or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { return v.NormalizeEndingSlashes }).(pulumi.BoolPtrOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUrlParser) string { return v.Target }).(pulumi.StringOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUrlParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) LogsCustomPipelineProcessorPipelineProcessorUrlParser { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorPipelineProcessorUrlParser + var ret PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery return ret - }).(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *string { +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Name + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// Normalize the ending slashes or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *bool { - if v == nil { - return nil - } - return v.NormalizeEndingSlashes - }).(pulumi.BoolPtrOutput) -} - -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) []string { +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUrlParser) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Target + return &v.Order }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorUserAgentParser struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // If the source attribute is URL encoded or not. - IsEncoded *bool `pulumi:"isEncoded"` - // Name of the processor - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target string `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute 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"` } -// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs and LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput` via: // -// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{...} -type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput - ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput -} - -type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // If the source attribute is URL encoded or not. - IsEncoded pulumi.BoolPtrInput `pulumi:"isEncoded"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target pulumi.StringInput `pulumi:"target"` -} - -func (LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput } -func (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(context.Background()) +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs 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 (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput).ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) } -// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput is an input type that accepts LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs, LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtr and LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput` via: -// -// LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// nil -type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput - ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput } -type logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs - -func LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtr(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput { - return (*logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput -func (*logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i *logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { - return i.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) } -type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { - return o.ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser { - return &v - }).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// If the source attribute is URL encoded or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) IsEncoded() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { return v.IsEncoded }).(pulumi.BoolPtrOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *string { return v.Name }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) string { return v.Target }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorPipelineProcessorUserAgentParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Elem() LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) LogsCustomPipelineProcessorPipelineProcessorUserAgentParser { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorPipelineProcessorUserAgentParser - return ret - }).(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) -} - -// If the source attribute is URL encoded or not. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) IsEncoded() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *bool { - if v == nil { - return nil - } - return v.IsEncoded - }).(pulumi.BoolPtrOutput) -} - -// Name of the processor -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// List of source attributes. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) []string { - if v == nil { - return nil - } - return v.Sources - }).(pulumi.StringArrayOutput) -} - -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorPipelineProcessorUserAgentParser) *string { - if v == nil { - return nil - } - return &v.Target - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) } -type LogsCustomPipelineProcessorReferenceTableLookupProcessor struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the Reference Table for the source attribute and their associated target attribute values. - LookupEnrichmentTable string `pulumi:"lookupEnrichmentTable"` - // Name of the processor - Name *string `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source string `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target string `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` } -// LogsCustomPipelineProcessorReferenceTableLookupProcessorInput is an input type that accepts LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs and LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorReferenceTableLookupProcessorInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryInput` via: // -// LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{...} -type LogsCustomPipelineProcessorReferenceTableLookupProcessorInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput - ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput -} - -type LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the Reference Table for the source attribute and their associated target attribute values. - LookupEnrichmentTable pulumi.StringInput `pulumi:"lookupEnrichmentTable"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Name of the source attribute used to do the lookup. - Source pulumi.StringInput `pulumi:"source"` - // Name of the attribute that contains the result of the lookup. - Target pulumi.StringInput `pulumi:"target"` -} - -func (LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput } -func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { - return i.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(context.Background()) +type PowerpackWidgetGeomapDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` } -func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) +func (PowerpackWidgetGeomapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput).ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryOutput) } -// LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs, LogsCustomPipelineProcessorReferenceTableLookupProcessorPtr and LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput` via: -// -// LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryArray and PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryArrayInput` via: // -// nil -type LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryArray{ PowerpackWidgetGeomapDefinitionRequestQueryArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestQueryArrayInput interface { pulumi.Input - ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput - ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput } -type logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs - -func LogsCustomPipelineProcessorReferenceTableLookupProcessorPtr(v *LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput { - return (*logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestQueryArray []PowerpackWidgetGeomapDefinitionRequestQueryInput -func (*logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorReferenceTableLookupProcessorPtrType) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) } -type LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { return o } -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { return o } -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(context.Background()) +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorReferenceTableLookupProcessor) *LogsCustomPipelineProcessorReferenceTableLookupProcessor { - return &v - }).(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) } -// Name of the Reference Table for the source attribute and their associated target attribute values. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) LookupEnrichmentTable() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) string { - return v.LookupEnrichmentTable - }).(pulumi.StringOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) } -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) Source() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) string { return v.Source }).(pulumi.StringOutput) +// The process query using formulas and functions. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorReferenceTableLookupProcessor) string { return v.Target }).(pulumi.StringOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) } -type LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorReferenceTableLookupProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput() LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { return o } -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) ToLogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { return o } -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Elem() LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) LogsCustomPipelineProcessorReferenceTableLookupProcessor { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorReferenceTableLookupProcessor - return ret - }).(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestQueryOutput) } -// Name of the Reference Table for the source attribute and their associated target attribute values. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) LookupEnrichmentTable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { - if v == nil { - return nil - } - return &v.LookupEnrichmentTable - }).(pulumi.StringPtrOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` } -// Name of the processor -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput interface { + pulumi.Input -// Name of the source attribute used to do the lookup. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { - if v == nil { - return nil - } - return &v.Source - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput } -// Name of the attribute that contains the result of the lookup. -func (o LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorReferenceTableLookupProcessor) *string { - if v == nil { - return nil - } - return &v.Target - }).(pulumi.StringPtrOutput) -} - -type LogsCustomPipelineProcessorServiceRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` -} - -// LogsCustomPipelineProcessorServiceRemapperInput is an input type that accepts LogsCustomPipelineProcessorServiceRemapperArgs and LogsCustomPipelineProcessorServiceRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorServiceRemapperInput` via: -// -// LogsCustomPipelineProcessorServiceRemapperArgs{...} -type LogsCustomPipelineProcessorServiceRemapperInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorServiceRemapperOutput - ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorServiceRemapperOutput -} - -type LogsCustomPipelineProcessorServiceRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (LogsCustomPipelineProcessorServiceRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorServiceRemapperOutput { - return i.ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorServiceRemapperOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorServiceRemapperArgs) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorServiceRemapperOutput).ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorServiceRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorServiceRemapperArgs, LogsCustomPipelineProcessorServiceRemapperPtr and LogsCustomPipelineProcessorServiceRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorServiceRemapperPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// LogsCustomPipelineProcessorServiceRemapperArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorServiceRemapperPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput - ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type logsCustomPipelineProcessorServiceRemapperPtrType LogsCustomPipelineProcessorServiceRemapperArgs +type powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs -func LogsCustomPipelineProcessorServiceRemapperPtr(v *LogsCustomPipelineProcessorServiceRemapperArgs) LogsCustomPipelineProcessorServiceRemapperPtrInput { - return (*logsCustomPipelineProcessorServiceRemapperPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*logsCustomPipelineProcessorServiceRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorServiceRemapperPtrType) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorServiceRemapperPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type LogsCustomPipelineProcessorServiceRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorServiceRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperOutput() LogsCustomPipelineProcessorServiceRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorServiceRemapperOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorServiceRemapper) *LogsCustomPipelineProcessorServiceRemapper { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(LogsCustomPipelineProcessorServiceRemapperPtrOutput) -} - -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorServiceRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorServiceRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) -} - -// Name of the processor. -func (o LogsCustomPipelineProcessorServiceRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorServiceRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// List of source attributes. -func (o LogsCustomPipelineProcessorServiceRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorServiceRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type LogsCustomPipelineProcessorServiceRemapperPtrOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorServiceRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorServiceRemapper)(nil)).Elem() +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutput() LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return o +// APM environment. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) ToLogsCustomPipelineProcessorServiceRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorServiceRemapperPtrOutput { - return o +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) } -func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) Elem() LogsCustomPipelineProcessorServiceRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) LogsCustomPipelineProcessorServiceRemapper { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorServiceRemapper - return ret - }).(LogsCustomPipelineProcessorServiceRemapperOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) +// Name of operation on service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) *string { - if v == nil { - return nil - } - return v.Name +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorServiceRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorServiceRemapper) []string { - if v == nil { - return nil - } - return v.Sources - }).(pulumi.StringArrayOutput) -} - -type LogsCustomPipelineProcessorStatusRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` -} - -// LogsCustomPipelineProcessorStatusRemapperInput is an input type that accepts LogsCustomPipelineProcessorStatusRemapperArgs and LogsCustomPipelineProcessorStatusRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorStatusRemapperInput` via: -// -// LogsCustomPipelineProcessorStatusRemapperArgs{...} -type LogsCustomPipelineProcessorStatusRemapperInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorStatusRemapperOutput - ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorStatusRemapperOutput -} - -type LogsCustomPipelineProcessorStatusRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` -} - -func (LogsCustomPipelineProcessorStatusRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() -} - -func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorStatusRemapperOutput { - return i.ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(context.Background()) -} - -func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStatusRemapperOutput) -} - -func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) -} - -func (i LogsCustomPipelineProcessorStatusRemapperArgs) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStatusRemapperOutput).ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx) -} - -// LogsCustomPipelineProcessorStatusRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorStatusRemapperArgs, LogsCustomPipelineProcessorStatusRemapperPtr and LogsCustomPipelineProcessorStatusRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorStatusRemapperPtrInput` via: -// -// LogsCustomPipelineProcessorStatusRemapperArgs{...} -// -// or: -// -// nil -type LogsCustomPipelineProcessorStatusRemapperPtrInput interface { - pulumi.Input - - ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput - ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput -} - -type logsCustomPipelineProcessorStatusRemapperPtrType LogsCustomPipelineProcessorStatusRemapperArgs - -func LogsCustomPipelineProcessorStatusRemapperPtr(v *LogsCustomPipelineProcessorStatusRemapperArgs) LogsCustomPipelineProcessorStatusRemapperPtrInput { - return (*logsCustomPipelineProcessorStatusRemapperPtrType)(v) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (*logsCustomPipelineProcessorStatusRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (i *logsCustomPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (i *logsCustomPipelineProcessorStatusRemapperPtrType) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStatusRemapperPtrOutput) +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorStatusRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorStatusRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperOutput() LogsCustomPipelineProcessorStatusRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(context.Background()) -} - -func (o LogsCustomPipelineProcessorStatusRemapperOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorStatusRemapper) *LogsCustomPipelineProcessorStatusRemapper { - return &v - }).(LogsCustomPipelineProcessorStatusRemapperPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorStatusRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStatusRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorStatusRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStatusRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorStatusRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStatusRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *bool { + if v == nil { + return nil + } + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -type LogsCustomPipelineProcessorStatusRemapperPtrOutput struct{ *pulumi.OutputState } - -func (LogsCustomPipelineProcessorStatusRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorStatusRemapper)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutput() LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return o +// Name of operation on service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) ToLogsCustomPipelineProcessorStatusRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStatusRemapperPtrOutput { - return o +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) Elem() LogsCustomPipelineProcessorStatusRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) LogsCustomPipelineProcessorStatusRemapper { - if v != nil { - return *v +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil } - var ret LogsCustomPipelineProcessorStatusRemapper - return ret - }).(LogsCustomPipelineProcessorStatusRemapperOutput) + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) *bool { +// APM resource. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) *string { +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Name + return &v.Service }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorStatusRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStatusRemapper) []string { +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return &v.Stat + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorStringBuilderProcessor struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // If it replaces all missing attributes of template by an empty string. - IsReplaceMissing *bool `pulumi:"isReplaceMissing"` - // The name of the processor. - Name *string `pulumi:"name"` - // The name of the attribute that contains the result of the template. - Target string `pulumi:"target"` - // The formula with one or more attributes and raw text. - Template string `pulumi:"template"` +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` } -// LogsCustomPipelineProcessorStringBuilderProcessorInput is an input type that accepts LogsCustomPipelineProcessorStringBuilderProcessorArgs and LogsCustomPipelineProcessorStringBuilderProcessorOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorStringBuilderProcessorInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// LogsCustomPipelineProcessorStringBuilderProcessorArgs{...} -type LogsCustomPipelineProcessorStringBuilderProcessorInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorStringBuilderProcessorOutput - ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(context.Context) LogsCustomPipelineProcessorStringBuilderProcessorOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput } -type LogsCustomPipelineProcessorStringBuilderProcessorArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // If it replaces all missing attributes of template by an empty string. - IsReplaceMissing pulumi.BoolPtrInput `pulumi:"isReplaceMissing"` - // The name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // The name of the attribute that contains the result of the template. - Target pulumi.StringInput `pulumi:"target"` - // The formula with one or more attributes and raw text. - Template pulumi.StringInput `pulumi:"template"` +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (LogsCustomPipelineProcessorStringBuilderProcessorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorStringBuilderProcessorOutput { - return i.ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStringBuilderProcessorOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorStringBuilderProcessorArgs) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStringBuilderProcessorOutput).ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorStringBuilderProcessorPtrInput is an input type that accepts LogsCustomPipelineProcessorStringBuilderProcessorArgs, LogsCustomPipelineProcessorStringBuilderProcessorPtr and LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorStringBuilderProcessorPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// LogsCustomPipelineProcessorStringBuilderProcessorArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorStringBuilderProcessorPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput - ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type logsCustomPipelineProcessorStringBuilderProcessorPtrType LogsCustomPipelineProcessorStringBuilderProcessorArgs +type powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs -func LogsCustomPipelineProcessorStringBuilderProcessorPtr(v *LogsCustomPipelineProcessorStringBuilderProcessorArgs) LogsCustomPipelineProcessorStringBuilderProcessorPtrInput { - return (*logsCustomPipelineProcessorStringBuilderProcessorPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*logsCustomPipelineProcessorStringBuilderProcessorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { - return i.ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorStringBuilderProcessorPtrType) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type LogsCustomPipelineProcessorStringBuilderProcessorOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorStringBuilderProcessorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorOutput() LogsCustomPipelineProcessorStringBuilderProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { - return o.ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorStringBuilderProcessor) *LogsCustomPipelineProcessorStringBuilderProcessor { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// APM environment. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} + +// Array of fields to group results by. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// Name of operation on service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -// If it replaces all missing attributes of template by an empty string. -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) *bool { return v.IsReplaceMissing }).(pulumi.BoolPtrOutput) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The name of the processor. -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) *string { return v.Name }).(pulumi.StringPtrOutput) +// APM resource. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -// The name of the attribute that contains the result of the template. -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) string { return v.Target }).(pulumi.StringOutput) +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -// The formula with one or more attributes and raw text. -func (o LogsCustomPipelineProcessorStringBuilderProcessorOutput) Template() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorStringBuilderProcessor) string { return v.Template }).(pulumi.StringOutput) +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorStringBuilderProcessor)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutput() LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) ToLogsCustomPipelineProcessorStringBuilderProcessorPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Elem() LogsCustomPipelineProcessorStringBuilderProcessorOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) LogsCustomPipelineProcessorStringBuilderProcessor { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorStringBuilderProcessor + var ret PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery return ret - }).(LogsCustomPipelineProcessorStringBuilderProcessorOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *bool { +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -// If it replaces all missing attributes of template by an empty string. -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) IsReplaceMissing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *bool { +// Array of fields to group results by. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) []string { if v == nil { return nil } - return v.IsReplaceMissing - }).(pulumi.BoolPtrOutput) + return v.GroupBies + }).(pulumi.StringArrayOutput) } -// The name of the processor. -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *string { +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Name + return &v.Name }).(pulumi.StringPtrOutput) } -// The name of the attribute that contains the result of the template. -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *string { +// Name of operation on service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Target + return v.OperationName }).(pulumi.StringPtrOutput) } -// The formula with one or more attributes and raw text. -func (o LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput) Template() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorStringBuilderProcessor) *string { +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Template + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorTraceIdRemapper struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor. - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// LogsCustomPipelineProcessorTraceIdRemapperInput is an input type that accepts LogsCustomPipelineProcessorTraceIdRemapperArgs and LogsCustomPipelineProcessorTraceIdRemapperOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorTraceIdRemapperInput` via: -// -// LogsCustomPipelineProcessorTraceIdRemapperArgs{...} -type LogsCustomPipelineProcessorTraceIdRemapperInput interface { - pulumi.Input +// APM resource. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.ResourceName + }).(pulumi.StringPtrOutput) +} - ToLogsCustomPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorTraceIdRemapperOutput - ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(context.Context) LogsCustomPipelineProcessorTraceIdRemapperOutput +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorTraceIdRemapperArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor. - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) } -func (LogsCustomPipelineProcessorTraceIdRemapperArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorTraceIdRemapperOutput { - return i.ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(context.Background()) +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput } -func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorTraceIdRemapperOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorTraceIdRemapperArgs) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorTraceIdRemapperOutput).ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -// LogsCustomPipelineProcessorTraceIdRemapperPtrInput is an input type that accepts LogsCustomPipelineProcessorTraceIdRemapperArgs, LogsCustomPipelineProcessorTraceIdRemapperPtr and LogsCustomPipelineProcessorTraceIdRemapperPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorTraceIdRemapperPtrInput` via: +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// LogsCustomPipelineProcessorTraceIdRemapperArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorTraceIdRemapperPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput - ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput } -type logsCustomPipelineProcessorTraceIdRemapperPtrType LogsCustomPipelineProcessorTraceIdRemapperArgs +type powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs -func LogsCustomPipelineProcessorTraceIdRemapperPtr(v *LogsCustomPipelineProcessorTraceIdRemapperArgs) LogsCustomPipelineProcessorTraceIdRemapperPtrInput { - return (*logsCustomPipelineProcessorTraceIdRemapperPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*logsCustomPipelineProcessorTraceIdRemapperPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { - return i.ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorTraceIdRemapperPtrType) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) } -type LogsCustomPipelineProcessorTraceIdRemapperOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorTraceIdRemapperOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperOutput() LogsCustomPipelineProcessorTraceIdRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { - return o.ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorTraceIdRemapper) *LogsCustomPipelineProcessorTraceIdRemapper { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { return &v - }).(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorTraceIdRemapper) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorTraceIdRemapper) *string { return v.Name }).(pulumi.StringPtrOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorTraceIdRemapperOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorTraceIdRemapper) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The cloud cost query definition. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type LogsCustomPipelineProcessorTraceIdRemapperPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorTraceIdRemapper)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutput() LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) ToLogsCustomPipelineProcessorTraceIdRemapperPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorTraceIdRemapperPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) Elem() LogsCustomPipelineProcessorTraceIdRemapperOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) LogsCustomPipelineProcessorTraceIdRemapper { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorTraceIdRemapper + var ret PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery return ret - }).(LogsCustomPipelineProcessorTraceIdRemapperOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) *bool { +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Name of the processor. -func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) *string { +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Name + return &v.DataSource }).(pulumi.StringPtrOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorTraceIdRemapperPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorTraceIdRemapper) []string { +// The name of the query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Sources - }).(pulumi.StringArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorUrlParser struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // Name of the processor - Name *string `pulumi:"name"` - // Normalize the ending slashes or not. - NormalizeEndingSlashes *bool `pulumi:"normalizeEndingSlashes"` - // List of source attributes. - Sources []string `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target string `pulumi:"target"` +// The cloud cost query definition. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// LogsCustomPipelineProcessorUrlParserInput is an input type that accepts LogsCustomPipelineProcessorUrlParserArgs and LogsCustomPipelineProcessorUrlParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorUrlParserInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput` via: // -// LogsCustomPipelineProcessorUrlParserArgs{...} -type LogsCustomPipelineProcessorUrlParserInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToLogsCustomPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorUrlParserOutput - ToLogsCustomPipelineProcessorUrlParserOutputWithContext(context.Context) LogsCustomPipelineProcessorUrlParserOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput } -type LogsCustomPipelineProcessorUrlParserArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // Normalize the ending slashes or not. - NormalizeEndingSlashes pulumi.BoolPtrInput `pulumi:"normalizeEndingSlashes"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (LogsCustomPipelineProcessorUrlParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorUrlParserOutput { - return i.ToLogsCustomPipelineProcessorUrlParserOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUrlParserOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) } -func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { - return i.ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorUrlParserArgs) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUrlParserOutput).ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// LogsCustomPipelineProcessorUrlParserPtrInput is an input type that accepts LogsCustomPipelineProcessorUrlParserArgs, LogsCustomPipelineProcessorUrlParserPtr and LogsCustomPipelineProcessorUrlParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorUrlParserPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput` via: // -// LogsCustomPipelineProcessorUrlParserArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type LogsCustomPipelineProcessorUrlParserPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput - ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput } -type logsCustomPipelineProcessorUrlParserPtrType LogsCustomPipelineProcessorUrlParserArgs +type powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs -func LogsCustomPipelineProcessorUrlParserPtr(v *LogsCustomPipelineProcessorUrlParserArgs) LogsCustomPipelineProcessorUrlParserPtrInput { - return (*logsCustomPipelineProcessorUrlParserPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType)(v) } -func (*logsCustomPipelineProcessorUrlParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *logsCustomPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { - return i.ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *logsCustomPipelineProcessorUrlParserPtrType) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUrlParserPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) } -type LogsCustomPipelineProcessorUrlParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorUrlParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserOutput() LogsCustomPipelineProcessorUrlParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { return o } -func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { return o } -func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { - return o.ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o LogsCustomPipelineProcessorUrlParserOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorUrlParser) *LogsCustomPipelineProcessorUrlParser { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { return &v - }).(LogsCustomPipelineProcessorUrlParserPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) +} + +// The compute options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorUrlParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +// Group by options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorUrlParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) *string { return v.Name }).(pulumi.StringPtrOutput) +// An array of index names to query in the stream. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -// Normalize the ending slashes or not. -func (o LogsCustomPipelineProcessorUrlParserOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) *bool { return v.NormalizeEndingSlashes }).(pulumi.BoolPtrOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorUrlParserOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +// The search options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorUrlParserOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUrlParser) string { return v.Target }).(pulumi.StringOutput) +// Storage location (private beta). +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorUrlParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorUrlParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorUrlParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutput() LogsCustomPipelineProcessorUrlParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) ToLogsCustomPipelineProcessorUrlParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUrlParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Elem() LogsCustomPipelineProcessorUrlParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) LogsCustomPipelineProcessorUrlParser { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret LogsCustomPipelineProcessorUrlParser + var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuery return ret - }).(LogsCustomPipelineProcessorUrlParserOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *bool { +// The compute options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) + return v.Computes + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *string { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.Name + return &v.DataSource }).(pulumi.StringPtrOutput) } -// Normalize the ending slashes or not. -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) NormalizeEndingSlashes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *bool { +// Group by options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } - return v.NormalizeEndingSlashes - }).(pulumi.BoolPtrOutput) + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// List of source attributes. -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) []string { +// An array of index names to query in the stream. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []string { if v == nil { return nil } - return v.Sources + return v.Indexes }).(pulumi.StringArrayOutput) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorUrlParserPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUrlParser) *string { +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The search options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { + if v == nil { + return nil + } + return v.Search + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return &v.Target + return v.Storage }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorUserAgentParser struct { - // If the processor is enabled or not. - IsEnabled *bool `pulumi:"isEnabled"` - // If the source attribute is URL encoded or not. - IsEncoded *bool `pulumi:"isEncoded"` - // Name of the processor - Name *string `pulumi:"name"` - // List of source attributes. - Sources []string `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target string `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// LogsCustomPipelineProcessorUserAgentParserInput is an input type that accepts LogsCustomPipelineProcessorUserAgentParserArgs and LogsCustomPipelineProcessorUserAgentParserOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorUserAgentParserInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput` via: // -// LogsCustomPipelineProcessorUserAgentParserArgs{...} -type LogsCustomPipelineProcessorUserAgentParserInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToLogsCustomPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorUserAgentParserOutput - ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(context.Context) LogsCustomPipelineProcessorUserAgentParserOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput } -type LogsCustomPipelineProcessorUserAgentParserArgs struct { - // If the processor is enabled or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // If the source attribute is URL encoded or not. - IsEncoded pulumi.BoolPtrInput `pulumi:"isEncoded"` - // Name of the processor - Name pulumi.StringPtrInput `pulumi:"name"` - // List of source attributes. - Sources pulumi.StringArrayInput `pulumi:"sources"` - // Name of the parent attribute that contains all the extracted details from the sources. - Target pulumi.StringInput `pulumi:"target"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` +} + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (LogsCustomPipelineProcessorUserAgentParserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) } -func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorUserAgentParserOutput { - return i.ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(context.Background()) +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput } -func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUserAgentParserOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { - return i.ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i LogsCustomPipelineProcessorUserAgentParserArgs) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUserAgentParserOutput).ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) } -// LogsCustomPipelineProcessorUserAgentParserPtrInput is an input type that accepts LogsCustomPipelineProcessorUserAgentParserArgs, LogsCustomPipelineProcessorUserAgentParserPtr and LogsCustomPipelineProcessorUserAgentParserPtrOutput values. -// You can construct a concrete instance of `LogsCustomPipelineProcessorUserAgentParserPtrInput` via: -// -// LogsCustomPipelineProcessorUserAgentParserArgs{...} -// -// or: -// -// nil -type LogsCustomPipelineProcessorUserAgentParserPtrInput interface { - pulumi.Input +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } - ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput - ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -type logsCustomPipelineProcessorUserAgentParserPtrType LogsCustomPipelineProcessorUserAgentParserArgs +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return o +} -func LogsCustomPipelineProcessorUserAgentParserPtr(v *LogsCustomPipelineProcessorUserAgentParserArgs) LogsCustomPipelineProcessorUserAgentParserPtrInput { - return (*logsCustomPipelineProcessorUserAgentParserPtrType)(v) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return o } -func (*logsCustomPipelineProcessorUserAgentParserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (i *logsCustomPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { - return i.ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +// A time interval in milliseconds. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (i *logsCustomPipelineProcessorUserAgentParserPtrType) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsCustomPipelineProcessorUserAgentParserPtrOutput) +// The measurable attribute to compute. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type LogsCustomPipelineProcessorUserAgentParserOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorUserAgentParserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserOutput() LogsCustomPipelineProcessorUserAgentParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { - return o.ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) } -func (o LogsCustomPipelineProcessorUserAgentParserOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsCustomPipelineProcessorUserAgentParser) *LogsCustomPipelineProcessorUserAgentParser { - return &v - }).(LogsCustomPipelineProcessorUserAgentParserPtrOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. + Limit *int `pulumi:"limit"` + // The options for sorting group by results. + Sort *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` +} + +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput +} + +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The options for sorting group by results. + Sort PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` +} + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorUserAgentParserOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) } -// If the source attribute is URL encoded or not. -func (o LogsCustomPipelineProcessorUserAgentParserOutput) IsEncoded() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) *bool { return v.IsEncoded }).(pulumi.BoolPtrOutput) +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput } -// Name of the processor -func (o LogsCustomPipelineProcessorUserAgentParserOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) *string { return v.Name }).(pulumi.StringPtrOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// List of source attributes. -func (o LogsCustomPipelineProcessorUserAgentParserOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) []string { return v.Sources }).(pulumi.StringArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorUserAgentParserOutput) Target() pulumi.StringOutput { - return o.ApplyT(func(v LogsCustomPipelineProcessorUserAgentParser) string { return v.Target }).(pulumi.StringOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type LogsCustomPipelineProcessorUserAgentParserPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (LogsCustomPipelineProcessorUserAgentParserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsCustomPipelineProcessorUserAgentParser)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutput() LogsCustomPipelineProcessorUserAgentParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) ToLogsCustomPipelineProcessorUserAgentParserPtrOutputWithContext(ctx context.Context) LogsCustomPipelineProcessorUserAgentParserPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Elem() LogsCustomPipelineProcessorUserAgentParserOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) LogsCustomPipelineProcessorUserAgentParser { - if v != nil { - return *v - } - var ret LogsCustomPipelineProcessorUserAgentParser - return ret - }).(LogsCustomPipelineProcessorUserAgentParserOutput) +// The event facet. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// If the processor is enabled or not. -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *bool { - if v == nil { - return nil - } - return v.IsEnabled - }).(pulumi.BoolPtrOutput) +// The number of groups to return. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// If the source attribute is URL encoded or not. -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) IsEncoded() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *bool { - if v == nil { - return nil - } - return v.IsEncoded - }).(pulumi.BoolPtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// Name of the processor -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// List of source attributes. -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Sources() pulumi.StringArrayOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) []string { - if v == nil { - return nil - } - return v.Sources - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// Name of the parent attribute that contains all the extracted details from the sources. -func (o LogsCustomPipelineProcessorUserAgentParserPtrOutput) Target() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsCustomPipelineProcessorUserAgentParser) *string { - if v == nil { - return nil - } - return &v.Target - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) } -type LogsIndexDailyLimitReset struct { - // String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). - ResetTime string `pulumi:"resetTime"` - // String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). - ResetUtcOffset string `pulumi:"resetUtcOffset"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// LogsIndexDailyLimitResetInput is an input type that accepts LogsIndexDailyLimitResetArgs and LogsIndexDailyLimitResetOutput values. -// You can construct a concrete instance of `LogsIndexDailyLimitResetInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// LogsIndexDailyLimitResetArgs{...} -type LogsIndexDailyLimitResetInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToLogsIndexDailyLimitResetOutput() LogsIndexDailyLimitResetOutput - ToLogsIndexDailyLimitResetOutputWithContext(context.Context) LogsIndexDailyLimitResetOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput } -type LogsIndexDailyLimitResetArgs struct { - // String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). - ResetTime pulumi.StringInput `pulumi:"resetTime"` - // String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). - ResetUtcOffset pulumi.StringInput `pulumi:"resetUtcOffset"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (LogsIndexDailyLimitResetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexDailyLimitReset)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetOutput() LogsIndexDailyLimitResetOutput { - return i.ToLogsIndexDailyLimitResetOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexDailyLimitResetOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { - return i.ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i LogsIndexDailyLimitResetArgs) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexDailyLimitResetOutput).ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// LogsIndexDailyLimitResetPtrInput is an input type that accepts LogsIndexDailyLimitResetArgs, LogsIndexDailyLimitResetPtr and LogsIndexDailyLimitResetPtrOutput values. -// You can construct a concrete instance of `LogsIndexDailyLimitResetPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// LogsIndexDailyLimitResetArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type LogsIndexDailyLimitResetPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput - ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Context) LogsIndexDailyLimitResetPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type logsIndexDailyLimitResetPtrType LogsIndexDailyLimitResetArgs +type powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs -func LogsIndexDailyLimitResetPtr(v *LogsIndexDailyLimitResetArgs) LogsIndexDailyLimitResetPtrInput { - return (*logsIndexDailyLimitResetPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*logsIndexDailyLimitResetPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsIndexDailyLimitReset)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *logsIndexDailyLimitResetPtrType) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { - return i.ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *logsIndexDailyLimitResetPtrType) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexDailyLimitResetPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type LogsIndexDailyLimitResetOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (LogsIndexDailyLimitResetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexDailyLimitReset)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetOutput() LogsIndexDailyLimitResetOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { - return o.ToLogsIndexDailyLimitResetPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o LogsIndexDailyLimitResetOutput) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsIndexDailyLimitReset) *LogsIndexDailyLimitReset { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(LogsIndexDailyLimitResetPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +} + +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } -// String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). -func (o LogsIndexDailyLimitResetOutput) ResetTime() pulumi.StringOutput { - return o.ApplyT(func(v LogsIndexDailyLimitReset) string { return v.ResetTime }).(pulumi.StringOutput) +// The metric used for sorting group by results. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). -func (o LogsIndexDailyLimitResetOutput) ResetUtcOffset() pulumi.StringOutput { - return o.ApplyT(func(v LogsIndexDailyLimitReset) string { return v.ResetUtcOffset }).(pulumi.StringOutput) +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type LogsIndexDailyLimitResetPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (LogsIndexDailyLimitResetPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsIndexDailyLimitReset)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o LogsIndexDailyLimitResetPtrOutput) ToLogsIndexDailyLimitResetPtrOutput() LogsIndexDailyLimitResetPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o LogsIndexDailyLimitResetPtrOutput) ToLogsIndexDailyLimitResetPtrOutputWithContext(ctx context.Context) LogsIndexDailyLimitResetPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o LogsIndexDailyLimitResetPtrOutput) Elem() LogsIndexDailyLimitResetOutput { - return o.ApplyT(func(v *LogsIndexDailyLimitReset) LogsIndexDailyLimitReset { - if v != nil { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { + if v != nil { return *v } - var ret LogsIndexDailyLimitReset + var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort return ret - }).(LogsIndexDailyLimitResetOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) } -// String in `HH:00` format representing the time of day the daily limit should be reset. The hours must be between 00 and 23 (inclusive). -func (o LogsIndexDailyLimitResetPtrOutput) ResetTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsIndexDailyLimitReset) *string { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return &v.ResetTime + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// String in `(-|+)HH:00` format representing the UTC offset to apply to the given reset time. The hours must be between -12 and +14 (inclusive). -func (o LogsIndexDailyLimitResetPtrOutput) ResetUtcOffset() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsIndexDailyLimitReset) *string { +// The metric used for sorting group by results. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return &v.ResetUtcOffset + return v.Metric }).(pulumi.StringPtrOutput) } -type LogsIndexExclusionFilter struct { - Filters []LogsIndexExclusionFilterFilter `pulumi:"filters"` - // A boolean stating if the exclusion is active or not. - IsEnabled *bool `pulumi:"isEnabled"` - // The name of the exclusion filter. - Name *string `pulumi:"name"` +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) } -// LogsIndexExclusionFilterInput is an input type that accepts LogsIndexExclusionFilterArgs and LogsIndexExclusionFilterOutput values. -// You can construct a concrete instance of `LogsIndexExclusionFilterInput` via: +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` +} + +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput` via: // -// LogsIndexExclusionFilterArgs{...} -type LogsIndexExclusionFilterInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToLogsIndexExclusionFilterOutput() LogsIndexExclusionFilterOutput - ToLogsIndexExclusionFilterOutputWithContext(context.Context) LogsIndexExclusionFilterOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput } -type LogsIndexExclusionFilterArgs struct { - Filters LogsIndexExclusionFilterFilterArrayInput `pulumi:"filters"` - // A boolean stating if the exclusion is active or not. - IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` - // The name of the exclusion filter. - Name pulumi.StringPtrInput `pulumi:"name"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (LogsIndexExclusionFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexExclusionFilter)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i LogsIndexExclusionFilterArgs) ToLogsIndexExclusionFilterOutput() LogsIndexExclusionFilterOutput { - return i.ToLogsIndexExclusionFilterOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i LogsIndexExclusionFilterArgs) ToLogsIndexExclusionFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) } -// LogsIndexExclusionFilterArrayInput is an input type that accepts LogsIndexExclusionFilterArray and LogsIndexExclusionFilterArrayOutput values. -// You can construct a concrete instance of `LogsIndexExclusionFilterArrayInput` via: +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +} + +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// LogsIndexExclusionFilterArray{ LogsIndexExclusionFilterArgs{...} } -type LogsIndexExclusionFilterArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToLogsIndexExclusionFilterArrayOutput() LogsIndexExclusionFilterArrayOutput - ToLogsIndexExclusionFilterArrayOutputWithContext(context.Context) LogsIndexExclusionFilterArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput } -type LogsIndexExclusionFilterArray []LogsIndexExclusionFilterInput +type powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs -func (LogsIndexExclusionFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsIndexExclusionFilter)(nil)).Elem() +func PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (i LogsIndexExclusionFilterArray) ToLogsIndexExclusionFilterArrayOutput() LogsIndexExclusionFilterArrayOutput { - return i.ToLogsIndexExclusionFilterArrayOutputWithContext(context.Background()) +func (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i LogsIndexExclusionFilterArray) ToLogsIndexExclusionFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterArrayOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type LogsIndexExclusionFilterOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) +} -func (LogsIndexExclusionFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexExclusionFilter)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o LogsIndexExclusionFilterOutput) ToLogsIndexExclusionFilterOutput() LogsIndexExclusionFilterOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o LogsIndexExclusionFilterOutput) ToLogsIndexExclusionFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o LogsIndexExclusionFilterOutput) Filters() LogsIndexExclusionFilterFilterArrayOutput { - return o.ApplyT(func(v LogsIndexExclusionFilter) []LogsIndexExclusionFilterFilter { return v.Filters }).(LogsIndexExclusionFilterFilterArrayOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -// A boolean stating if the exclusion is active or not. -func (o LogsIndexExclusionFilterOutput) IsEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsIndexExclusionFilter) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The name of the exclusion filter. -func (o LogsIndexExclusionFilterOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsIndexExclusionFilter) *string { return v.Name }).(pulumi.StringPtrOutput) +// The events search string. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type LogsIndexExclusionFilterArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (LogsIndexExclusionFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsIndexExclusionFilter)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o LogsIndexExclusionFilterArrayOutput) ToLogsIndexExclusionFilterArrayOutput() LogsIndexExclusionFilterArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o LogsIndexExclusionFilterArrayOutput) ToLogsIndexExclusionFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o LogsIndexExclusionFilterArrayOutput) Index(i pulumi.IntInput) LogsIndexExclusionFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsIndexExclusionFilter { - return vs[0].([]LogsIndexExclusionFilter)[vs[1].(int)] - }).(LogsIndexExclusionFilterOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch + return ret + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) } -type LogsIndexExclusionFilterFilter struct { - // Only logs matching the filter criteria and the query of the parent index will be considered for this exclusion filter. - Query *string `pulumi:"query"` - // The fraction of logs excluded by the exclusion filter, when active. - SampleRate *float64 `pulumi:"sampleRate"` +// The events search string. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -// LogsIndexExclusionFilterFilterInput is an input type that accepts LogsIndexExclusionFilterFilterArgs and LogsIndexExclusionFilterFilterOutput values. -// You can construct a concrete instance of `LogsIndexExclusionFilterFilterInput` via: +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` +} + +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput` via: // -// LogsIndexExclusionFilterFilterArgs{...} -type LogsIndexExclusionFilterFilterInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToLogsIndexExclusionFilterFilterOutput() LogsIndexExclusionFilterFilterOutput - ToLogsIndexExclusionFilterFilterOutputWithContext(context.Context) LogsIndexExclusionFilterFilterOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput } -type LogsIndexExclusionFilterFilterArgs struct { - // Only logs matching the filter criteria and the query of the parent index will be considered for this exclusion filter. - Query pulumi.StringPtrInput `pulumi:"query"` - // The fraction of logs excluded by the exclusion filter, when active. - SampleRate pulumi.Float64PtrInput `pulumi:"sampleRate"` +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (LogsIndexExclusionFilterFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexExclusionFilterFilter)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i LogsIndexExclusionFilterFilterArgs) ToLogsIndexExclusionFilterFilterOutput() LogsIndexExclusionFilterFilterOutput { - return i.ToLogsIndexExclusionFilterFilterOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i LogsIndexExclusionFilterFilterArgs) ToLogsIndexExclusionFilterFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterFilterOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) } -// LogsIndexExclusionFilterFilterArrayInput is an input type that accepts LogsIndexExclusionFilterFilterArray and LogsIndexExclusionFilterFilterArrayOutput values. -// You can construct a concrete instance of `LogsIndexExclusionFilterFilterArrayInput` via: +func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput` via: // -// LogsIndexExclusionFilterFilterArray{ LogsIndexExclusionFilterFilterArgs{...} } -type LogsIndexExclusionFilterFilterArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToLogsIndexExclusionFilterFilterArrayOutput() LogsIndexExclusionFilterFilterArrayOutput - ToLogsIndexExclusionFilterFilterArrayOutputWithContext(context.Context) LogsIndexExclusionFilterFilterArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput } -type LogsIndexExclusionFilterFilterArray []LogsIndexExclusionFilterFilterInput +type powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs -func (LogsIndexExclusionFilterFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsIndexExclusionFilterFilter)(nil)).Elem() +func PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType)(v) } -func (i LogsIndexExclusionFilterFilterArray) ToLogsIndexExclusionFilterFilterArrayOutput() LogsIndexExclusionFilterFilterArrayOutput { - return i.ToLogsIndexExclusionFilterFilterArrayOutputWithContext(context.Background()) +func (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i LogsIndexExclusionFilterFilterArray) ToLogsIndexExclusionFilterFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexExclusionFilterFilterArrayOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -type LogsIndexExclusionFilterFilterOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) +} -func (LogsIndexExclusionFilterFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexExclusionFilterFilter)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o LogsIndexExclusionFilterFilterOutput) ToLogsIndexExclusionFilterFilterOutput() LogsIndexExclusionFilterFilterOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { return o } -func (o LogsIndexExclusionFilterFilterOutput) ToLogsIndexExclusionFilterFilterOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { return o } -// Only logs matching the filter criteria and the query of the parent index will be considered for this exclusion filter. -func (o LogsIndexExclusionFilterFilterOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsIndexExclusionFilterFilter) *string { return v.Query }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -// The fraction of logs excluded by the exclusion filter, when active. -func (o LogsIndexExclusionFilterFilterOutput) SampleRate() pulumi.Float64PtrOutput { - return o.ApplyT(func(v LogsIndexExclusionFilterFilter) *float64 { return v.SampleRate }).(pulumi.Float64PtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) } -type LogsIndexExclusionFilterFilterArrayOutput struct{ *pulumi.OutputState } +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} -func (LogsIndexExclusionFilterFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsIndexExclusionFilterFilter)(nil)).Elem() +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -func (o LogsIndexExclusionFilterFilterArrayOutput) ToLogsIndexExclusionFilterFilterArrayOutput() LogsIndexExclusionFilterFilterArrayOutput { - return o +// The name of the query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } -func (o LogsIndexExclusionFilterFilterArrayOutput) ToLogsIndexExclusionFilterFilterArrayOutputWithContext(ctx context.Context) LogsIndexExclusionFilterFilterArrayOutput { - return o +// The metrics query definition. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -func (o LogsIndexExclusionFilterFilterArrayOutput) Index(i pulumi.IntInput) LogsIndexExclusionFilterFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsIndexExclusionFilterFilter { - return vs[0].([]LogsIndexExclusionFilterFilter)[vs[1].(int)] - }).(LogsIndexExclusionFilterFilterOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -type LogsIndexFilter struct { - // Logs filter criteria. Only logs matching this filter criteria are considered for this index. - Query string `pulumi:"query"` +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o } -// LogsIndexFilterInput is an input type that accepts LogsIndexFilterArgs and LogsIndexFilterOutput values. -// You can construct a concrete instance of `LogsIndexFilterInput` via: -// -// LogsIndexFilterArgs{...} -type LogsIndexFilterInput interface { - pulumi.Input +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o +} - ToLogsIndexFilterOutput() LogsIndexFilterOutput - ToLogsIndexFilterOutputWithContext(context.Context) LogsIndexFilterOutput +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) } -type LogsIndexFilterArgs struct { - // Logs filter criteria. Only logs matching this filter criteria are considered for this index. - Query pulumi.StringInput `pulumi:"query"` +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -func (LogsIndexFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexFilter)(nil)).Elem() +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.DataSource + }).(pulumi.StringPtrOutput) } -func (i LogsIndexFilterArgs) ToLogsIndexFilterOutput() LogsIndexFilterOutput { - return i.ToLogsIndexFilterOutputWithContext(context.Background()) +// The name of the query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (i LogsIndexFilterArgs) ToLogsIndexFilterOutputWithContext(ctx context.Context) LogsIndexFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexFilterOutput) +// The metrics query definition. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -// LogsIndexFilterArrayInput is an input type that accepts LogsIndexFilterArray and LogsIndexFilterArrayOutput values. -// You can construct a concrete instance of `LogsIndexFilterArrayInput` via: +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit *int `pulumi:"limit"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` +} + +// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput` via: // -// LogsIndexFilterArray{ LogsIndexFilterArgs{...} } -type LogsIndexFilterArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToLogsIndexFilterArrayOutput() LogsIndexFilterArrayOutput - ToLogsIndexFilterArrayOutputWithContext(context.Context) LogsIndexFilterArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput } -type LogsIndexFilterArray []LogsIndexFilterInput +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +} -func (LogsIndexFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsIndexFilter)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i LogsIndexFilterArray) ToLogsIndexFilterArrayOutput() LogsIndexFilterArrayOutput { - return i.ToLogsIndexFilterArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i LogsIndexFilterArray) ToLogsIndexFilterArrayOutputWithContext(ctx context.Context) LogsIndexFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsIndexFilterArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) } -type LogsIndexFilterOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} -func (LogsIndexFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsIndexFilter)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -func (o LogsIndexFilterOutput) ToLogsIndexFilterOutput() LogsIndexFilterOutput { - return o +// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput } -func (o LogsIndexFilterOutput) ToLogsIndexFilterOutputWithContext(ctx context.Context) LogsIndexFilterOutput { - return o +type powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs + +func PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType)(v) } -// Logs filter criteria. Only logs matching this filter criteria are considered for this index. -func (o LogsIndexFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v LogsIndexFilter) string { return v.Query }).(pulumi.StringOutput) +func (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -type LogsIndexFilterArrayOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} -func (LogsIndexFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsIndexFilter)(nil)).Elem() +func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) } -func (o LogsIndexFilterArrayOutput) ToLogsIndexFilterArrayOutput() LogsIndexFilterArrayOutput { +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { return o } -func (o LogsIndexFilterArrayOutput) ToLogsIndexFilterArrayOutputWithContext(ctx context.Context) LogsIndexFilterArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { return o } -func (o LogsIndexFilterArrayOutput) Index(i pulumi.IntInput) LogsIndexFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsIndexFilter { - return vs[0].([]LogsIndexFilter)[vs[1].(int)] - }).(LogsIndexFilterOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -type LogsMetricCompute struct { - // The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. - AggregationType string `pulumi:"aggregationType"` - // Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. - IncludePercentiles *bool `pulumi:"includePercentiles"` - // The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. - Path *string `pulumi:"path"` +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) } -// LogsMetricComputeInput is an input type that accepts LogsMetricComputeArgs and LogsMetricComputeOutput values. -// You can construct a concrete instance of `LogsMetricComputeInput` via: -// -// LogsMetricComputeArgs{...} -type LogsMetricComputeInput interface { - pulumi.Input - - ToLogsMetricComputeOutput() LogsMetricComputeOutput - ToLogsMetricComputeOutputWithContext(context.Context) LogsMetricComputeOutput -} - -type LogsMetricComputeArgs struct { - // The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. - AggregationType pulumi.StringInput `pulumi:"aggregationType"` - // Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. - IncludePercentiles pulumi.BoolPtrInput `pulumi:"includePercentiles"` - // The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. - Path pulumi.StringPtrInput `pulumi:"path"` -} - -func (LogsMetricComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsMetricCompute)(nil)).Elem() -} - -func (i LogsMetricComputeArgs) ToLogsMetricComputeOutput() LogsMetricComputeOutput { - return i.ToLogsMetricComputeOutputWithContext(context.Background()) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -func (i LogsMetricComputeArgs) ToLogsMetricComputeOutputWithContext(ctx context.Context) LogsMetricComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricComputeOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (i LogsMetricComputeArgs) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { - return i.ToLogsMetricComputePtrOutputWithContext(context.Background()) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -func (i LogsMetricComputeArgs) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricComputeOutput).ToLogsMetricComputePtrOutputWithContext(ctx) +// The number of hits to return. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// LogsMetricComputePtrInput is an input type that accepts LogsMetricComputeArgs, LogsMetricComputePtr and LogsMetricComputePtrOutput values. -// You can construct a concrete instance of `LogsMetricComputePtrInput` via: -// -// LogsMetricComputeArgs{...} -// -// or: -// -// nil -type LogsMetricComputePtrInput interface { - pulumi.Input - - ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput - ToLogsMetricComputePtrOutputWithContext(context.Context) LogsMetricComputePtrOutput +// The process metric name. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -type logsMetricComputePtrType LogsMetricComputeArgs - -func LogsMetricComputePtr(v *LogsMetricComputeArgs) LogsMetricComputePtrInput { - return (*logsMetricComputePtrType)(v) +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) } -func (*logsMetricComputePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsMetricCompute)(nil)).Elem() +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) } -func (i *logsMetricComputePtrType) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { - return i.ToLogsMetricComputePtrOutputWithContext(context.Background()) +// An array of tags to filter by. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) } -func (i *logsMetricComputePtrType) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricComputePtrOutput) +// The text to use as a filter. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) } -type LogsMetricComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (LogsMetricComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsMetricCompute)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o LogsMetricComputeOutput) ToLogsMetricComputeOutput() LogsMetricComputeOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o LogsMetricComputeOutput) ToLogsMetricComputeOutputWithContext(ctx context.Context) LogsMetricComputeOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o LogsMetricComputeOutput) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { - return o.ToLogsMetricComputePtrOutputWithContext(context.Background()) -} - -func (o LogsMetricComputeOutput) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsMetricCompute) *LogsMetricCompute { - return &v - }).(LogsMetricComputePtrOutput) -} - -// The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. -func (o LogsMetricComputeOutput) AggregationType() pulumi.StringOutput { - return o.ApplyT(func(v LogsMetricCompute) string { return v.AggregationType }).(pulumi.StringOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) } -// Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. -func (o LogsMetricComputeOutput) IncludePercentiles() pulumi.BoolPtrOutput { - return o.ApplyT(func(v LogsMetricCompute) *bool { return v.IncludePercentiles }).(pulumi.BoolPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. -func (o LogsMetricComputeOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogsMetricCompute) *string { return v.Path }).(pulumi.StringPtrOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -type LogsMetricComputePtrOutput struct{ *pulumi.OutputState } - -func (LogsMetricComputePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsMetricCompute)(nil)).Elem() +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -func (o LogsMetricComputePtrOutput) ToLogsMetricComputePtrOutput() LogsMetricComputePtrOutput { - return o +// The number of hits to return. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) } -func (o LogsMetricComputePtrOutput) ToLogsMetricComputePtrOutputWithContext(ctx context.Context) LogsMetricComputePtrOutput { - return o +// The process metric name. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) } -func (o LogsMetricComputePtrOutput) Elem() LogsMetricComputeOutput { - return o.ApplyT(func(v *LogsMetricCompute) LogsMetricCompute { - if v != nil { - return *v +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil } - var ret LogsMetricCompute - return ret - }).(LogsMetricComputeOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The type of aggregation to use. This field can't be updated after creation. Valid values are `count`, `distribution`. -func (o LogsMetricComputePtrOutput) AggregationType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsMetricCompute) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return &v.AggregationType + return v.Sort }).(pulumi.StringPtrOutput) } -// Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have an `aggregationType` of distribution. -func (o LogsMetricComputePtrOutput) IncludePercentiles() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LogsMetricCompute) *bool { +// An array of tags to filter by. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) []string { if v == nil { return nil } - return v.IncludePercentiles - }).(pulumi.BoolPtrOutput) + return v.TagFilters + }).(pulumi.StringArrayOutput) } -// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution"). This field can't be updated after creation. -func (o LogsMetricComputePtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsMetricCompute) *string { +// The text to use as a filter. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Path + return v.TextFilter }).(pulumi.StringPtrOutput) } -type LogsMetricFilter struct { - // The search query - following the log search syntax. - Query string `pulumi:"query"` +type PowerpackWidgetGeomapDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// LogsMetricFilterInput is an input type that accepts LogsMetricFilterArgs and LogsMetricFilterOutput values. -// You can construct a concrete instance of `LogsMetricFilterInput` via: +// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput` via: // -// LogsMetricFilterArgs{...} -type LogsMetricFilterInput interface { +// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToLogsMetricFilterOutput() LogsMetricFilterOutput - ToLogsMetricFilterOutputWithContext(context.Context) LogsMetricFilterOutput + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput } -type LogsMetricFilterArgs struct { - // The search query - following the log search syntax. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (LogsMetricFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsMetricFilter)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i LogsMetricFilterArgs) ToLogsMetricFilterOutput() LogsMetricFilterOutput { - return i.ToLogsMetricFilterOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i LogsMetricFilterArgs) ToLogsMetricFilterOutputWithContext(ctx context.Context) LogsMetricFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricFilterOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) } -func (i LogsMetricFilterArgs) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { - return i.ToLogsMetricFilterPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i LogsMetricFilterArgs) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricFilterOutput).ToLogsMetricFilterPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// LogsMetricFilterPtrInput is an input type that accepts LogsMetricFilterArgs, LogsMetricFilterPtr and LogsMetricFilterPtrOutput values. -// You can construct a concrete instance of `LogsMetricFilterPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs, PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtr and PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput` via: // -// LogsMetricFilterArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs{...} // // or: // // nil -type LogsMetricFilterPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput - ToLogsMetricFilterPtrOutputWithContext(context.Context) LogsMetricFilterPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput } -type logsMetricFilterPtrType LogsMetricFilterArgs +type powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs -func LogsMetricFilterPtr(v *LogsMetricFilterArgs) LogsMetricFilterPtrInput { - return (*logsMetricFilterPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType)(v) } -func (*logsMetricFilterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogsMetricFilter)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i *logsMetricFilterPtrType) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { - return i.ToLogsMetricFilterPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *logsMetricFilterPtrType) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricFilterPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) } -type LogsMetricFilterOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (LogsMetricFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsMetricFilter)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o LogsMetricFilterOutput) ToLogsMetricFilterOutput() LogsMetricFilterOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { return o } -func (o LogsMetricFilterOutput) ToLogsMetricFilterOutputWithContext(ctx context.Context) LogsMetricFilterOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { return o } -func (o LogsMetricFilterOutput) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { - return o.ToLogsMetricFilterPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o LogsMetricFilterOutput) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogsMetricFilter) *LogsMetricFilter { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { return &v - }).(LogsMetricFilterPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) } -// The search query - following the log search syntax. -func (o LogsMetricFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v LogsMetricFilter) string { return v.Query }).(pulumi.StringOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -type LogsMetricFilterPtrOutput struct{ *pulumi.OutputState } +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +} -func (LogsMetricFilterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogsMetricFilter)(nil)).Elem() +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) } -func (o LogsMetricFilterPtrOutput) ToLogsMetricFilterPtrOutput() LogsMetricFilterPtrOutput { +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o LogsMetricFilterPtrOutput) ToLogsMetricFilterPtrOutputWithContext(ctx context.Context) LogsMetricFilterPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o LogsMetricFilterPtrOutput) Elem() LogsMetricFilterOutput { - return o.ApplyT(func(v *LogsMetricFilter) LogsMetricFilter { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { if v != nil { return *v } - var ret LogsMetricFilter + var ret PowerpackWidgetGeomapDefinitionRequestQuerySloQuery return ret - }).(LogsMetricFilterOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) } -// The search query - following the log search syntax. -func (o LogsMetricFilterPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogsMetricFilter) *string { +// Additional filters applied to the SLO query. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return &v.Query + return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -type LogsMetricGroupBy struct { - // The path to the value the log-based metric will be aggregated over. - Path string `pulumi:"path"` - // Name of the tag that gets created. - TagName string `pulumi:"tagName"` +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// LogsMetricGroupByInput is an input type that accepts LogsMetricGroupByArgs and LogsMetricGroupByOutput values. -// You can construct a concrete instance of `LogsMetricGroupByInput` via: -// -// LogsMetricGroupByArgs{...} -type LogsMetricGroupByInput interface { - pulumi.Input +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) +} - ToLogsMetricGroupByOutput() LogsMetricGroupByOutput - ToLogsMetricGroupByOutputWithContext(context.Context) LogsMetricGroupByOutput +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) } -type LogsMetricGroupByArgs struct { - // The path to the value the log-based metric will be aggregated over. - Path pulumi.StringInput `pulumi:"path"` - // Name of the tag that gets created. - TagName pulumi.StringInput `pulumi:"tagName"` +// The name of query for use in formulas. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (LogsMetricGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogsMetricGroupBy)(nil)).Elem() +// ID of an SLO to query. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) } -func (i LogsMetricGroupByArgs) ToLogsMetricGroupByOutput() LogsMetricGroupByOutput { - return i.ToLogsMetricGroupByOutputWithContext(context.Background()) +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) } -func (i LogsMetricGroupByArgs) ToLogsMetricGroupByOutputWithContext(ctx context.Context) LogsMetricGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricGroupByOutput) +type PowerpackWidgetGeomapDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// LogsMetricGroupByArrayInput is an input type that accepts LogsMetricGroupByArray and LogsMetricGroupByArrayOutput values. -// You can construct a concrete instance of `LogsMetricGroupByArrayInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryInput` via: // -// LogsMetricGroupByArray{ LogsMetricGroupByArgs{...} } -type LogsMetricGroupByArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryInput interface { pulumi.Input - ToLogsMetricGroupByArrayOutput() LogsMetricGroupByArrayOutput - ToLogsMetricGroupByArrayOutputWithContext(context.Context) LogsMetricGroupByArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput } -type LogsMetricGroupByArray []LogsMetricGroupByInput - -func (LogsMetricGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsMetricGroupBy)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (i LogsMetricGroupByArray) ToLogsMetricGroupByArrayOutput() LogsMetricGroupByArrayOutput { - return i.ToLogsMetricGroupByArrayOutputWithContext(context.Background()) +func (PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() } -func (i LogsMetricGroupByArray) ToLogsMetricGroupByArrayOutputWithContext(ctx context.Context) LogsMetricGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogsMetricGroupByArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Background()) } -type LogsMetricGroupByOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) +} -func (LogsMetricGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogsMetricGroupBy)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o LogsMetricGroupByOutput) ToLogsMetricGroupByOutput() LogsMetricGroupByOutput { - return o -} - -func (o LogsMetricGroupByOutput) ToLogsMetricGroupByOutputWithContext(ctx context.Context) LogsMetricGroupByOutput { - return o +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// The path to the value the log-based metric will be aggregated over. -func (o LogsMetricGroupByOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v LogsMetricGroupBy) string { return v.Path }).(pulumi.StringOutput) -} +// PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput interface { + pulumi.Input -// Name of the tag that gets created. -func (o LogsMetricGroupByOutput) TagName() pulumi.StringOutput { - return o.ApplyT(func(v LogsMetricGroupBy) string { return v.TagName }).(pulumi.StringOutput) + ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput } -type LogsMetricGroupByArrayOutput struct{ *pulumi.OutputState } - -func (LogsMetricGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]LogsMetricGroupBy)(nil)).Elem() -} +type powerpackWidgetGeomapDefinitionRequestRumQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryArgs -func (o LogsMetricGroupByArrayOutput) ToLogsMetricGroupByArrayOutput() LogsMetricGroupByArrayOutput { - return o +func PowerpackWidgetGeomapDefinitionRequestRumQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType)(v) } -func (o LogsMetricGroupByArrayOutput) ToLogsMetricGroupByArrayOutputWithContext(ctx context.Context) LogsMetricGroupByArrayOutput { - return o +func (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() } -func (o LogsMetricGroupByArrayOutput) Index(i pulumi.IntInput) LogsMetricGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogsMetricGroupBy { - return vs[0].([]LogsMetricGroupBy)[vs[1].(int)] - }).(LogsMetricGroupByOutput) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -type MetricTagConfigurationAggregation struct { - // A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`. - Space string `pulumi:"space"` - // A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`. - Time string `pulumi:"time"` +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) } -// MetricTagConfigurationAggregationInput is an input type that accepts MetricTagConfigurationAggregationArgs and MetricTagConfigurationAggregationOutput values. -// You can construct a concrete instance of `MetricTagConfigurationAggregationInput` via: -// -// MetricTagConfigurationAggregationArgs{...} -type MetricTagConfigurationAggregationInput interface { - pulumi.Input +type PowerpackWidgetGeomapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } - ToMetricTagConfigurationAggregationOutput() MetricTagConfigurationAggregationOutput - ToMetricTagConfigurationAggregationOutputWithContext(context.Context) MetricTagConfigurationAggregationOutput +func (PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() } -type MetricTagConfigurationAggregationArgs struct { - // A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`. - Space pulumi.StringInput `pulumi:"space"` - // A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`. - Time pulumi.StringInput `pulumi:"time"` +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return o } -func (MetricTagConfigurationAggregationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MetricTagConfigurationAggregation)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return o } -func (i MetricTagConfigurationAggregationArgs) ToMetricTagConfigurationAggregationOutput() MetricTagConfigurationAggregationOutput { - return i.ToMetricTagConfigurationAggregationOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i MetricTagConfigurationAggregationArgs) ToMetricTagConfigurationAggregationOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetricTagConfigurationAggregationOutput) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQuery { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) } -// MetricTagConfigurationAggregationArrayInput is an input type that accepts MetricTagConfigurationAggregationArray and MetricTagConfigurationAggregationArrayOutput values. -// You can construct a concrete instance of `MetricTagConfigurationAggregationArrayInput` via: -// -// MetricTagConfigurationAggregationArray{ MetricTagConfigurationAggregationArgs{...} } -type MetricTagConfigurationAggregationArrayInput interface { - pulumi.Input - - ToMetricTagConfigurationAggregationArrayOutput() MetricTagConfigurationAggregationArrayOutput - ToMetricTagConfigurationAggregationArrayOutputWithContext(context.Context) MetricTagConfigurationAggregationArrayOutput +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) } -type MetricTagConfigurationAggregationArray []MetricTagConfigurationAggregationInput +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) +} -func (MetricTagConfigurationAggregationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MetricTagConfigurationAggregation)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } -func (i MetricTagConfigurationAggregationArray) ToMetricTagConfigurationAggregationArrayOutput() MetricTagConfigurationAggregationArrayOutput { - return i.ToMetricTagConfigurationAggregationArrayOutputWithContext(context.Background()) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) } -func (i MetricTagConfigurationAggregationArray) ToMetricTagConfigurationAggregationArrayOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MetricTagConfigurationAggregationArrayOutput) +// The search query to use. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type MetricTagConfigurationAggregationOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (MetricTagConfigurationAggregationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MetricTagConfigurationAggregation)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() } -func (o MetricTagConfigurationAggregationOutput) ToMetricTagConfigurationAggregationOutput() MetricTagConfigurationAggregationOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { return o } -func (o MetricTagConfigurationAggregationOutput) ToMetricTagConfigurationAggregationOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { return o } -// A space aggregation for use in query. Valid values are `avg`, `max`, `min`, `sum`. -func (o MetricTagConfigurationAggregationOutput) Space() pulumi.StringOutput { - return o.ApplyT(func(v MetricTagConfigurationAggregation) string { return v.Space }).(pulumi.StringOutput) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) PowerpackWidgetGeomapDefinitionRequestRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestRumQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) } -// A time aggregation for use in query. Valid values are `avg`, `count`, `max`, `min`, `sum`. -func (o MetricTagConfigurationAggregationOutput) Time() pulumi.StringOutput { - return o.ApplyT(func(v MetricTagConfigurationAggregation) string { return v.Time }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) } -type MetricTagConfigurationAggregationArrayOutput struct{ *pulumi.OutputState } - -func (MetricTagConfigurationAggregationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MetricTagConfigurationAggregation)(nil)).Elem() +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) } -func (o MetricTagConfigurationAggregationArrayOutput) ToMetricTagConfigurationAggregationArrayOutput() MetricTagConfigurationAggregationArrayOutput { - return o +// The name of the index to query. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -func (o MetricTagConfigurationAggregationArrayOutput) ToMetricTagConfigurationAggregationArrayOutputWithContext(ctx context.Context) MetricTagConfigurationAggregationArrayOutput { - return o +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) } -func (o MetricTagConfigurationAggregationArrayOutput) Index(i pulumi.IntInput) MetricTagConfigurationAggregationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetricTagConfigurationAggregation { - return vs[0].([]MetricTagConfigurationAggregation)[vs[1].(int)] - }).(MetricTagConfigurationAggregationOutput) +// The search query to use. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type MonitorConfigPolicyTagPolicy struct { - // The key of the tag - TagKey string `pulumi:"tagKey"` - // If a tag key is required for monitor creation - TagKeyRequired bool `pulumi:"tagKeyRequired"` - // Valid values for the tag - ValidTagValues []string `pulumi:"validTagValues"` +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery 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"` } -// MonitorConfigPolicyTagPolicyInput is an input type that accepts MonitorConfigPolicyTagPolicyArgs and MonitorConfigPolicyTagPolicyOutput values. -// You can construct a concrete instance of `MonitorConfigPolicyTagPolicyInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput` via: // -// MonitorConfigPolicyTagPolicyArgs{...} -type MonitorConfigPolicyTagPolicyInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToMonitorConfigPolicyTagPolicyOutput() MonitorConfigPolicyTagPolicyOutput - ToMonitorConfigPolicyTagPolicyOutputWithContext(context.Context) MonitorConfigPolicyTagPolicyOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput } -type MonitorConfigPolicyTagPolicyArgs struct { - // The key of the tag - TagKey pulumi.StringInput `pulumi:"tagKey"` - // If a tag key is required for monitor creation - TagKeyRequired pulumi.BoolInput `pulumi:"tagKeyRequired"` - // Valid values for the tag - ValidTagValues pulumi.StringArrayInput `pulumi:"validTagValues"` +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs 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 (MonitorConfigPolicyTagPolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorConfigPolicyTagPolicy)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyOutput() MonitorConfigPolicyTagPolicyOutput { - return i.ToMonitorConfigPolicyTagPolicyOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorConfigPolicyTagPolicyOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) } -func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { - return i.ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i MonitorConfigPolicyTagPolicyArgs) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorConfigPolicyTagPolicyOutput).ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// MonitorConfigPolicyTagPolicyPtrInput is an input type that accepts MonitorConfigPolicyTagPolicyArgs, MonitorConfigPolicyTagPolicyPtr and MonitorConfigPolicyTagPolicyPtrOutput values. -// You can construct a concrete instance of `MonitorConfigPolicyTagPolicyPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// MonitorConfigPolicyTagPolicyArgs{...} +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type MonitorConfigPolicyTagPolicyPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput - ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Context) MonitorConfigPolicyTagPolicyPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput } -type monitorConfigPolicyTagPolicyPtrType MonitorConfigPolicyTagPolicyArgs +type powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs -func MonitorConfigPolicyTagPolicyPtr(v *MonitorConfigPolicyTagPolicyArgs) MonitorConfigPolicyTagPolicyPtrInput { - return (*monitorConfigPolicyTagPolicyPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*monitorConfigPolicyTagPolicyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorConfigPolicyTagPolicy)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *monitorConfigPolicyTagPolicyPtrType) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { - return i.ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *monitorConfigPolicyTagPolicyPtrType) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorConfigPolicyTagPolicyPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) } -type MonitorConfigPolicyTagPolicyOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (MonitorConfigPolicyTagPolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorConfigPolicyTagPolicy)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyOutput() MonitorConfigPolicyTagPolicyOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { - return o.ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o MonitorConfigPolicyTagPolicyOutput) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorConfigPolicyTagPolicy) *MonitorConfigPolicyTagPolicy { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { return &v - }).(MonitorConfigPolicyTagPolicyPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The key of the tag -func (o MonitorConfigPolicyTagPolicyOutput) TagKey() pulumi.StringOutput { - return o.ApplyT(func(v MonitorConfigPolicyTagPolicy) string { return v.TagKey }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// If a tag key is required for monitor creation -func (o MonitorConfigPolicyTagPolicyOutput) TagKeyRequired() pulumi.BoolOutput { - return o.ApplyT(func(v MonitorConfigPolicyTagPolicy) bool { return v.TagKeyRequired }).(pulumi.BoolOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Valid values for the tag -func (o MonitorConfigPolicyTagPolicyOutput) ValidTagValues() pulumi.StringArrayOutput { - return o.ApplyT(func(v MonitorConfigPolicyTagPolicy) []string { return v.ValidTagValues }).(pulumi.StringArrayOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type MonitorConfigPolicyTagPolicyPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (MonitorConfigPolicyTagPolicyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorConfigPolicyTagPolicy)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o MonitorConfigPolicyTagPolicyPtrOutput) ToMonitorConfigPolicyTagPolicyPtrOutput() MonitorConfigPolicyTagPolicyPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o MonitorConfigPolicyTagPolicyPtrOutput) ToMonitorConfigPolicyTagPolicyPtrOutputWithContext(ctx context.Context) MonitorConfigPolicyTagPolicyPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o MonitorConfigPolicyTagPolicyPtrOutput) Elem() MonitorConfigPolicyTagPolicyOutput { - return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) MonitorConfigPolicyTagPolicy { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret MonitorConfigPolicyTagPolicy + var ret PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery return ret - }).(MonitorConfigPolicyTagPolicyOutput) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) } -// The key of the tag -func (o MonitorConfigPolicyTagPolicyPtrOutput) TagKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) *string { +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return &v.TagKey + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// If a tag key is required for monitor creation -func (o MonitorConfigPolicyTagPolicyPtrOutput) TagKeyRequired() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) *bool { +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return &v.TagKeyRequired - }).(pulumi.BoolPtrOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// Valid values for the tag -func (o MonitorConfigPolicyTagPolicyPtrOutput) ValidTagValues() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MonitorConfigPolicyTagPolicy) []string { +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *int { if v == nil { return nil } - return v.ValidTagValues - }).(pulumi.StringArrayOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type MonitorMonitorThresholdWindows struct { - // Describes how long an anomalous metric must be normal before the alert recovers. - RecoveryWindow *string `pulumi:"recoveryWindow"` - // Describes how long a metric must be anomalous before an alert triggers. - TriggerWindow *string `pulumi:"triggerWindow"` +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// MonitorMonitorThresholdWindowsInput is an input type that accepts MonitorMonitorThresholdWindowsArgs and MonitorMonitorThresholdWindowsOutput values. -// You can construct a concrete instance of `MonitorMonitorThresholdWindowsInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput` via: // -// MonitorMonitorThresholdWindowsArgs{...} -type MonitorMonitorThresholdWindowsInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToMonitorMonitorThresholdWindowsOutput() MonitorMonitorThresholdWindowsOutput - ToMonitorMonitorThresholdWindowsOutputWithContext(context.Context) MonitorMonitorThresholdWindowsOutput -} - -type MonitorMonitorThresholdWindowsArgs struct { - // Describes how long an anomalous metric must be normal before the alert recovers. - RecoveryWindow pulumi.StringPtrInput `pulumi:"recoveryWindow"` - // Describes how long a metric must be anomalous before an alert triggers. - TriggerWindow pulumi.StringPtrInput `pulumi:"triggerWindow"` -} - -func (MonitorMonitorThresholdWindowsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorMonitorThresholdWindows)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput } -func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsOutput() MonitorMonitorThresholdWindowsOutput { - return i.ToMonitorMonitorThresholdWindowsOutputWithContext(context.Background()) +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdWindowsOutput) +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { - return i.ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i MonitorMonitorThresholdWindowsArgs) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdWindowsOutput).ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) } -// MonitorMonitorThresholdWindowsPtrInput is an input type that accepts MonitorMonitorThresholdWindowsArgs, MonitorMonitorThresholdWindowsPtr and MonitorMonitorThresholdWindowsPtrOutput values. -// You can construct a concrete instance of `MonitorMonitorThresholdWindowsPtrInput` via: -// -// MonitorMonitorThresholdWindowsArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput` via: // -// nil -type MonitorMonitorThresholdWindowsPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput - ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Context) MonitorMonitorThresholdWindowsPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput } -type monitorMonitorThresholdWindowsPtrType MonitorMonitorThresholdWindowsArgs - -func MonitorMonitorThresholdWindowsPtr(v *MonitorMonitorThresholdWindowsArgs) MonitorMonitorThresholdWindowsPtrInput { - return (*monitorMonitorThresholdWindowsPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput -func (*monitorMonitorThresholdWindowsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorMonitorThresholdWindows)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i *monitorMonitorThresholdWindowsPtrType) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { - return i.ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *monitorMonitorThresholdWindowsPtrType) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdWindowsPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) } -type MonitorMonitorThresholdWindowsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (MonitorMonitorThresholdWindowsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorMonitorThresholdWindows)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsOutput() MonitorMonitorThresholdWindowsOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { return o } -func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { return o } -func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { - return o.ToMonitorMonitorThresholdWindowsPtrOutputWithContext(context.Background()) -} - -func (o MonitorMonitorThresholdWindowsOutput) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorMonitorThresholdWindows) *MonitorMonitorThresholdWindows { - return &v - }).(MonitorMonitorThresholdWindowsPtrOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Describes how long an anomalous metric must be normal before the alert recovers. -func (o MonitorMonitorThresholdWindowsOutput) RecoveryWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholdWindows) *string { return v.RecoveryWindow }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Describes how long a metric must be anomalous before an alert triggers. -func (o MonitorMonitorThresholdWindowsOutput) TriggerWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholdWindows) *string { return v.TriggerWindow }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type MonitorMonitorThresholdWindowsPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (MonitorMonitorThresholdWindowsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorMonitorThresholdWindows)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o MonitorMonitorThresholdWindowsPtrOutput) ToMonitorMonitorThresholdWindowsPtrOutput() MonitorMonitorThresholdWindowsPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o MonitorMonitorThresholdWindowsPtrOutput) ToMonitorMonitorThresholdWindowsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdWindowsPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o MonitorMonitorThresholdWindowsPtrOutput) Elem() MonitorMonitorThresholdWindowsOutput { - return o.ApplyT(func(v *MonitorMonitorThresholdWindows) MonitorMonitorThresholdWindows { - if v != nil { - return *v - } - var ret MonitorMonitorThresholdWindows - return ret - }).(MonitorMonitorThresholdWindowsOutput) -} - -// Describes how long an anomalous metric must be normal before the alert recovers. -func (o MonitorMonitorThresholdWindowsPtrOutput) RecoveryWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholdWindows) *string { - if v == nil { - return nil - } - return v.RecoveryWindow - }).(pulumi.StringPtrOutput) -} - -// Describes how long a metric must be anomalous before an alert triggers. -func (o MonitorMonitorThresholdWindowsPtrOutput) TriggerWindow() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholdWindows) *string { - if v == nil { - return nil - } - return v.TriggerWindow - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) } -type MonitorMonitorThresholds struct { - // The monitor `CRITICAL` threshold. Must be a number. - Critical *string `pulumi:"critical"` - // The monitor `CRITICAL` recovery threshold. Must be a number. - CriticalRecovery *string `pulumi:"criticalRecovery"` - // The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. - Ok *string `pulumi:"ok"` - // The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. - Unknown *string `pulumi:"unknown"` - // The monitor `WARNING` threshold. Must be a number. - Warning *string `pulumi:"warning"` - // The monitor `WARNING` recovery threshold. Must be a number. - WarningRecovery *string `pulumi:"warningRecovery"` +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// MonitorMonitorThresholdsInput is an input type that accepts MonitorMonitorThresholdsArgs and MonitorMonitorThresholdsOutput values. -// You can construct a concrete instance of `MonitorMonitorThresholdsInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// MonitorMonitorThresholdsArgs{...} -type MonitorMonitorThresholdsInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToMonitorMonitorThresholdsOutput() MonitorMonitorThresholdsOutput - ToMonitorMonitorThresholdsOutputWithContext(context.Context) MonitorMonitorThresholdsOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput } -type MonitorMonitorThresholdsArgs struct { - // The monitor `CRITICAL` threshold. Must be a number. - Critical pulumi.StringPtrInput `pulumi:"critical"` - // The monitor `CRITICAL` recovery threshold. Must be a number. - CriticalRecovery pulumi.StringPtrInput `pulumi:"criticalRecovery"` - // The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. - Ok pulumi.StringPtrInput `pulumi:"ok"` - // The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. - Unknown pulumi.StringPtrInput `pulumi:"unknown"` - // The monitor `WARNING` threshold. Must be a number. - Warning pulumi.StringPtrInput `pulumi:"warning"` - // The monitor `WARNING` recovery threshold. Must be a number. - WarningRecovery pulumi.StringPtrInput `pulumi:"warningRecovery"` +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (MonitorMonitorThresholdsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorMonitorThresholds)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsOutput() MonitorMonitorThresholdsOutput { - return i.ToMonitorMonitorThresholdsOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsOutputWithContext(ctx context.Context) MonitorMonitorThresholdsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdsOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { - return i.ToMonitorMonitorThresholdsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i MonitorMonitorThresholdsArgs) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdsOutput).ToMonitorMonitorThresholdsPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// MonitorMonitorThresholdsPtrInput is an input type that accepts MonitorMonitorThresholdsArgs, MonitorMonitorThresholdsPtr and MonitorMonitorThresholdsPtrOutput values. -// You can construct a concrete instance of `MonitorMonitorThresholdsPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// MonitorMonitorThresholdsArgs{...} +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type MonitorMonitorThresholdsPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput - ToMonitorMonitorThresholdsPtrOutputWithContext(context.Context) MonitorMonitorThresholdsPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type monitorMonitorThresholdsPtrType MonitorMonitorThresholdsArgs +type powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs -func MonitorMonitorThresholdsPtr(v *MonitorMonitorThresholdsArgs) MonitorMonitorThresholdsPtrInput { - return (*monitorMonitorThresholdsPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*monitorMonitorThresholdsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorMonitorThresholds)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *monitorMonitorThresholdsPtrType) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { - return i.ToMonitorMonitorThresholdsPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *monitorMonitorThresholdsPtrType) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorMonitorThresholdsPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type MonitorMonitorThresholdsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (MonitorMonitorThresholdsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorMonitorThresholds)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsOutput() MonitorMonitorThresholdsOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsOutputWithContext(ctx context.Context) MonitorMonitorThresholdsOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { - return o.ToMonitorMonitorThresholdsPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o MonitorMonitorThresholdsOutput) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorMonitorThresholds) *MonitorMonitorThresholds { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(MonitorMonitorThresholdsPtrOutput) -} - -// The monitor `CRITICAL` threshold. Must be a number. -func (o MonitorMonitorThresholdsOutput) Critical() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Critical }).(pulumi.StringPtrOutput) -} - -// The monitor `CRITICAL` recovery threshold. Must be a number. -func (o MonitorMonitorThresholdsOutput) CriticalRecovery() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.CriticalRecovery }).(pulumi.StringPtrOutput) -} - -// The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. -func (o MonitorMonitorThresholdsOutput) Ok() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Ok }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. -func (o MonitorMonitorThresholdsOutput) Unknown() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Unknown }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The monitor `WARNING` threshold. Must be a number. -func (o MonitorMonitorThresholdsOutput) Warning() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.Warning }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The monitor `WARNING` recovery threshold. Must be a number. -func (o MonitorMonitorThresholdsOutput) WarningRecovery() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorMonitorThresholds) *string { return v.WarningRecovery }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type MonitorMonitorThresholdsPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (MonitorMonitorThresholdsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorMonitorThresholds)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o MonitorMonitorThresholdsPtrOutput) ToMonitorMonitorThresholdsPtrOutput() MonitorMonitorThresholdsPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o MonitorMonitorThresholdsPtrOutput) ToMonitorMonitorThresholdsPtrOutputWithContext(ctx context.Context) MonitorMonitorThresholdsPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o MonitorMonitorThresholdsPtrOutput) Elem() MonitorMonitorThresholdsOutput { - return o.ApplyT(func(v *MonitorMonitorThresholds) MonitorMonitorThresholds { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret MonitorMonitorThresholds + var ret PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery return ret - }).(MonitorMonitorThresholdsOutput) -} - -// The monitor `CRITICAL` threshold. Must be a number. -func (o MonitorMonitorThresholdsPtrOutput) Critical() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholds) *string { - if v == nil { - return nil - } - return v.Critical - }).(pulumi.StringPtrOutput) -} - -// The monitor `CRITICAL` recovery threshold. Must be a number. -func (o MonitorMonitorThresholdsPtrOutput) CriticalRecovery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholds) *string { - if v == nil { - return nil - } - return v.CriticalRecovery - }).(pulumi.StringPtrOutput) -} - -// The monitor `OK` threshold. Only supported in monitor type `service check`. Must be a number. -func (o MonitorMonitorThresholdsPtrOutput) Ok() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholds) *string { - if v == nil { - return nil - } - return v.Ok - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) } -// The monitor `UNKNOWN` threshold. Only supported in monitor type `service check`. Must be a number. -func (o MonitorMonitorThresholdsPtrOutput) Unknown() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholds) *string { +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Unknown + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The monitor `WARNING` threshold. Must be a number. -func (o MonitorMonitorThresholdsPtrOutput) Warning() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholds) *string { +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Warning + return v.Facet }).(pulumi.StringPtrOutput) } -// The monitor `WARNING` recovery threshold. Must be a number. -func (o MonitorMonitorThresholdsPtrOutput) WarningRecovery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorMonitorThresholds) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.WarningRecovery + return &v.Order }).(pulumi.StringPtrOutput) } -type MonitorSchedulingOption struct { - // Configuration options for the custom schedules. If `start` is omitted, the monitor creation time will be used. - CustomSchedules []MonitorSchedulingOptionCustomSchedule `pulumi:"customSchedules"` - // Configuration options for the evaluation window. If `hourStarts` is set, no other fields may be set. Otherwise, `dayStarts` and `monthStarts` must be set together. - EvaluationWindows []MonitorSchedulingOptionEvaluationWindow `pulumi:"evaluationWindows"` +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute 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"` } -// MonitorSchedulingOptionInput is an input type that accepts MonitorSchedulingOptionArgs and MonitorSchedulingOptionOutput values. -// You can construct a concrete instance of `MonitorSchedulingOptionInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput` via: // -// MonitorSchedulingOptionArgs{...} -type MonitorSchedulingOptionInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToMonitorSchedulingOptionOutput() MonitorSchedulingOptionOutput - ToMonitorSchedulingOptionOutputWithContext(context.Context) MonitorSchedulingOptionOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput } -type MonitorSchedulingOptionArgs struct { - // Configuration options for the custom schedules. If `start` is omitted, the monitor creation time will be used. - CustomSchedules MonitorSchedulingOptionCustomScheduleArrayInput `pulumi:"customSchedules"` - // Configuration options for the evaluation window. If `hourStarts` is set, no other fields may be set. Otherwise, `dayStarts` and `monthStarts` must be set together. - EvaluationWindows MonitorSchedulingOptionEvaluationWindowArrayInput `pulumi:"evaluationWindows"` +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs 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 (MonitorSchedulingOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOption)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i MonitorSchedulingOptionArgs) ToMonitorSchedulingOptionOutput() MonitorSchedulingOptionOutput { - return i.ToMonitorSchedulingOptionOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i MonitorSchedulingOptionArgs) ToMonitorSchedulingOptionOutputWithContext(ctx context.Context) MonitorSchedulingOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) } -// MonitorSchedulingOptionArrayInput is an input type that accepts MonitorSchedulingOptionArray and MonitorSchedulingOptionArrayOutput values. -// You can construct a concrete instance of `MonitorSchedulingOptionArrayInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// MonitorSchedulingOptionArray{ MonitorSchedulingOptionArgs{...} } -type MonitorSchedulingOptionArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToMonitorSchedulingOptionArrayOutput() MonitorSchedulingOptionArrayOutput - ToMonitorSchedulingOptionArrayOutputWithContext(context.Context) MonitorSchedulingOptionArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput } -type MonitorSchedulingOptionArray []MonitorSchedulingOptionInput +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput -func (MonitorSchedulingOptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorSchedulingOption)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i MonitorSchedulingOptionArray) ToMonitorSchedulingOptionArrayOutput() MonitorSchedulingOptionArrayOutput { - return i.ToMonitorSchedulingOptionArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i MonitorSchedulingOptionArray) ToMonitorSchedulingOptionArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) } -type MonitorSchedulingOptionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (MonitorSchedulingOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOption)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o MonitorSchedulingOptionOutput) ToMonitorSchedulingOptionOutput() MonitorSchedulingOptionOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o MonitorSchedulingOptionOutput) ToMonitorSchedulingOptionOutputWithContext(ctx context.Context) MonitorSchedulingOptionOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { return o } -// Configuration options for the custom schedules. If `start` is omitted, the monitor creation time will be used. -func (o MonitorSchedulingOptionOutput) CustomSchedules() MonitorSchedulingOptionCustomScheduleArrayOutput { - return o.ApplyT(func(v MonitorSchedulingOption) []MonitorSchedulingOptionCustomSchedule { return v.CustomSchedules }).(MonitorSchedulingOptionCustomScheduleArrayOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Configuration options for the evaluation window. If `hourStarts` is set, no other fields may be set. Otherwise, `dayStarts` and `monthStarts` must be set together. -func (o MonitorSchedulingOptionOutput) EvaluationWindows() MonitorSchedulingOptionEvaluationWindowArrayOutput { - return o.ApplyT(func(v MonitorSchedulingOption) []MonitorSchedulingOptionEvaluationWindow { return v.EvaluationWindows }).(MonitorSchedulingOptionEvaluationWindowArrayOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type MonitorSchedulingOptionArrayOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (MonitorSchedulingOptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorSchedulingOption)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o MonitorSchedulingOptionArrayOutput) ToMonitorSchedulingOptionArrayOutput() MonitorSchedulingOptionArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o MonitorSchedulingOptionArrayOutput) ToMonitorSchedulingOptionArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o MonitorSchedulingOptionArrayOutput) Index(i pulumi.IntInput) MonitorSchedulingOptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSchedulingOption { - return vs[0].([]MonitorSchedulingOption)[vs[1].(int)] - }).(MonitorSchedulingOptionOutput) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) } -type MonitorSchedulingOptionCustomSchedule struct { - // A list of recurrence definitions. Length must be 1. - Recurrence MonitorSchedulingOptionCustomScheduleRecurrence `pulumi:"recurrence"` +type PowerpackWidgetGeomapDefinitionStyle struct { + // The color palette to apply to the widget. + Palette string `pulumi:"palette"` + // A Boolean indicating whether to flip the palette tones. + PaletteFlip bool `pulumi:"paletteFlip"` } -// MonitorSchedulingOptionCustomScheduleInput is an input type that accepts MonitorSchedulingOptionCustomScheduleArgs and MonitorSchedulingOptionCustomScheduleOutput values. -// You can construct a concrete instance of `MonitorSchedulingOptionCustomScheduleInput` via: +// PowerpackWidgetGeomapDefinitionStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionStyleArgs and PowerpackWidgetGeomapDefinitionStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionStyleInput` via: // -// MonitorSchedulingOptionCustomScheduleArgs{...} -type MonitorSchedulingOptionCustomScheduleInput interface { +// PowerpackWidgetGeomapDefinitionStyleArgs{...} +type PowerpackWidgetGeomapDefinitionStyleInput interface { pulumi.Input - ToMonitorSchedulingOptionCustomScheduleOutput() MonitorSchedulingOptionCustomScheduleOutput - ToMonitorSchedulingOptionCustomScheduleOutputWithContext(context.Context) MonitorSchedulingOptionCustomScheduleOutput + ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput + ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStyleOutput } -type MonitorSchedulingOptionCustomScheduleArgs struct { - // A list of recurrence definitions. Length must be 1. - Recurrence MonitorSchedulingOptionCustomScheduleRecurrenceInput `pulumi:"recurrence"` +type PowerpackWidgetGeomapDefinitionStyleArgs struct { + // The color palette to apply to the widget. + Palette pulumi.StringInput `pulumi:"palette"` + // A Boolean indicating whether to flip the palette tones. + PaletteFlip pulumi.BoolInput `pulumi:"paletteFlip"` } -func (MonitorSchedulingOptionCustomScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOptionCustomSchedule)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (i MonitorSchedulingOptionCustomScheduleArgs) ToMonitorSchedulingOptionCustomScheduleOutput() MonitorSchedulingOptionCustomScheduleOutput { - return i.ToMonitorSchedulingOptionCustomScheduleOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { + return i.ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Background()) } -func (i MonitorSchedulingOptionCustomScheduleArgs) ToMonitorSchedulingOptionCustomScheduleOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionCustomScheduleOutput) +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStyleOutput) } -// MonitorSchedulingOptionCustomScheduleArrayInput is an input type that accepts MonitorSchedulingOptionCustomScheduleArray and MonitorSchedulingOptionCustomScheduleArrayOutput values. -// You can construct a concrete instance of `MonitorSchedulingOptionCustomScheduleArrayInput` via: +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStyleOutput).ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetGeomapDefinitionStylePtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionStyleArgs, PowerpackWidgetGeomapDefinitionStylePtr and PowerpackWidgetGeomapDefinitionStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionStylePtrInput` via: // -// MonitorSchedulingOptionCustomScheduleArray{ MonitorSchedulingOptionCustomScheduleArgs{...} } -type MonitorSchedulingOptionCustomScheduleArrayInput interface { +// PowerpackWidgetGeomapDefinitionStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionStylePtrInput interface { pulumi.Input - ToMonitorSchedulingOptionCustomScheduleArrayOutput() MonitorSchedulingOptionCustomScheduleArrayOutput - ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(context.Context) MonitorSchedulingOptionCustomScheduleArrayOutput + ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput + ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput } -type MonitorSchedulingOptionCustomScheduleArray []MonitorSchedulingOptionCustomScheduleInput +type powerpackWidgetGeomapDefinitionStylePtrType PowerpackWidgetGeomapDefinitionStyleArgs -func (MonitorSchedulingOptionCustomScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorSchedulingOptionCustomSchedule)(nil)).Elem() +func PowerpackWidgetGeomapDefinitionStylePtr(v *PowerpackWidgetGeomapDefinitionStyleArgs) PowerpackWidgetGeomapDefinitionStylePtrInput { + return (*powerpackWidgetGeomapDefinitionStylePtrType)(v) } -func (i MonitorSchedulingOptionCustomScheduleArray) ToMonitorSchedulingOptionCustomScheduleArrayOutput() MonitorSchedulingOptionCustomScheduleArrayOutput { - return i.ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(context.Background()) +func (*powerpackWidgetGeomapDefinitionStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (i MonitorSchedulingOptionCustomScheduleArray) ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionCustomScheduleArrayOutput) +func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) } -type MonitorSchedulingOptionCustomScheduleOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStylePtrOutput) +} -func (MonitorSchedulingOptionCustomScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOptionCustomSchedule)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (o MonitorSchedulingOptionCustomScheduleOutput) ToMonitorSchedulingOptionCustomScheduleOutput() MonitorSchedulingOptionCustomScheduleOutput { +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { return o } -func (o MonitorSchedulingOptionCustomScheduleOutput) ToMonitorSchedulingOptionCustomScheduleOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleOutput { +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { return o } -// A list of recurrence definitions. Length must be 1. -func (o MonitorSchedulingOptionCustomScheduleOutput) Recurrence() MonitorSchedulingOptionCustomScheduleRecurrenceOutput { - return o.ApplyT(func(v MonitorSchedulingOptionCustomSchedule) MonitorSchedulingOptionCustomScheduleRecurrence { - return v.Recurrence - }).(MonitorSchedulingOptionCustomScheduleRecurrenceOutput) +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) } -type MonitorSchedulingOptionCustomScheduleArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionStyle) *PowerpackWidgetGeomapDefinitionStyle { + return &v + }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) +} -func (MonitorSchedulingOptionCustomScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorSchedulingOptionCustomSchedule)(nil)).Elem() +// The color palette to apply to the widget. +func (o PowerpackWidgetGeomapDefinitionStyleOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionStyle) string { return v.Palette }).(pulumi.StringOutput) } -func (o MonitorSchedulingOptionCustomScheduleArrayOutput) ToMonitorSchedulingOptionCustomScheduleArrayOutput() MonitorSchedulingOptionCustomScheduleArrayOutput { - return o +// A Boolean indicating whether to flip the palette tones. +func (o PowerpackWidgetGeomapDefinitionStyleOutput) PaletteFlip() pulumi.BoolOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionStyle) bool { return v.PaletteFlip }).(pulumi.BoolOutput) } -func (o MonitorSchedulingOptionCustomScheduleArrayOutput) ToMonitorSchedulingOptionCustomScheduleArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleArrayOutput { - return o +type PowerpackWidgetGeomapDefinitionStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (o MonitorSchedulingOptionCustomScheduleArrayOutput) Index(i pulumi.IntInput) MonitorSchedulingOptionCustomScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSchedulingOptionCustomSchedule { - return vs[0].([]MonitorSchedulingOptionCustomSchedule)[vs[1].(int)] - }).(MonitorSchedulingOptionCustomScheduleOutput) +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o } -type MonitorSchedulingOptionCustomScheduleRecurrence struct { - // Must be a valid `rrule`. See API docs for supported fields - Rrule string `pulumi:"rrule"` - // Time to start recurrence cycle. Similar to DTSTART. Expected format 'YYYY-MM-DDThh:mm:ss' - Start *string `pulumi:"start"` - // 'tz database' format. Example: `America/New_York` or `UTC` - Timezone string `pulumi:"timezone"` +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o } -// MonitorSchedulingOptionCustomScheduleRecurrenceInput is an input type that accepts MonitorSchedulingOptionCustomScheduleRecurrenceArgs and MonitorSchedulingOptionCustomScheduleRecurrenceOutput values. -// You can construct a concrete instance of `MonitorSchedulingOptionCustomScheduleRecurrenceInput` via: -// -// MonitorSchedulingOptionCustomScheduleRecurrenceArgs{...} -type MonitorSchedulingOptionCustomScheduleRecurrenceInput interface { - pulumi.Input - - ToMonitorSchedulingOptionCustomScheduleRecurrenceOutput() MonitorSchedulingOptionCustomScheduleRecurrenceOutput - ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(context.Context) MonitorSchedulingOptionCustomScheduleRecurrenceOutput -} - -type MonitorSchedulingOptionCustomScheduleRecurrenceArgs struct { - // Must be a valid `rrule`. See API docs for supported fields - Rrule pulumi.StringInput `pulumi:"rrule"` - // Time to start recurrence cycle. Similar to DTSTART. Expected format 'YYYY-MM-DDThh:mm:ss' - Start pulumi.StringPtrInput `pulumi:"start"` - // 'tz database' format. Example: `America/New_York` or `UTC` - Timezone pulumi.StringInput `pulumi:"timezone"` +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) PowerpackWidgetGeomapDefinitionStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionStyle + return ret + }).(PowerpackWidgetGeomapDefinitionStyleOutput) } -func (MonitorSchedulingOptionCustomScheduleRecurrenceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOptionCustomScheduleRecurrence)(nil)).Elem() +// The color palette to apply to the widget. +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) *string { + if v == nil { + return nil + } + return &v.Palette + }).(pulumi.StringPtrOutput) } -func (i MonitorSchedulingOptionCustomScheduleRecurrenceArgs) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutput() MonitorSchedulingOptionCustomScheduleRecurrenceOutput { - return i.ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(context.Background()) +// A Boolean indicating whether to flip the palette tones. +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) PaletteFlip() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) *bool { + if v == nil { + return nil + } + return &v.PaletteFlip + }).(pulumi.BoolPtrOutput) } -func (i MonitorSchedulingOptionCustomScheduleRecurrenceArgs) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleRecurrenceOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionCustomScheduleRecurrenceOutput) +type PowerpackWidgetGeomapDefinitionView struct { + // The two-letter ISO code of a country to focus the map on (or `WORLD`). + Focus string `pulumi:"focus"` } -type MonitorSchedulingOptionCustomScheduleRecurrenceOutput struct{ *pulumi.OutputState } +// PowerpackWidgetGeomapDefinitionViewInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs and PowerpackWidgetGeomapDefinitionViewOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewInput` via: +// +// PowerpackWidgetGeomapDefinitionViewArgs{...} +type PowerpackWidgetGeomapDefinitionViewInput interface { + pulumi.Input -func (MonitorSchedulingOptionCustomScheduleRecurrenceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOptionCustomScheduleRecurrence)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput + ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewOutput } -func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutput() MonitorSchedulingOptionCustomScheduleRecurrenceOutput { - return o +type PowerpackWidgetGeomapDefinitionViewArgs struct { + // The two-letter ISO code of a country to focus the map on (or `WORLD`). + Focus pulumi.StringInput `pulumi:"focus"` } -func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) ToMonitorSchedulingOptionCustomScheduleRecurrenceOutputWithContext(ctx context.Context) MonitorSchedulingOptionCustomScheduleRecurrenceOutput { - return o +func (PowerpackWidgetGeomapDefinitionViewArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -// Must be a valid `rrule`. See API docs for supported fields -func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) Rrule() pulumi.StringOutput { - return o.ApplyT(func(v MonitorSchedulingOptionCustomScheduleRecurrence) string { return v.Rrule }).(pulumi.StringOutput) +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { + return i.ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Background()) } -// Time to start recurrence cycle. Similar to DTSTART. Expected format 'YYYY-MM-DDThh:mm:ss' -func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) Start() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorSchedulingOptionCustomScheduleRecurrence) *string { return v.Start }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput) } -// 'tz database' format. Example: `America/New_York` or `UTC` -func (o MonitorSchedulingOptionCustomScheduleRecurrenceOutput) Timezone() pulumi.StringOutput { - return o.ApplyT(func(v MonitorSchedulingOptionCustomScheduleRecurrence) string { return v.Timezone }).(pulumi.StringOutput) +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) } -type MonitorSchedulingOptionEvaluationWindow struct { - // The time of the day at which a one day cumulative evaluation window starts. Must be defined in UTC time in `HH:mm` format. - DayStarts *string `pulumi:"dayStarts"` - // The minute of the hour at which a one hour cumulative evaluation window starts. Must be between 0 and 59. - HourStarts *int `pulumi:"hourStarts"` - // The day of the month at which a one month cumulative evaluation window starts. Must be a value of 1. - MonthStarts *int `pulumi:"monthStarts"` +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput).ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx) } -// MonitorSchedulingOptionEvaluationWindowInput is an input type that accepts MonitorSchedulingOptionEvaluationWindowArgs and MonitorSchedulingOptionEvaluationWindowOutput values. -// You can construct a concrete instance of `MonitorSchedulingOptionEvaluationWindowInput` via: +// PowerpackWidgetGeomapDefinitionViewPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs, PowerpackWidgetGeomapDefinitionViewPtr and PowerpackWidgetGeomapDefinitionViewPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewPtrInput` via: // -// MonitorSchedulingOptionEvaluationWindowArgs{...} -type MonitorSchedulingOptionEvaluationWindowInput interface { +// PowerpackWidgetGeomapDefinitionViewArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionViewPtrInput interface { pulumi.Input - ToMonitorSchedulingOptionEvaluationWindowOutput() MonitorSchedulingOptionEvaluationWindowOutput - ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(context.Context) MonitorSchedulingOptionEvaluationWindowOutput -} - -type MonitorSchedulingOptionEvaluationWindowArgs struct { - // The time of the day at which a one day cumulative evaluation window starts. Must be defined in UTC time in `HH:mm` format. - DayStarts pulumi.StringPtrInput `pulumi:"dayStarts"` - // The minute of the hour at which a one hour cumulative evaluation window starts. Must be between 0 and 59. - HourStarts pulumi.IntPtrInput `pulumi:"hourStarts"` - // The day of the month at which a one month cumulative evaluation window starts. Must be a value of 1. - MonthStarts pulumi.IntPtrInput `pulumi:"monthStarts"` -} - -func (MonitorSchedulingOptionEvaluationWindowArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() -} - -func (i MonitorSchedulingOptionEvaluationWindowArgs) ToMonitorSchedulingOptionEvaluationWindowOutput() MonitorSchedulingOptionEvaluationWindowOutput { - return i.ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(context.Background()) -} - -func (i MonitorSchedulingOptionEvaluationWindowArgs) ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionEvaluationWindowOutput) + ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput + ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput } -// MonitorSchedulingOptionEvaluationWindowArrayInput is an input type that accepts MonitorSchedulingOptionEvaluationWindowArray and MonitorSchedulingOptionEvaluationWindowArrayOutput values. -// You can construct a concrete instance of `MonitorSchedulingOptionEvaluationWindowArrayInput` via: -// -// MonitorSchedulingOptionEvaluationWindowArray{ MonitorSchedulingOptionEvaluationWindowArgs{...} } -type MonitorSchedulingOptionEvaluationWindowArrayInput interface { - pulumi.Input +type powerpackWidgetGeomapDefinitionViewPtrType PowerpackWidgetGeomapDefinitionViewArgs - ToMonitorSchedulingOptionEvaluationWindowArrayOutput() MonitorSchedulingOptionEvaluationWindowArrayOutput - ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(context.Context) MonitorSchedulingOptionEvaluationWindowArrayOutput +func PowerpackWidgetGeomapDefinitionViewPtr(v *PowerpackWidgetGeomapDefinitionViewArgs) PowerpackWidgetGeomapDefinitionViewPtrInput { + return (*powerpackWidgetGeomapDefinitionViewPtrType)(v) } -type MonitorSchedulingOptionEvaluationWindowArray []MonitorSchedulingOptionEvaluationWindowInput - -func (MonitorSchedulingOptionEvaluationWindowArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionViewPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -func (i MonitorSchedulingOptionEvaluationWindowArray) ToMonitorSchedulingOptionEvaluationWindowArrayOutput() MonitorSchedulingOptionEvaluationWindowArrayOutput { - return i.ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) } -func (i MonitorSchedulingOptionEvaluationWindowArray) ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorSchedulingOptionEvaluationWindowArrayOutput) +func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewPtrOutput) } -type MonitorSchedulingOptionEvaluationWindowOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionViewOutput struct{ *pulumi.OutputState } -func (MonitorSchedulingOptionEvaluationWindowOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionViewOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -func (o MonitorSchedulingOptionEvaluationWindowOutput) ToMonitorSchedulingOptionEvaluationWindowOutput() MonitorSchedulingOptionEvaluationWindowOutput { +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { return o } -func (o MonitorSchedulingOptionEvaluationWindowOutput) ToMonitorSchedulingOptionEvaluationWindowOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowOutput { +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { return o } -// The time of the day at which a one day cumulative evaluation window starts. Must be defined in UTC time in `HH:mm` format. -func (o MonitorSchedulingOptionEvaluationWindowOutput) DayStarts() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorSchedulingOptionEvaluationWindow) *string { return v.DayStarts }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) } -// The minute of the hour at which a one hour cumulative evaluation window starts. Must be between 0 and 59. -func (o MonitorSchedulingOptionEvaluationWindowOutput) HourStarts() pulumi.IntPtrOutput { - return o.ApplyT(func(v MonitorSchedulingOptionEvaluationWindow) *int { return v.HourStarts }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionView) *PowerpackWidgetGeomapDefinitionView { + return &v + }).(PowerpackWidgetGeomapDefinitionViewPtrOutput) } -// The day of the month at which a one month cumulative evaluation window starts. Must be a value of 1. -func (o MonitorSchedulingOptionEvaluationWindowOutput) MonthStarts() pulumi.IntPtrOutput { - return o.ApplyT(func(v MonitorSchedulingOptionEvaluationWindow) *int { return v.MonthStarts }).(pulumi.IntPtrOutput) +// The two-letter ISO code of a country to focus the map on (or `WORLD`). +func (o PowerpackWidgetGeomapDefinitionViewOutput) Focus() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionView) string { return v.Focus }).(pulumi.StringOutput) } -type MonitorSchedulingOptionEvaluationWindowArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionViewPtrOutput struct{ *pulumi.OutputState } -func (MonitorSchedulingOptionEvaluationWindowArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorSchedulingOptionEvaluationWindow)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionViewPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -func (o MonitorSchedulingOptionEvaluationWindowArrayOutput) ToMonitorSchedulingOptionEvaluationWindowArrayOutput() MonitorSchedulingOptionEvaluationWindowArrayOutput { +func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { return o } -func (o MonitorSchedulingOptionEvaluationWindowArrayOutput) ToMonitorSchedulingOptionEvaluationWindowArrayOutputWithContext(ctx context.Context) MonitorSchedulingOptionEvaluationWindowArrayOutput { +func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { return o } -func (o MonitorSchedulingOptionEvaluationWindowArrayOutput) Index(i pulumi.IntInput) MonitorSchedulingOptionEvaluationWindowOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorSchedulingOptionEvaluationWindow { - return vs[0].([]MonitorSchedulingOptionEvaluationWindow)[vs[1].(int)] - }).(MonitorSchedulingOptionEvaluationWindowOutput) +func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) Elem() PowerpackWidgetGeomapDefinitionViewOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionView) PowerpackWidgetGeomapDefinitionView { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionView + return ret + }).(PowerpackWidgetGeomapDefinitionViewOutput) } -type MonitorVariables struct { - // A timeseries formula and functions events query. - EventQueries []MonitorVariablesEventQuery `pulumi:"eventQueries"` +// The two-letter ISO code of a country to focus the map on (or `WORLD`). +func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) Focus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionView) *string { + if v == nil { + return nil + } + return &v.Focus + }).(pulumi.StringPtrOutput) } -// MonitorVariablesInput is an input type that accepts MonitorVariablesArgs and MonitorVariablesOutput values. -// You can construct a concrete instance of `MonitorVariablesInput` via: +type PowerpackWidgetHeatmapDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetHeatmapDefinitionCustomLink `pulumi:"customLinks"` + // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. + Events []PowerpackWidgetHeatmapDefinitionEvent `pulumi:"events"` + // The size of the legend displayed in the widget. + LegendSize *string `pulumi:"legendSize"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Requests []PowerpackWidgetHeatmapDefinitionRequest `pulumi:"requests"` + // Whether or not to show the legend on this widget. + ShowLegend *bool `pulumi:"showLegend"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` + // A nested block describing the Y-Axis Controls. The structure of this block is described below. + Yaxis *PowerpackWidgetHeatmapDefinitionYaxis `pulumi:"yaxis"` +} + +// PowerpackWidgetHeatmapDefinitionInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs and PowerpackWidgetHeatmapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionInput` via: // -// MonitorVariablesArgs{...} -type MonitorVariablesInput interface { +// PowerpackWidgetHeatmapDefinitionArgs{...} +type PowerpackWidgetHeatmapDefinitionInput interface { pulumi.Input - ToMonitorVariablesOutput() MonitorVariablesOutput - ToMonitorVariablesOutputWithContext(context.Context) MonitorVariablesOutput + ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput + ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionOutput } -type MonitorVariablesArgs struct { - // A timeseries formula and functions events query. - EventQueries MonitorVariablesEventQueryArrayInput `pulumi:"eventQueries"` +type PowerpackWidgetHeatmapDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. + Events PowerpackWidgetHeatmapDefinitionEventArrayInput `pulumi:"events"` + // The size of the legend displayed in the widget. + LegendSize pulumi.StringPtrInput `pulumi:"legendSize"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Requests PowerpackWidgetHeatmapDefinitionRequestArrayInput `pulumi:"requests"` + // Whether or not to show the legend on this widget. + ShowLegend pulumi.BoolPtrInput `pulumi:"showLegend"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + 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 Y-Axis Controls. The structure of this block is described below. + Yaxis PowerpackWidgetHeatmapDefinitionYaxisPtrInput `pulumi:"yaxis"` } -func (MonitorVariablesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariables)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -func (i MonitorVariablesArgs) ToMonitorVariablesOutput() MonitorVariablesOutput { - return i.ToMonitorVariablesOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { + return i.ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Background()) } -func (i MonitorVariablesArgs) ToMonitorVariablesOutputWithContext(ctx context.Context) MonitorVariablesOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesOutput) +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput) } -func (i MonitorVariablesArgs) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { - return i.ToMonitorVariablesPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) } -func (i MonitorVariablesArgs) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesOutput).ToMonitorVariablesPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput).ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx) } -// MonitorVariablesPtrInput is an input type that accepts MonitorVariablesArgs, MonitorVariablesPtr and MonitorVariablesPtrOutput values. -// You can construct a concrete instance of `MonitorVariablesPtrInput` via: +// PowerpackWidgetHeatmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs, PowerpackWidgetHeatmapDefinitionPtr and PowerpackWidgetHeatmapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionPtrInput` via: // -// MonitorVariablesArgs{...} +// PowerpackWidgetHeatmapDefinitionArgs{...} // // or: // // nil -type MonitorVariablesPtrInput interface { +type PowerpackWidgetHeatmapDefinitionPtrInput interface { pulumi.Input - ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput - ToMonitorVariablesPtrOutputWithContext(context.Context) MonitorVariablesPtrOutput + ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput + ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput } -type monitorVariablesPtrType MonitorVariablesArgs +type powerpackWidgetHeatmapDefinitionPtrType PowerpackWidgetHeatmapDefinitionArgs -func MonitorVariablesPtr(v *MonitorVariablesArgs) MonitorVariablesPtrInput { - return (*monitorVariablesPtrType)(v) +func PowerpackWidgetHeatmapDefinitionPtr(v *PowerpackWidgetHeatmapDefinitionArgs) PowerpackWidgetHeatmapDefinitionPtrInput { + return (*powerpackWidgetHeatmapDefinitionPtrType)(v) } -func (*monitorVariablesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorVariables)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -func (i *monitorVariablesPtrType) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { - return i.ToMonitorVariablesPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) } -func (i *monitorVariablesPtrType) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionPtrOutput) } -type MonitorVariablesOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionOutput struct{ *pulumi.OutputState } -func (MonitorVariablesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariables)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -func (o MonitorVariablesOutput) ToMonitorVariablesOutput() MonitorVariablesOutput { +func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { return o } -func (o MonitorVariablesOutput) ToMonitorVariablesOutputWithContext(ctx context.Context) MonitorVariablesOutput { +func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { return o } -func (o MonitorVariablesOutput) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { - return o.ToMonitorVariablesPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) } -func (o MonitorVariablesOutput) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorVariables) *MonitorVariables { +func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinition { return &v - }).(MonitorVariablesPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionPtrOutput) } -// A timeseries formula and functions events query. -func (o MonitorVariablesOutput) EventQueries() MonitorVariablesEventQueryArrayOutput { - return o.ApplyT(func(v MonitorVariables) []MonitorVariablesEventQuery { return v.EventQueries }).(MonitorVariablesEventQueryArrayOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionOutput) CustomLinks() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) } -type MonitorVariablesPtrOutput struct{ *pulumi.OutputState } - -func (MonitorVariablesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorVariables)(nil)).Elem() +// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionOutput) Events() PowerpackWidgetHeatmapDefinitionEventArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionEvent { return v.Events }).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) } -func (o MonitorVariablesPtrOutput) ToMonitorVariablesPtrOutput() MonitorVariablesPtrOutput { - return o +// The size of the legend displayed in the widget. +func (o PowerpackWidgetHeatmapDefinitionOutput) LegendSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.LegendSize }).(pulumi.StringPtrOutput) } -func (o MonitorVariablesPtrOutput) ToMonitorVariablesPtrOutputWithContext(ctx context.Context) MonitorVariablesPtrOutput { - return o +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetHeatmapDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -func (o MonitorVariablesPtrOutput) Elem() MonitorVariablesOutput { - return o.ApplyT(func(v *MonitorVariables) MonitorVariables { - if v != nil { - return *v - } - var ret MonitorVariables - return ret - }).(MonitorVariablesOutput) +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetHeatmapDefinitionOutput) Requests() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionRequest { return v.Requests }).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) } -// A timeseries formula and functions events query. -func (o MonitorVariablesPtrOutput) EventQueries() MonitorVariablesEventQueryArrayOutput { - return o.ApplyT(func(v *MonitorVariables) []MonitorVariablesEventQuery { - if v == nil { - return nil - } - return v.EventQueries - }).(MonitorVariablesEventQueryArrayOutput) +// Whether or not to show the legend on this widget. +func (o PowerpackWidgetHeatmapDefinitionOutput) ShowLegend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *bool { return v.ShowLegend }).(pulumi.BoolPtrOutput) } -type MonitorVariablesEventQuery struct { - // The compute options. - Computes []MonitorVariablesEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []MonitorVariablesEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search MonitorVariablesEventQuerySearch `pulumi:"search"` +// The title of the widget. +func (o PowerpackWidgetHeatmapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// MonitorVariablesEventQueryInput is an input type that accepts MonitorVariablesEventQueryArgs and MonitorVariablesEventQueryOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryInput` via: -// -// MonitorVariablesEventQueryArgs{...} -type MonitorVariablesEventQueryInput interface { - pulumi.Input - - ToMonitorVariablesEventQueryOutput() MonitorVariablesEventQueryOutput - ToMonitorVariablesEventQueryOutputWithContext(context.Context) MonitorVariablesEventQueryOutput +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetHeatmapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -type MonitorVariablesEventQueryArgs struct { - // The compute options. - Computes MonitorVariablesEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies MonitorVariablesEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search MonitorVariablesEventQuerySearchInput `pulumi:"search"` +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetHeatmapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -func (MonitorVariablesEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQuery)(nil)).Elem() +// A nested block describing the Y-Axis Controls. The structure of this block is described below. +func (o PowerpackWidgetHeatmapDefinitionOutput) Yaxis() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinitionYaxis { return v.Yaxis }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) } -func (i MonitorVariablesEventQueryArgs) ToMonitorVariablesEventQueryOutput() MonitorVariablesEventQueryOutput { - return i.ToMonitorVariablesEventQueryOutputWithContext(context.Background()) -} +type PowerpackWidgetHeatmapDefinitionPtrOutput struct{ *pulumi.OutputState } -func (i MonitorVariablesEventQueryArgs) ToMonitorVariablesEventQueryOutputWithContext(ctx context.Context) MonitorVariablesEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryOutput) +func (PowerpackWidgetHeatmapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -// MonitorVariablesEventQueryArrayInput is an input type that accepts MonitorVariablesEventQueryArray and MonitorVariablesEventQueryArrayOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryArrayInput` via: -// -// MonitorVariablesEventQueryArray{ MonitorVariablesEventQueryArgs{...} } -type MonitorVariablesEventQueryArrayInput interface { - pulumi.Input - - ToMonitorVariablesEventQueryArrayOutput() MonitorVariablesEventQueryArrayOutput - ToMonitorVariablesEventQueryArrayOutputWithContext(context.Context) MonitorVariablesEventQueryArrayOutput +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { + return o } -type MonitorVariablesEventQueryArray []MonitorVariablesEventQueryInput - -func (MonitorVariablesEventQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorVariablesEventQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { + return o } -func (i MonitorVariablesEventQueryArray) ToMonitorVariablesEventQueryArrayOutput() MonitorVariablesEventQueryArrayOutput { - return i.ToMonitorVariablesEventQueryArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) PowerpackWidgetHeatmapDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinition + return ret + }).(PowerpackWidgetHeatmapDefinitionOutput) } -func (i MonitorVariablesEventQueryArray) ToMonitorVariablesEventQueryArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryArrayOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) CustomLinks() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionCustomLink { + if v == nil { + return nil + } + return v.CustomLinks + }).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) } -type MonitorVariablesEventQueryOutput struct{ *pulumi.OutputState } - -func (MonitorVariablesEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQuery)(nil)).Elem() +// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Events() PowerpackWidgetHeatmapDefinitionEventArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionEvent { + if v == nil { + return nil + } + return v.Events + }).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) } -func (o MonitorVariablesEventQueryOutput) ToMonitorVariablesEventQueryOutput() MonitorVariablesEventQueryOutput { - return o +// The size of the legend displayed in the widget. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) LegendSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { + if v == nil { + return nil + } + return v.LegendSize + }).(pulumi.StringPtrOutput) } -func (o MonitorVariablesEventQueryOutput) ToMonitorVariablesEventQueryOutputWithContext(ctx context.Context) MonitorVariablesEventQueryOutput { - return o -} - -// The compute options. -func (o MonitorVariablesEventQueryOutput) Computes() MonitorVariablesEventQueryComputeArrayOutput { - return o.ApplyT(func(v MonitorVariablesEventQuery) []MonitorVariablesEventQueryCompute { return v.Computes }).(MonitorVariablesEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`. -func (o MonitorVariablesEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v MonitorVariablesEventQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group by options. -func (o MonitorVariablesEventQueryOutput) GroupBies() MonitorVariablesEventQueryGroupByArrayOutput { - return o.ApplyT(func(v MonitorVariablesEventQuery) []MonitorVariablesEventQueryGroupBy { return v.GroupBies }).(MonitorVariablesEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o MonitorVariablesEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v MonitorVariablesEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o MonitorVariablesEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v MonitorVariablesEventQuery) string { return v.Name }).(pulumi.StringOutput) +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Requests() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) } -// The search options. -func (o MonitorVariablesEventQueryOutput) Search() MonitorVariablesEventQuerySearchOutput { - return o.ApplyT(func(v MonitorVariablesEventQuery) MonitorVariablesEventQuerySearch { return v.Search }).(MonitorVariablesEventQuerySearchOutput) +// Whether or not to show the legend on this widget. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ShowLegend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *bool { + if v == nil { + return nil + } + return v.ShowLegend + }).(pulumi.BoolPtrOutput) } -type MonitorVariablesEventQueryArrayOutput struct{ *pulumi.OutputState } - -func (MonitorVariablesEventQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorVariablesEventQuery)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) } -func (o MonitorVariablesEventQueryArrayOutput) ToMonitorVariablesEventQueryArrayOutput() MonitorVariablesEventQueryArrayOutput { - return o +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -func (o MonitorVariablesEventQueryArrayOutput) ToMonitorVariablesEventQueryArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryArrayOutput { - return o +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -func (o MonitorVariablesEventQueryArrayOutput) Index(i pulumi.IntInput) MonitorVariablesEventQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorVariablesEventQuery { - return vs[0].([]MonitorVariablesEventQuery)[vs[1].(int)] - }).(MonitorVariablesEventQueryOutput) +// A nested block describing the Y-Axis Controls. The structure of this block is described below. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Yaxis() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinitionYaxis { + if v == nil { + return nil + } + return v.Yaxis + }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) } -type MonitorVariablesEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` +type PowerpackWidgetHeatmapDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -// MonitorVariablesEventQueryComputeInput is an input type that accepts MonitorVariablesEventQueryComputeArgs and MonitorVariablesEventQueryComputeOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryComputeInput` via: +// PowerpackWidgetHeatmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArgs and PowerpackWidgetHeatmapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkInput` via: // -// MonitorVariablesEventQueryComputeArgs{...} -type MonitorVariablesEventQueryComputeInput interface { +// PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} +type PowerpackWidgetHeatmapDefinitionCustomLinkInput interface { pulumi.Input - ToMonitorVariablesEventQueryComputeOutput() MonitorVariablesEventQueryComputeOutput - ToMonitorVariablesEventQueryComputeOutputWithContext(context.Context) MonitorVariablesEventQueryComputeOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput } -type MonitorVariablesEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` +type PowerpackWidgetHeatmapDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (MonitorVariablesEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() } -func (i MonitorVariablesEventQueryComputeArgs) ToMonitorVariablesEventQueryComputeOutput() MonitorVariablesEventQueryComputeOutput { - return i.ToMonitorVariablesEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i MonitorVariablesEventQueryComputeArgs) ToMonitorVariablesEventQueryComputeOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkOutput) } -// MonitorVariablesEventQueryComputeArrayInput is an input type that accepts MonitorVariablesEventQueryComputeArray and MonitorVariablesEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryComputeArrayInput` via: +// PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArray and PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput` via: // -// MonitorVariablesEventQueryComputeArray{ MonitorVariablesEventQueryComputeArgs{...} } -type MonitorVariablesEventQueryComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionCustomLinkArray{ PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} } +type PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput interface { pulumi.Input - ToMonitorVariablesEventQueryComputeArrayOutput() MonitorVariablesEventQueryComputeArrayOutput - ToMonitorVariablesEventQueryComputeArrayOutputWithContext(context.Context) MonitorVariablesEventQueryComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput } -type MonitorVariablesEventQueryComputeArray []MonitorVariablesEventQueryComputeInput +type PowerpackWidgetHeatmapDefinitionCustomLinkArray []PowerpackWidgetHeatmapDefinitionCustomLinkInput -func (MonitorVariablesEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorVariablesEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() } -func (i MonitorVariablesEventQueryComputeArray) ToMonitorVariablesEventQueryComputeArrayOutput() MonitorVariablesEventQueryComputeArrayOutput { - return i.ToMonitorVariablesEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i MonitorVariablesEventQueryComputeArray) ToMonitorVariablesEventQueryComputeArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryComputeArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) } -type MonitorVariablesEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (MonitorVariablesEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() } -func (o MonitorVariablesEventQueryComputeOutput) ToMonitorVariablesEventQueryComputeOutput() MonitorVariablesEventQueryComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { return o } -func (o MonitorVariablesEventQueryComputeOutput) ToMonitorVariablesEventQueryComputeOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { return o } -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o MonitorVariablesEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -// A time interval in milliseconds. -func (o MonitorVariablesEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// The measurable attribute to compute. -func (o MonitorVariablesEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The URL of the custom link. +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -type MonitorVariablesEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} -func (MonitorVariablesEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorVariablesEventQueryCompute)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() } -func (o MonitorVariablesEventQueryComputeArrayOutput) ToMonitorVariablesEventQueryComputeArrayOutput() MonitorVariablesEventQueryComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { return o } -func (o MonitorVariablesEventQueryComputeArrayOutput) ToMonitorVariablesEventQueryComputeArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { return o } -func (o MonitorVariablesEventQueryComputeArrayOutput) Index(i pulumi.IntInput) MonitorVariablesEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorVariablesEventQueryCompute { - return vs[0].([]MonitorVariablesEventQueryCompute)[vs[1].(int)] - }).(MonitorVariablesEventQueryComputeOutput) +func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionCustomLink { + return vs[0].([]PowerpackWidgetHeatmapDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionCustomLinkOutput) } -type MonitorVariablesEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *MonitorVariablesEventQueryGroupBySort `pulumi:"sort"` +type PowerpackWidgetHeatmapDefinitionEvent struct { + // The event query to use in the widget. + Q string `pulumi:"q"` + // The execution method for multi-value filters. + TagsExecution *string `pulumi:"tagsExecution"` } -// MonitorVariablesEventQueryGroupByInput is an input type that accepts MonitorVariablesEventQueryGroupByArgs and MonitorVariablesEventQueryGroupByOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryGroupByInput` via: +// PowerpackWidgetHeatmapDefinitionEventInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArgs and PowerpackWidgetHeatmapDefinitionEventOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventInput` via: // -// MonitorVariablesEventQueryGroupByArgs{...} -type MonitorVariablesEventQueryGroupByInput interface { +// PowerpackWidgetHeatmapDefinitionEventArgs{...} +type PowerpackWidgetHeatmapDefinitionEventInput interface { pulumi.Input - ToMonitorVariablesEventQueryGroupByOutput() MonitorVariablesEventQueryGroupByOutput - ToMonitorVariablesEventQueryGroupByOutputWithContext(context.Context) MonitorVariablesEventQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput + ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventOutput } -type MonitorVariablesEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort MonitorVariablesEventQueryGroupBySortPtrInput `pulumi:"sort"` +type PowerpackWidgetHeatmapDefinitionEventArgs struct { + // The event query to use in the widget. + Q pulumi.StringInput `pulumi:"q"` + // The execution method for multi-value filters. + TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` } -func (MonitorVariablesEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (i MonitorVariablesEventQueryGroupByArgs) ToMonitorVariablesEventQueryGroupByOutput() MonitorVariablesEventQueryGroupByOutput { - return i.ToMonitorVariablesEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { + return i.ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Background()) } -func (i MonitorVariablesEventQueryGroupByArgs) ToMonitorVariablesEventQueryGroupByOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupByOutput) +func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventOutput) } -// MonitorVariablesEventQueryGroupByArrayInput is an input type that accepts MonitorVariablesEventQueryGroupByArray and MonitorVariablesEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryGroupByArrayInput` via: +// PowerpackWidgetHeatmapDefinitionEventArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArray and PowerpackWidgetHeatmapDefinitionEventArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventArrayInput` via: // -// MonitorVariablesEventQueryGroupByArray{ MonitorVariablesEventQueryGroupByArgs{...} } -type MonitorVariablesEventQueryGroupByArrayInput interface { +// PowerpackWidgetHeatmapDefinitionEventArray{ PowerpackWidgetHeatmapDefinitionEventArgs{...} } +type PowerpackWidgetHeatmapDefinitionEventArrayInput interface { pulumi.Input - ToMonitorVariablesEventQueryGroupByArrayOutput() MonitorVariablesEventQueryGroupByArrayOutput - ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(context.Context) MonitorVariablesEventQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput + ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput } -type MonitorVariablesEventQueryGroupByArray []MonitorVariablesEventQueryGroupByInput +type PowerpackWidgetHeatmapDefinitionEventArray []PowerpackWidgetHeatmapDefinitionEventInput -func (MonitorVariablesEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorVariablesEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (i MonitorVariablesEventQueryGroupByArray) ToMonitorVariablesEventQueryGroupByArrayOutput() MonitorVariablesEventQueryGroupByArrayOutput { - return i.ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Background()) } -func (i MonitorVariablesEventQueryGroupByArray) ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) } -type MonitorVariablesEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionEventOutput struct{ *pulumi.OutputState } -func (MonitorVariablesEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (o MonitorVariablesEventQueryGroupByOutput) ToMonitorVariablesEventQueryGroupByOutput() MonitorVariablesEventQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { return o } -func (o MonitorVariablesEventQueryGroupByOutput) ToMonitorVariablesEventQueryGroupByOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { return o } -// The event facet. -func (o MonitorVariablesEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o MonitorVariablesEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The event query to use in the widget. +func (o PowerpackWidgetHeatmapDefinitionEventOutput) Q() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionEvent) string { return v.Q }).(pulumi.StringOutput) } -// The options for sorting group by results. -func (o MonitorVariablesEventQueryGroupByOutput) Sort() MonitorVariablesEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryGroupBy) *MonitorVariablesEventQueryGroupBySort { return v.Sort }).(MonitorVariablesEventQueryGroupBySortPtrOutput) +// The execution method for multi-value filters. +func (o PowerpackWidgetHeatmapDefinitionEventOutput) TagsExecution() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionEvent) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) } -type MonitorVariablesEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionEventArrayOutput struct{ *pulumi.OutputState } -func (MonitorVariablesEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MonitorVariablesEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (o MonitorVariablesEventQueryGroupByArrayOutput) ToMonitorVariablesEventQueryGroupByArrayOutput() MonitorVariablesEventQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { return o } -func (o MonitorVariablesEventQueryGroupByArrayOutput) ToMonitorVariablesEventQueryGroupByArrayOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { return o } -func (o MonitorVariablesEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) MonitorVariablesEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitorVariablesEventQueryGroupBy { - return vs[0].([]MonitorVariablesEventQueryGroupBy)[vs[1].(int)] - }).(MonitorVariablesEventQueryGroupByOutput) +func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionEventOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionEvent { + return vs[0].([]PowerpackWidgetHeatmapDefinitionEvent)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionEventOutput) } -type MonitorVariablesEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` +type PowerpackWidgetHeatmapDefinitionRequest struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetHeatmapDefinitionRequestApmQuery `pulumi:"apmQuery"` + Formulas []PowerpackWidgetHeatmapDefinitionRequestFormula `pulumi:"formulas"` + // The query to use for this widget. + LogQuery *PowerpackWidgetHeatmapDefinitionRequestLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetHeatmapDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetHeatmapDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetHeatmapDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery `pulumi:"securityQuery"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style *PowerpackWidgetHeatmapDefinitionRequestStyle `pulumi:"style"` } -// MonitorVariablesEventQueryGroupBySortInput is an input type that accepts MonitorVariablesEventQueryGroupBySortArgs and MonitorVariablesEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryGroupBySortInput` via: +// PowerpackWidgetHeatmapDefinitionRequestInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestArgs and PowerpackWidgetHeatmapDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestInput` via: // -// MonitorVariablesEventQueryGroupBySortArgs{...} -type MonitorVariablesEventQueryGroupBySortInput interface { +// PowerpackWidgetHeatmapDefinitionRequestArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestInput interface { pulumi.Input - ToMonitorVariablesEventQueryGroupBySortOutput() MonitorVariablesEventQueryGroupBySortOutput - ToMonitorVariablesEventQueryGroupBySortOutputWithContext(context.Context) MonitorVariablesEventQueryGroupBySortOutput -} - -type MonitorVariablesEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (MonitorVariablesEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQueryGroupBySort)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput + ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput } -func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortOutput() MonitorVariablesEventQueryGroupBySortOutput { - return i.ToMonitorVariablesEventQueryGroupBySortOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + Formulas PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The query to use for this widget. + LogQuery PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style PowerpackWidgetHeatmapDefinitionRequestStylePtrInput `pulumi:"style"` } -func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupBySortOutput) +func (PowerpackWidgetHeatmapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { - return i.ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(context.Background()) } -func (i MonitorVariablesEventQueryGroupBySortArgs) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupBySortOutput).ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestOutput) } -// MonitorVariablesEventQueryGroupBySortPtrInput is an input type that accepts MonitorVariablesEventQueryGroupBySortArgs, MonitorVariablesEventQueryGroupBySortPtr and MonitorVariablesEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQueryGroupBySortPtrInput` via: -// -// MonitorVariablesEventQueryGroupBySortArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestArray and PowerpackWidgetHeatmapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestArrayInput` via: // -// nil -type MonitorVariablesEventQueryGroupBySortPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestArray{ PowerpackWidgetHeatmapDefinitionRequestArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestArrayInput interface { pulumi.Input - ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput - ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput } -type monitorVariablesEventQueryGroupBySortPtrType MonitorVariablesEventQueryGroupBySortArgs - -func MonitorVariablesEventQueryGroupBySortPtr(v *MonitorVariablesEventQueryGroupBySortArgs) MonitorVariablesEventQueryGroupBySortPtrInput { - return (*monitorVariablesEventQueryGroupBySortPtrType)(v) -} +type PowerpackWidgetHeatmapDefinitionRequestArray []PowerpackWidgetHeatmapDefinitionRequestInput -func (*monitorVariablesEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorVariablesEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (i *monitorVariablesEventQueryGroupBySortPtrType) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { - return i.ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i *monitorVariablesEventQueryGroupBySortPtrType) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQueryGroupBySortPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) } -type MonitorVariablesEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestOutput struct{ *pulumi.OutputState } -func (MonitorVariablesEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortOutput() MonitorVariablesEventQueryGroupBySortOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { return o } -func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { return o } -func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { - return o.ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ApmQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) } -func (o MonitorVariablesEventQueryGroupBySortOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MonitorVariablesEventQueryGroupBySort) *MonitorVariablesEventQueryGroupBySort { - return &v - }).(MonitorVariablesEventQueryGroupBySortPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Formulas() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o MonitorVariablesEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) LogQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) } -// The metric used for sorting group by results. -func (o MonitorVariablesEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ProcessQuery() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o MonitorVariablesEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v MonitorVariablesEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) } -type MonitorVariablesEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Queries() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) +} -func (MonitorVariablesEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MonitorVariablesEventQueryGroupBySort)(nil)).Elem() -} - -func (o MonitorVariablesEventQueryGroupBySortPtrOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutput() MonitorVariablesEventQueryGroupBySortPtrOutput { - return o -} - -func (o MonitorVariablesEventQueryGroupBySortPtrOutput) ToMonitorVariablesEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) MonitorVariablesEventQueryGroupBySortPtrOutput { - return o -} - -func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Elem() MonitorVariablesEventQueryGroupBySortOutput { - return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) MonitorVariablesEventQueryGroupBySort { - if v != nil { - return *v - } - var ret MonitorVariablesEventQueryGroupBySort - return ret - }).(MonitorVariablesEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o MonitorVariablesEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MonitorVariablesEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - -type MonitorVariablesEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` -} - -// MonitorVariablesEventQuerySearchInput is an input type that accepts MonitorVariablesEventQuerySearchArgs and MonitorVariablesEventQuerySearchOutput values. -// You can construct a concrete instance of `MonitorVariablesEventQuerySearchInput` via: -// -// MonitorVariablesEventQuerySearchArgs{...} -type MonitorVariablesEventQuerySearchInput interface { - pulumi.Input - - ToMonitorVariablesEventQuerySearchOutput() MonitorVariablesEventQuerySearchOutput - ToMonitorVariablesEventQuerySearchOutputWithContext(context.Context) MonitorVariablesEventQuerySearchOutput -} - -type MonitorVariablesEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (MonitorVariablesEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQuerySearch)(nil)).Elem() +// The query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) RumQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) } -func (i MonitorVariablesEventQuerySearchArgs) ToMonitorVariablesEventQuerySearchOutput() MonitorVariablesEventQuerySearchOutput { - return i.ToMonitorVariablesEventQuerySearchOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) SecurityQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) } -func (i MonitorVariablesEventQuerySearchArgs) ToMonitorVariablesEventQuerySearchOutputWithContext(ctx context.Context) MonitorVariablesEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(MonitorVariablesEventQuerySearchOutput) +// The style of the widget graph. One nested block is allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Style() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestStyle { + return v.Style + }).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) } -type MonitorVariablesEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (MonitorVariablesEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MonitorVariablesEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (o MonitorVariablesEventQuerySearchOutput) ToMonitorVariablesEventQuerySearchOutput() MonitorVariablesEventQuerySearchOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { return o } -func (o MonitorVariablesEventQuerySearchOutput) ToMonitorVariablesEventQuerySearchOutputWithContext(ctx context.Context) MonitorVariablesEventQuerySearchOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { return o } -// The events search string. -func (o MonitorVariablesEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v MonitorVariablesEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequest { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestOutput) } -type OrganizationSettingsSettings struct { - // Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. - PrivateWidgetShare *bool `pulumi:"privateWidgetShare"` - // SAML properties - Saml OrganizationSettingsSettingsSaml `pulumi:"saml"` - // The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. - SamlAutocreateAccessRole *string `pulumi:"samlAutocreateAccessRole"` - // List of domains where the SAML automated user creation is enabled. - SamlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomains `pulumi:"samlAutocreateUsersDomains"` - // Whether or not SAML can be enabled for this organization. - SamlCanBeEnabled *bool `pulumi:"samlCanBeEnabled"` - // Identity provider endpoint for SAML authentication. - SamlIdpEndpoint *string `pulumi:"samlIdpEndpoint"` - // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. - SamlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLogin `pulumi:"samlIdpInitiatedLogin"` - // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. - SamlIdpMetadataUploaded *bool `pulumi:"samlIdpMetadataUploaded"` - // URL for SAML logging. - SamlLoginUrl *string `pulumi:"samlLoginUrl"` - // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. - SamlStrictMode OrganizationSettingsSettingsSamlStrictMode `pulumi:"samlStrictMode"` +type PowerpackWidgetHeatmapDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// OrganizationSettingsSettingsInput is an input type that accepts OrganizationSettingsSettingsArgs and OrganizationSettingsSettingsOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryInput` via: // -// OrganizationSettingsSettingsArgs{...} -type OrganizationSettingsSettingsInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryInput interface { pulumi.Input - ToOrganizationSettingsSettingsOutput() OrganizationSettingsSettingsOutput - ToOrganizationSettingsSettingsOutputWithContext(context.Context) OrganizationSettingsSettingsOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput } -type OrganizationSettingsSettingsArgs struct { - // Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. - PrivateWidgetShare pulumi.BoolPtrInput `pulumi:"privateWidgetShare"` - // SAML properties - Saml OrganizationSettingsSettingsSamlInput `pulumi:"saml"` - // The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. - SamlAutocreateAccessRole pulumi.StringPtrInput `pulumi:"samlAutocreateAccessRole"` - // List of domains where the SAML automated user creation is enabled. - SamlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput `pulumi:"samlAutocreateUsersDomains"` - // Whether or not SAML can be enabled for this organization. - SamlCanBeEnabled pulumi.BoolPtrInput `pulumi:"samlCanBeEnabled"` - // Identity provider endpoint for SAML authentication. - SamlIdpEndpoint pulumi.StringPtrInput `pulumi:"samlIdpEndpoint"` - // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. - SamlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLoginInput `pulumi:"samlIdpInitiatedLogin"` - // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. - SamlIdpMetadataUploaded pulumi.BoolPtrInput `pulumi:"samlIdpMetadataUploaded"` - // URL for SAML logging. - SamlLoginUrl pulumi.StringPtrInput `pulumi:"samlLoginUrl"` - // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. - SamlStrictMode OrganizationSettingsSettingsSamlStrictModeInput `pulumi:"samlStrictMode"` +type PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (OrganizationSettingsSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettings)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() } -func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsOutput() OrganizationSettingsSettingsOutput { - return i.ToOrganizationSettingsSettingsOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) } -func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { - return i.ToOrganizationSettingsSettingsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsArgs) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsOutput).ToOrganizationSettingsSettingsPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// OrganizationSettingsSettingsPtrInput is an input type that accepts OrganizationSettingsSettingsArgs, OrganizationSettingsSettingsPtr and OrganizationSettingsSettingsPtrOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput` via: // -// OrganizationSettingsSettingsArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} // // or: // // nil -type OrganizationSettingsSettingsPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput - ToOrganizationSettingsSettingsPtrOutputWithContext(context.Context) OrganizationSettingsSettingsPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput } -type organizationSettingsSettingsPtrType OrganizationSettingsSettingsArgs +type powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs -func OrganizationSettingsSettingsPtr(v *OrganizationSettingsSettingsArgs) OrganizationSettingsSettingsPtrInput { - return (*organizationSettingsSettingsPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType)(v) } -func (*organizationSettingsSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettings)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() } -func (i *organizationSettingsSettingsPtrType) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { - return i.ToOrganizationSettingsSettingsPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *organizationSettingsSettingsPtrType) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) } -type OrganizationSettingsSettingsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (OrganizationSettingsSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettings)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() } -func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsOutput() OrganizationSettingsSettingsOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { return o } -func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { return o } -func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { - return o.ToOrganizationSettingsSettingsPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o OrganizationSettingsSettingsOutput) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettings) *OrganizationSettingsSettings { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { return &v - }).(OrganizationSettingsSettingsPtrOutput) -} - -// Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. -func (o OrganizationSettingsSettingsOutput) PrivateWidgetShare() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) *bool { return v.PrivateWidgetShare }).(pulumi.BoolPtrOutput) -} - -// SAML properties -func (o OrganizationSettingsSettingsOutput) Saml() OrganizationSettingsSettingsSamlOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSaml { return v.Saml }).(OrganizationSettingsSettingsSamlOutput) -} - -// The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. -func (o OrganizationSettingsSettingsOutput) SamlAutocreateAccessRole() pulumi.StringPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) *string { return v.SamlAutocreateAccessRole }).(pulumi.StringPtrOutput) -} - -// List of domains where the SAML automated user creation is enabled. -func (o OrganizationSettingsSettingsOutput) SamlAutocreateUsersDomains() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSamlAutocreateUsersDomains { - return v.SamlAutocreateUsersDomains - }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) -} - -// Whether or not SAML can be enabled for this organization. -func (o OrganizationSettingsSettingsOutput) SamlCanBeEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) *bool { return v.SamlCanBeEnabled }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) } -// Identity provider endpoint for SAML authentication. -func (o OrganizationSettingsSettingsOutput) SamlIdpEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) *string { return v.SamlIdpEndpoint }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. -func (o OrganizationSettingsSettingsOutput) SamlIdpInitiatedLogin() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSamlIdpInitiatedLogin { - return v.SamlIdpInitiatedLogin - }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) } -// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. -func (o OrganizationSettingsSettingsOutput) SamlIdpMetadataUploaded() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) *bool { return v.SamlIdpMetadataUploaded }).(pulumi.BoolPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// URL for SAML logging. -func (o OrganizationSettingsSettingsOutput) SamlLoginUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) *string { return v.SamlLoginUrl }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) } -// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. -func (o OrganizationSettingsSettingsOutput) SamlStrictMode() OrganizationSettingsSettingsSamlStrictModeOutput { - return o.ApplyT(func(v OrganizationSettingsSettings) OrganizationSettingsSettingsSamlStrictMode { - return v.SamlStrictMode - }).(OrganizationSettingsSettingsSamlStrictModeOutput) +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type OrganizationSettingsSettingsPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -func (OrganizationSettingsSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettings)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() } -func (o OrganizationSettingsSettingsPtrOutput) ToOrganizationSettingsSettingsPtrOutput() OrganizationSettingsSettingsPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { return o } -func (o OrganizationSettingsSettingsPtrOutput) ToOrganizationSettingsSettingsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { return o } -func (o OrganizationSettingsSettingsPtrOutput) Elem() OrganizationSettingsSettingsOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) OrganizationSettingsSettings { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) PowerpackWidgetHeatmapDefinitionRequestApmQuery { if v != nil { return *v } - var ret OrganizationSettingsSettings + var ret PowerpackWidgetHeatmapDefinitionRequestApmQuery return ret - }).(OrganizationSettingsSettingsOutput) -} - -// Whether or not the organization users can share widgets outside of Datadog. Defaults to `false`. -func (o OrganizationSettingsSettingsPtrOutput) PrivateWidgetShare() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *bool { - if v == nil { - return nil - } - return v.PrivateWidgetShare - }).(pulumi.BoolPtrOutput) -} - -// SAML properties -func (o OrganizationSettingsSettingsPtrOutput) Saml() OrganizationSettingsSettingsSamlPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSaml { - if v == nil { - return nil - } - return &v.Saml - }).(OrganizationSettingsSettingsSamlPtrOutput) -} - -// The access role of the user. Options are `st` (standard user), `adm` (admin user), or `ro` (read-only user). Allowed enum values: `st`, `adm` , `ro`, `ERROR` Defaults to `"st"`. -func (o OrganizationSettingsSettingsPtrOutput) SamlAutocreateAccessRole() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *string { - if v == nil { - return nil - } - return v.SamlAutocreateAccessRole - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) } -// List of domains where the SAML automated user creation is enabled. -func (o OrganizationSettingsSettingsPtrOutput) SamlAutocreateUsersDomains() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSamlAutocreateUsersDomains { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { if v == nil { return nil } - return &v.SamlAutocreateUsersDomains - }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Whether or not SAML can be enabled for this organization. -func (o OrganizationSettingsSettingsPtrOutput) SamlCanBeEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *bool { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy { if v == nil { return nil } - return v.SamlCanBeEnabled - }).(pulumi.BoolPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) } -// Identity provider endpoint for SAML authentication. -func (o OrganizationSettingsSettingsPtrOutput) SamlIdpEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *string { +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { if v == nil { return nil } - return v.SamlIdpEndpoint + return &v.Index }).(pulumi.StringPtrOutput) } -// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. -func (o OrganizationSettingsSettingsPtrOutput) SamlIdpInitiatedLogin() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSamlIdpInitiatedLogin { - if v == nil { - return nil - } - return &v.SamlIdpInitiatedLogin - }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) -} - -// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. -func (o OrganizationSettingsSettingsPtrOutput) SamlIdpMetadataUploaded() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *bool { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute { if v == nil { return nil } - return v.SamlIdpMetadataUploaded - }).(pulumi.BoolPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) } -// URL for SAML logging. -func (o OrganizationSettingsSettingsPtrOutput) SamlLoginUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *string { +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { if v == nil { return nil } - return v.SamlLoginUrl + return v.SearchQuery }).(pulumi.StringPtrOutput) } -// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. -func (o OrganizationSettingsSettingsPtrOutput) SamlStrictMode() OrganizationSettingsSettingsSamlStrictModePtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettings) *OrganizationSettingsSettingsSamlStrictMode { - if v == nil { - return nil - } - return &v.SamlStrictMode - }).(OrganizationSettingsSettingsSamlStrictModePtrOutput) -} - -type OrganizationSettingsSettingsSaml struct { - // Whether or not SAML is enabled for this organization. Defaults to `false`. - Enabled *bool `pulumi:"enabled"` +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery 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"` } -// OrganizationSettingsSettingsSamlInput is an input type that accepts OrganizationSettingsSettingsSamlArgs and OrganizationSettingsSettingsSamlOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput` via: // -// OrganizationSettingsSettingsSamlArgs{...} -type OrganizationSettingsSettingsSamlInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToOrganizationSettingsSettingsSamlOutput() OrganizationSettingsSettingsSamlOutput - ToOrganizationSettingsSettingsSamlOutputWithContext(context.Context) OrganizationSettingsSettingsSamlOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput } -type OrganizationSettingsSettingsSamlArgs struct { - // Whether or not SAML is enabled for this organization. Defaults to `false`. - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs 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 (OrganizationSettingsSettingsSamlArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSaml)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlOutput() OrganizationSettingsSettingsSamlOutput { - return i.ToOrganizationSettingsSettingsSamlOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) } -func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { - return i.ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsSamlArgs) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlOutput).ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// OrganizationSettingsSettingsSamlPtrInput is an input type that accepts OrganizationSettingsSettingsSamlArgs, OrganizationSettingsSettingsSamlPtr and OrganizationSettingsSettingsSamlPtrOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// OrganizationSettingsSettingsSamlArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type OrganizationSettingsSettingsSamlPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput - ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput } -type organizationSettingsSettingsSamlPtrType OrganizationSettingsSettingsSamlArgs +type powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs -func OrganizationSettingsSettingsSamlPtr(v *OrganizationSettingsSettingsSamlArgs) OrganizationSettingsSettingsSamlPtrInput { - return (*organizationSettingsSettingsSamlPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*organizationSettingsSettingsSamlPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSaml)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *organizationSettingsSettingsSamlPtrType) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { - return i.ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *organizationSettingsSettingsSamlPtrType) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) } -type OrganizationSettingsSettingsSamlOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (OrganizationSettingsSettingsSamlOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSaml)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlOutput() OrganizationSettingsSettingsSamlOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { - return o.ToOrganizationSettingsSettingsSamlPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o OrganizationSettingsSettingsSamlOutput) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSaml) *OrganizationSettingsSettingsSaml { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { return &v - }).(OrganizationSettingsSettingsSamlPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Whether or not SAML is enabled for this organization. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettingsSaml) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -type OrganizationSettingsSettingsSamlPtrOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (OrganizationSettingsSettingsSamlPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSaml)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o OrganizationSettingsSettingsSamlPtrOutput) ToOrganizationSettingsSettingsSamlPtrOutput() OrganizationSettingsSettingsSamlPtrOutput { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o OrganizationSettingsSettingsSamlPtrOutput) ToOrganizationSettingsSettingsSamlPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o OrganizationSettingsSettingsSamlPtrOutput) Elem() OrganizationSettingsSettingsSamlOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSaml) OrganizationSettingsSettingsSaml { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret OrganizationSettingsSettingsSaml + var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery return ret - }).(OrganizationSettingsSettingsSamlOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) } -// Whether or not SAML is enabled for this organization. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSaml) *bool { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type OrganizationSettingsSettingsSamlAutocreateUsersDomains struct { - // List of domains where the SAML automated user creation is enabled. - Domains []string `pulumi:"domains"` - // Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. - Enabled *bool `pulumi:"enabled"` +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -// OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput is an input type that accepts OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs and OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput` via: -// -// OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs{...} -type OrganizationSettingsSettingsSamlAutocreateUsersDomainsInput interface { - pulumi.Input - - ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput - ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -type OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs struct { - // List of domains where the SAML automated user creation is enabled. - Domains pulumi.StringArrayInput `pulumi:"domains"` - // Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -func (OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput } -func (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { - return i.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { - return i.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput).ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) } -// OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput is an input type that accepts OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs, OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtr and OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput` via: -// -// OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput` via: // -// nil -type OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput - ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput } -type organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs - -func OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtr(v *OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrInput { - return (*organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType)(v) -} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput -func (*organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i *organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { - return i.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *organizationSettingsSettingsSamlAutocreateUsersDomainsPtrType) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) } -type OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { return o } -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { return o } -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { - return o.ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(context.Background()) -} - -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSamlAutocreateUsersDomains) *OrganizationSettingsSettingsSamlAutocreateUsersDomains { - return &v - }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// List of domains where the SAML automated user creation is enabled. -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) Domains() pulumi.StringArrayOutput { - return o.ApplyT(func(v OrganizationSettingsSettingsSamlAutocreateUsersDomains) []string { return v.Domains }).(pulumi.StringArrayOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettingsSamlAutocreateUsersDomains) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSamlAutocreateUsersDomains)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput() OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) ToOrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) Elem() OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSamlAutocreateUsersDomains) OrganizationSettingsSettingsSamlAutocreateUsersDomains { - if v != nil { - return *v - } - var ret OrganizationSettingsSettingsSamlAutocreateUsersDomains - return ret - }).(OrganizationSettingsSettingsSamlAutocreateUsersDomainsOutput) -} - -// List of domains where the SAML automated user creation is enabled. -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) Domains() pulumi.StringArrayOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSamlAutocreateUsersDomains) []string { - if v == nil { - return nil - } - return v.Domains - }).(pulumi.StringArrayOutput) -} - -// Whether or not the automated user creation based on SAML domain is enabled. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlAutocreateUsersDomainsPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSamlAutocreateUsersDomains) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) } -type OrganizationSettingsSettingsSamlIdpInitiatedLogin struct { - // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. - Enabled *bool `pulumi:"enabled"` +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// OrganizationSettingsSettingsSamlIdpInitiatedLoginInput is an input type that accepts OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs and OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlIdpInitiatedLoginInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs{...} -type OrganizationSettingsSettingsSamlIdpInitiatedLoginInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput - ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput } -type OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs struct { - // Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { - return i.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { - return i.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput).ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput is an input type that accepts OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs, OrganizationSettingsSettingsSamlIdpInitiatedLoginPtr and OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput - ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type organizationSettingsSettingsSamlIdpInitiatedLoginPtrType OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs +type powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs -func OrganizationSettingsSettingsSamlIdpInitiatedLoginPtr(v *OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrInput { - return (*organizationSettingsSettingsSamlIdpInitiatedLoginPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*organizationSettingsSettingsSamlIdpInitiatedLoginPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *organizationSettingsSettingsSamlIdpInitiatedLoginPtrType) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { - return i.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *organizationSettingsSettingsSamlIdpInitiatedLoginPtrType) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { - return o.ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSamlIdpInitiatedLogin) *OrganizationSettingsSettingsSamlIdpInitiatedLogin { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { return &v - }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettingsSamlIdpInitiatedLogin) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -type OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSamlIdpInitiatedLogin)(nil)).Elem() +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput() OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) ToOrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) Elem() OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSamlIdpInitiatedLogin) OrganizationSettingsSettingsSamlIdpInitiatedLogin { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret OrganizationSettingsSettingsSamlIdpInitiatedLogin + var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery return ret - }).(OrganizationSettingsSettingsSamlIdpInitiatedLoginOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) } -// Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlIdpInitiatedLoginPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSamlIdpInitiatedLogin) *bool { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type OrganizationSettingsSettingsSamlStrictMode struct { - // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. - Enabled *bool `pulumi:"enabled"` +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -// OrganizationSettingsSettingsSamlStrictModeInput is an input type that accepts OrganizationSettingsSettingsSamlStrictModeArgs and OrganizationSettingsSettingsSamlStrictModeOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlStrictModeInput` via: -// -// OrganizationSettingsSettingsSamlStrictModeArgs{...} -type OrganizationSettingsSettingsSamlStrictModeInput interface { - pulumi.Input - - ToOrganizationSettingsSettingsSamlStrictModeOutput() OrganizationSettingsSettingsSamlStrictModeOutput - ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(context.Context) OrganizationSettingsSettingsSamlStrictModeOutput +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -type OrganizationSettingsSettingsSamlStrictModeArgs struct { - // Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute 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"` } -func (OrganizationSettingsSettingsSamlStrictModeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput } -func (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModeOutput() OrganizationSettingsSettingsSamlStrictModeOutput { - return i.ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs 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 (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModeOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlStrictModeOutput) +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { - return i.ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i OrganizationSettingsSettingsSamlStrictModeArgs) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlStrictModeOutput).ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) } -// OrganizationSettingsSettingsSamlStrictModePtrInput is an input type that accepts OrganizationSettingsSettingsSamlStrictModeArgs, OrganizationSettingsSettingsSamlStrictModePtr and OrganizationSettingsSettingsSamlStrictModePtrOutput values. -// You can construct a concrete instance of `OrganizationSettingsSettingsSamlStrictModePtrInput` via: -// -// OrganizationSettingsSettingsSamlStrictModeArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// nil -type OrganizationSettingsSettingsSamlStrictModePtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput - ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput } -type organizationSettingsSettingsSamlStrictModePtrType OrganizationSettingsSettingsSamlStrictModeArgs +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput -func OrganizationSettingsSettingsSamlStrictModePtr(v *OrganizationSettingsSettingsSamlStrictModeArgs) OrganizationSettingsSettingsSamlStrictModePtrInput { - return (*organizationSettingsSettingsSamlStrictModePtrType)(v) +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (*organizationSettingsSettingsSamlStrictModePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *organizationSettingsSettingsSamlStrictModePtrType) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { - return i.ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) } -func (i *organizationSettingsSettingsSamlStrictModePtrType) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(OrganizationSettingsSettingsSamlStrictModePtrOutput) -} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -type OrganizationSettingsSettingsSamlStrictModeOutput struct{ *pulumi.OutputState } +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} -func (OrganizationSettingsSettingsSamlStrictModeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() -} - -func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModeOutput() OrganizationSettingsSettingsSamlStrictModeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModeOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { - return o.ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o OrganizationSettingsSettingsSamlStrictModeOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v OrganizationSettingsSettingsSamlStrictMode) *OrganizationSettingsSettingsSamlStrictMode { - return &v - }).(OrganizationSettingsSettingsSamlStrictModePtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlStrictModeOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v OrganizationSettingsSettingsSamlStrictMode) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type OrganizationSettingsSettingsSamlStrictModePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (OrganizationSettingsSettingsSamlStrictModePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**OrganizationSettingsSettingsSamlStrictMode)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutput() OrganizationSettingsSettingsSamlStrictModePtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) ToOrganizationSettingsSettingsSamlStrictModePtrOutputWithContext(ctx context.Context) OrganizationSettingsSettingsSamlStrictModePtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) Elem() OrganizationSettingsSettingsSamlStrictModeOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSamlStrictMode) OrganizationSettingsSettingsSamlStrictMode { - if v != nil { - return *v - } - var ret OrganizationSettingsSettingsSamlStrictMode - return ret - }).(OrganizationSettingsSettingsSamlStrictModeOutput) -} - -// Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to `false`. -func (o OrganizationSettingsSettingsSamlStrictModePtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *OrganizationSettingsSettingsSamlStrictMode) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) } -type PowerpackLayout struct { - // The height of the widget. - Height *int `pulumi:"height"` - // The width of the widget. - Width *int `pulumi:"width"` - // The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. - X *int `pulumi:"x"` - // The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. - Y *int `pulumi:"y"` +type PowerpackWidgetHeatmapDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle `pulumi:"style"` } -// PowerpackLayoutInput is an input type that accepts PowerpackLayoutArgs and PowerpackLayoutOutput values. -// You can construct a concrete instance of `PowerpackLayoutInput` via: +// PowerpackWidgetHeatmapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaInput` via: // -// PowerpackLayoutArgs{...} -type PowerpackLayoutInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackLayoutOutput() PowerpackLayoutOutput - ToPowerpackLayoutOutputWithContext(context.Context) PowerpackLayoutOutput -} - -type PowerpackLayoutArgs struct { - // The height of the widget. - Height pulumi.IntPtrInput `pulumi:"height"` - // The width of the widget. - Width pulumi.IntPtrInput `pulumi:"width"` - // The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. - X pulumi.IntPtrInput `pulumi:"x"` - // The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. - Y pulumi.IntPtrInput `pulumi:"y"` -} - -func (PowerpackLayoutArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackLayout)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput } -func (i PowerpackLayoutArgs) ToPowerpackLayoutOutput() PowerpackLayoutOutput { - return i.ToPowerpackLayoutOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -func (i PowerpackLayoutArgs) ToPowerpackLayoutOutputWithContext(ctx context.Context) PowerpackLayoutOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackLayoutOutput) +func (PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackLayoutArgs) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { - return i.ToPowerpackLayoutPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackLayoutArgs) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackLayoutOutput).ToPowerpackLayoutPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) } -// PowerpackLayoutPtrInput is an input type that accepts PowerpackLayoutArgs, PowerpackLayoutPtr and PowerpackLayoutPtrOutput values. -// You can construct a concrete instance of `PowerpackLayoutPtrInput` via: -// -// PowerpackLayoutArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArray and PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput` via: // -// nil -type PowerpackLayoutPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput - ToPowerpackLayoutPtrOutputWithContext(context.Context) PowerpackLayoutPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput } -type powerpackLayoutPtrType PowerpackLayoutArgs - -func PowerpackLayoutPtr(v *PowerpackLayoutArgs) PowerpackLayoutPtrInput { - return (*powerpackLayoutPtrType)(v) -} +type PowerpackWidgetHeatmapDefinitionRequestFormulaArray []PowerpackWidgetHeatmapDefinitionRequestFormulaInput -func (*powerpackLayoutPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackLayout)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (i *powerpackLayoutPtrType) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { - return i.ToPowerpackLayoutPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i *powerpackLayoutPtrType) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackLayoutPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) } -type PowerpackLayoutOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackLayoutOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackLayout)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackLayoutOutput) ToPowerpackLayoutOutput() PowerpackLayoutOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { return o } -func (o PowerpackLayoutOutput) ToPowerpackLayoutOutputWithContext(ctx context.Context) PowerpackLayoutOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { return o } -func (o PowerpackLayoutOutput) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { - return o.ToPowerpackLayoutPtrOutputWithContext(context.Background()) +// An expression alias. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -func (o PowerpackLayoutOutput) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackLayout) *PowerpackLayout { - return &v - }).(PowerpackLayoutPtrOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -// The height of the widget. -func (o PowerpackLayoutOutput) Height() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackLayout) *int { return v.Height }).(pulumi.IntPtrOutput) +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) } -// The width of the widget. -func (o PowerpackLayoutOutput) Width() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackLayout) *int { return v.Width }).(pulumi.IntPtrOutput) +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -// The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. -func (o PowerpackLayoutOutput) X() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackLayout) *int { return v.X }).(pulumi.IntPtrOutput) +// The options for limiting results returned. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) } -// The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. -func (o PowerpackLayoutOutput) Y() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackLayout) *int { return v.Y }).(pulumi.IntPtrOutput) +// Styling options for widget formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Style() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) } -type PowerpackLayoutPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -func (PowerpackLayoutPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackLayout)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackLayoutPtrOutput) ToPowerpackLayoutPtrOutput() PowerpackLayoutPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackLayoutPtrOutput) ToPowerpackLayoutPtrOutputWithContext(ctx context.Context) PowerpackLayoutPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackLayoutPtrOutput) Elem() PowerpackLayoutOutput { - return o.ApplyT(func(v *PowerpackLayout) PowerpackLayout { - if v != nil { - return *v - } - var ret PowerpackLayout - return ret - }).(PowerpackLayoutOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) } -// The height of the widget. -func (o PowerpackLayoutPtrOutput) Height() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackLayout) *int { - if v == nil { - return nil - } - return v.Height - }).(pulumi.IntPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -// The width of the widget. -func (o PowerpackLayoutPtrOutput) Width() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackLayout) *int { - if v == nil { - return nil - } - return v.Width - }).(pulumi.IntPtrOutput) +// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput } -// The position of the widget on the x (horizontal) axis. Should be greater than or equal to 0. -func (o PowerpackLayoutPtrOutput) X() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackLayout) *int { - if v == nil { - return nil - } - return v.X - }).(pulumi.IntPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -// The position of the widget on the y (vertical) axis. Should be greater than or equal to 0. -func (o PowerpackLayoutPtrOutput) Y() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackLayout) *int { - if v == nil { - return nil - } - return v.Y - }).(pulumi.IntPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -type PowerpackTemplateVariable struct { - // One or many default values for powerpack template variables on load. If more than one default is specified, they will be unioned together with `OR`. - Defaults []string `pulumi:"defaults"` - // The name of the powerpack template variable. - Name string `pulumi:"name"` +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -// PowerpackTemplateVariableInput is an input type that accepts PowerpackTemplateVariableArgs and PowerpackTemplateVariableOutput values. -// You can construct a concrete instance of `PowerpackTemplateVariableInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) +} + +// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// PowerpackTemplateVariableArgs{...} -type PowerpackTemplateVariableInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackTemplateVariableOutput() PowerpackTemplateVariableOutput - ToPowerpackTemplateVariableOutputWithContext(context.Context) PowerpackTemplateVariableOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput } -type PowerpackTemplateVariableArgs struct { - // One or many default values for powerpack template variables on load. If more than one default is specified, they will be unioned together with `OR`. - Defaults pulumi.StringArrayInput `pulumi:"defaults"` - // The name of the powerpack template variable. - Name pulumi.StringInput `pulumi:"name"` +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput + +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (PowerpackTemplateVariableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackTemplateVariable)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i PowerpackTemplateVariableArgs) ToPowerpackTemplateVariableOutput() PowerpackTemplateVariableOutput { - return i.ToPowerpackTemplateVariableOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) } -func (i PowerpackTemplateVariableArgs) ToPowerpackTemplateVariableOutputWithContext(ctx context.Context) PowerpackTemplateVariableOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackTemplateVariableOutput) +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// PowerpackTemplateVariableArrayInput is an input type that accepts PowerpackTemplateVariableArray and PowerpackTemplateVariableArrayOutput values. -// You can construct a concrete instance of `PowerpackTemplateVariableArrayInput` via: -// -// PowerpackTemplateVariableArray{ PowerpackTemplateVariableArgs{...} } -type PowerpackTemplateVariableArrayInput interface { - pulumi.Input +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return o +} - ToPowerpackTemplateVariableArrayOutput() PowerpackTemplateVariableArrayOutput - ToPowerpackTemplateVariableArrayOutputWithContext(context.Context) PowerpackTemplateVariableArrayOutput +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return o } -type PowerpackTemplateVariableArray []PowerpackTemplateVariableInput +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +} -func (PowerpackTemplateVariableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackTemplateVariable)(nil)).Elem() +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) } -func (i PowerpackTemplateVariableArray) ToPowerpackTemplateVariableArrayOutput() PowerpackTemplateVariableArrayOutput { - return i.ToPowerpackTemplateVariableArrayOutputWithContext(context.Background()) +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor + }).(pulumi.StringPtrOutput) } -func (i PowerpackTemplateVariableArray) ToPowerpackTemplateVariableArrayOutputWithContext(ctx context.Context) PowerpackTemplateVariableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackTemplateVariableArrayOutput) +// Setting this to True hides values. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -type PowerpackTemplateVariableOutput struct{ *pulumi.OutputState } +// Displays an image as the background. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +} -func (PowerpackTemplateVariableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackTemplateVariable)(nil)).Elem() +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -func (o PowerpackTemplateVariableOutput) ToPowerpackTemplateVariableOutput() PowerpackTemplateVariableOutput { +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +} + +// Defines the displayed timeframe. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +} + +// A value for the comparator. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} + +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackTemplateVariableOutput) ToPowerpackTemplateVariableOutputWithContext(ctx context.Context) PowerpackTemplateVariableOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -// One or many default values for powerpack template variables on load. If more than one default is specified, they will be unioned together with `OR`. -func (o PowerpackTemplateVariableOutput) Defaults() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackTemplateVariable) []string { return v.Defaults }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) } -// The name of the powerpack template variable. -func (o PowerpackTemplateVariableOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackTemplateVariable) string { return v.Name }).(pulumi.StringOutput) +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` } -type PowerpackTemplateVariableArrayOutput struct{ *pulumi.OutputState } +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput interface { + pulumi.Input -func (PowerpackTemplateVariableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackTemplateVariable)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput } -func (o PowerpackTemplateVariableArrayOutput) ToPowerpackTemplateVariableArrayOutput() PowerpackTemplateVariableArrayOutput { - return o +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (o PowerpackTemplateVariableArrayOutput) ToPowerpackTemplateVariableArrayOutputWithContext(ctx context.Context) PowerpackTemplateVariableArrayOutput { - return o +func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackTemplateVariableArrayOutput) Index(i pulumi.IntInput) PowerpackTemplateVariableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackTemplateVariable { - return vs[0].([]PowerpackTemplateVariable)[vs[1].(int)] - }).(PowerpackTemplateVariableOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -type PowerpackWidget struct { - // The definition for a Alert Graph widget. - AlertGraphDefinition *PowerpackWidgetAlertGraphDefinition `pulumi:"alertGraphDefinition"` - // The definition for a Alert Value widget. - AlertValueDefinition *PowerpackWidgetAlertValueDefinition `pulumi:"alertValueDefinition"` - // The definition for a Change widget. - ChangeDefinition *PowerpackWidgetChangeDefinition `pulumi:"changeDefinition"` - // The definition for a Check Status widget. - CheckStatusDefinition *PowerpackWidgetCheckStatusDefinition `pulumi:"checkStatusDefinition"` - // The definition for a Distribution widget. - DistributionDefinition *PowerpackWidgetDistributionDefinition `pulumi:"distributionDefinition"` - // The definition for a Event Stream widget. - EventStreamDefinition *PowerpackWidgetEventStreamDefinition `pulumi:"eventStreamDefinition"` - // The definition for a Event Timeline widget. - EventTimelineDefinition *PowerpackWidgetEventTimelineDefinition `pulumi:"eventTimelineDefinition"` - // The definition for a Free Text widget. - FreeTextDefinition *PowerpackWidgetFreeTextDefinition `pulumi:"freeTextDefinition"` - // The definition for a Geomap widget. - GeomapDefinition *PowerpackWidgetGeomapDefinition `pulumi:"geomapDefinition"` - // The definition for a Heatmap widget. - HeatmapDefinition *PowerpackWidgetHeatmapDefinition `pulumi:"heatmapDefinition"` - // The definition for a Hostmap widget. - HostmapDefinition *PowerpackWidgetHostmapDefinition `pulumi:"hostmapDefinition"` - // The ID of the widget. - Id *int `pulumi:"id"` - // The definition for an Iframe widget. - IframeDefinition *PowerpackWidgetIframeDefinition `pulumi:"iframeDefinition"` - // The definition for an Image widget - ImageDefinition *PowerpackWidgetImageDefinition `pulumi:"imageDefinition"` - // The definition for a List Stream widget. - ListStreamDefinition *PowerpackWidgetListStreamDefinition `pulumi:"listStreamDefinition"` - // The definition for an Log Stream widget. - LogStreamDefinition *PowerpackWidgetLogStreamDefinition `pulumi:"logStreamDefinition"` - // The definition for an Manage Status widget. - ManageStatusDefinition *PowerpackWidgetManageStatusDefinition `pulumi:"manageStatusDefinition"` - // The definition for a Note widget. - NoteDefinition *PowerpackWidgetNoteDefinition `pulumi:"noteDefinition"` - // The definition for a Query Table widget. - QueryTableDefinition *PowerpackWidgetQueryTableDefinition `pulumi:"queryTableDefinition"` - // The definition for a Query Value widget. - QueryValueDefinition *PowerpackWidgetQueryValueDefinition `pulumi:"queryValueDefinition"` - // The definition for a Run Workflow widget. - RunWorkflowDefinition *PowerpackWidgetRunWorkflowDefinition `pulumi:"runWorkflowDefinition"` - // The definition for a Scatterplot widget. - ScatterplotDefinition *PowerpackWidgetScatterplotDefinition `pulumi:"scatterplotDefinition"` - // The definition for a Service Level Objective widget. - ServiceLevelObjectiveDefinition *PowerpackWidgetServiceLevelObjectiveDefinition `pulumi:"serviceLevelObjectiveDefinition"` - // The definition for a Service Map widget. - ServicemapDefinition *PowerpackWidgetServicemapDefinition `pulumi:"servicemapDefinition"` - // The definition for an SLO (Service Level Objective) List widget. - SloListDefinition *PowerpackWidgetSloListDefinition `pulumi:"sloListDefinition"` - // The definition for a Sunburst widget. - SunburstDefinition *PowerpackWidgetSunburstDefinition `pulumi:"sunburstDefinition"` - // The definition for a Timeseries widget. - TimeseriesDefinition *PowerpackWidgetTimeseriesDefinition `pulumi:"timeseriesDefinition"` - // The definition for a Toplist widget. - ToplistDefinition *PowerpackWidgetToplistDefinition `pulumi:"toplistDefinition"` - // The definition for a Topology Map widget. - TopologyMapDefinition *PowerpackWidgetTopologyMapDefinition `pulumi:"topologyMapDefinition"` - // The definition for a Trace Service widget. - TraceServiceDefinition *PowerpackWidgetTraceServiceDefinition `pulumi:"traceServiceDefinition"` - // The definition for a Treemap widget. - TreemapDefinition *PowerpackWidgetTreemapDefinition `pulumi:"treemapDefinition"` - // The layout of the widget on a 'free' dashboard. - WidgetLayout *PowerpackWidgetWidgetLayout `pulumi:"widgetLayout"` -} - -// PowerpackWidgetInput is an input type that accepts PowerpackWidgetArgs and PowerpackWidgetOutput values. -// You can construct a concrete instance of `PowerpackWidgetInput` via: -// -// PowerpackWidgetArgs{...} -type PowerpackWidgetInput interface { - pulumi.Input - - ToPowerpackWidgetOutput() PowerpackWidgetOutput - ToPowerpackWidgetOutputWithContext(context.Context) PowerpackWidgetOutput -} - -type PowerpackWidgetArgs struct { - // The definition for a Alert Graph widget. - AlertGraphDefinition PowerpackWidgetAlertGraphDefinitionPtrInput `pulumi:"alertGraphDefinition"` - // The definition for a Alert Value widget. - AlertValueDefinition PowerpackWidgetAlertValueDefinitionPtrInput `pulumi:"alertValueDefinition"` - // The definition for a Change widget. - ChangeDefinition PowerpackWidgetChangeDefinitionPtrInput `pulumi:"changeDefinition"` - // The definition for a Check Status widget. - CheckStatusDefinition PowerpackWidgetCheckStatusDefinitionPtrInput `pulumi:"checkStatusDefinition"` - // The definition for a Distribution widget. - DistributionDefinition PowerpackWidgetDistributionDefinitionPtrInput `pulumi:"distributionDefinition"` - // The definition for a Event Stream widget. - EventStreamDefinition PowerpackWidgetEventStreamDefinitionPtrInput `pulumi:"eventStreamDefinition"` - // The definition for a Event Timeline widget. - EventTimelineDefinition PowerpackWidgetEventTimelineDefinitionPtrInput `pulumi:"eventTimelineDefinition"` - // The definition for a Free Text widget. - FreeTextDefinition PowerpackWidgetFreeTextDefinitionPtrInput `pulumi:"freeTextDefinition"` - // The definition for a Geomap widget. - GeomapDefinition PowerpackWidgetGeomapDefinitionPtrInput `pulumi:"geomapDefinition"` - // The definition for a Heatmap widget. - HeatmapDefinition PowerpackWidgetHeatmapDefinitionPtrInput `pulumi:"heatmapDefinition"` - // The definition for a Hostmap widget. - HostmapDefinition PowerpackWidgetHostmapDefinitionPtrInput `pulumi:"hostmapDefinition"` - // The ID of the widget. - Id pulumi.IntPtrInput `pulumi:"id"` - // The definition for an Iframe widget. - IframeDefinition PowerpackWidgetIframeDefinitionPtrInput `pulumi:"iframeDefinition"` - // The definition for an Image widget - ImageDefinition PowerpackWidgetImageDefinitionPtrInput `pulumi:"imageDefinition"` - // The definition for a List Stream widget. - ListStreamDefinition PowerpackWidgetListStreamDefinitionPtrInput `pulumi:"listStreamDefinition"` - // The definition for an Log Stream widget. - LogStreamDefinition PowerpackWidgetLogStreamDefinitionPtrInput `pulumi:"logStreamDefinition"` - // The definition for an Manage Status widget. - ManageStatusDefinition PowerpackWidgetManageStatusDefinitionPtrInput `pulumi:"manageStatusDefinition"` - // The definition for a Note widget. - NoteDefinition PowerpackWidgetNoteDefinitionPtrInput `pulumi:"noteDefinition"` - // The definition for a Query Table widget. - QueryTableDefinition PowerpackWidgetQueryTableDefinitionPtrInput `pulumi:"queryTableDefinition"` - // The definition for a Query Value widget. - QueryValueDefinition PowerpackWidgetQueryValueDefinitionPtrInput `pulumi:"queryValueDefinition"` - // The definition for a Run Workflow widget. - RunWorkflowDefinition PowerpackWidgetRunWorkflowDefinitionPtrInput `pulumi:"runWorkflowDefinition"` - // The definition for a Scatterplot widget. - ScatterplotDefinition PowerpackWidgetScatterplotDefinitionPtrInput `pulumi:"scatterplotDefinition"` - // The definition for a Service Level Objective widget. - ServiceLevelObjectiveDefinition PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput `pulumi:"serviceLevelObjectiveDefinition"` - // The definition for a Service Map widget. - ServicemapDefinition PowerpackWidgetServicemapDefinitionPtrInput `pulumi:"servicemapDefinition"` - // The definition for an SLO (Service Level Objective) List widget. - SloListDefinition PowerpackWidgetSloListDefinitionPtrInput `pulumi:"sloListDefinition"` - // The definition for a Sunburst widget. - SunburstDefinition PowerpackWidgetSunburstDefinitionPtrInput `pulumi:"sunburstDefinition"` - // The definition for a Timeseries widget. - TimeseriesDefinition PowerpackWidgetTimeseriesDefinitionPtrInput `pulumi:"timeseriesDefinition"` - // The definition for a Toplist widget. - ToplistDefinition PowerpackWidgetToplistDefinitionPtrInput `pulumi:"toplistDefinition"` - // The definition for a Topology Map widget. - TopologyMapDefinition PowerpackWidgetTopologyMapDefinitionPtrInput `pulumi:"topologyMapDefinition"` - // The definition for a Trace Service widget. - TraceServiceDefinition PowerpackWidgetTraceServiceDefinitionPtrInput `pulumi:"traceServiceDefinition"` - // The definition for a Treemap widget. - TreemapDefinition PowerpackWidgetTreemapDefinitionPtrInput `pulumi:"treemapDefinition"` - // The layout of the widget on a 'free' dashboard. - WidgetLayout PowerpackWidgetWidgetLayoutPtrInput `pulumi:"widgetLayout"` -} - -func (PowerpackWidgetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidget)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetArgs) ToPowerpackWidgetOutput() PowerpackWidgetOutput { - return i.ToPowerpackWidgetOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetArgs) ToPowerpackWidgetOutputWithContext(ctx context.Context) PowerpackWidgetOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetArrayInput is an input type that accepts PowerpackWidgetArray and PowerpackWidgetArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetArray{ PowerpackWidgetArgs{...} } -type PowerpackWidgetArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetArrayOutput() PowerpackWidgetArrayOutput - ToPowerpackWidgetArrayOutputWithContext(context.Context) PowerpackWidgetArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput } -type PowerpackWidgetArray []PowerpackWidgetInput +type powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs -func (PowerpackWidgetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidget)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType)(v) } -func (i PowerpackWidgetArray) ToPowerpackWidgetArrayOutput() PowerpackWidgetArrayOutput { - return i.ToPowerpackWidgetArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetArray) ToPowerpackWidgetArrayOutputWithContext(ctx context.Context) PowerpackWidgetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -type PowerpackWidgetOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) +} -func (PowerpackWidgetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidget)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetOutput) ToPowerpackWidgetOutput() PowerpackWidgetOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetOutput) ToPowerpackWidgetOutputWithContext(ctx context.Context) PowerpackWidgetOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { return o } -// The definition for a Alert Graph widget. -func (o PowerpackWidgetOutput) AlertGraphDefinition() PowerpackWidgetAlertGraphDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetAlertGraphDefinition { return v.AlertGraphDefinition }).(PowerpackWidgetAlertGraphDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -// The definition for a Alert Value widget. -func (o PowerpackWidgetOutput) AlertValueDefinition() PowerpackWidgetAlertValueDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetAlertValueDefinition { return v.AlertValueDefinition }).(PowerpackWidgetAlertValueDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) } -// The definition for a Change widget. -func (o PowerpackWidgetOutput) ChangeDefinition() PowerpackWidgetChangeDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetChangeDefinition { return v.ChangeDefinition }).(PowerpackWidgetChangeDefinitionPtrOutput) +// The number of results to return. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// The definition for a Check Status widget. -func (o PowerpackWidgetOutput) CheckStatusDefinition() PowerpackWidgetCheckStatusDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetCheckStatusDefinition { return v.CheckStatusDefinition }).(PowerpackWidgetCheckStatusDefinitionPtrOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) } -// The definition for a Distribution widget. -func (o PowerpackWidgetOutput) DistributionDefinition() PowerpackWidgetDistributionDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetDistributionDefinition { return v.DistributionDefinition }).(PowerpackWidgetDistributionDefinitionPtrOutput) -} +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -// The definition for a Event Stream widget. -func (o PowerpackWidgetOutput) EventStreamDefinition() PowerpackWidgetEventStreamDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetEventStreamDefinition { return v.EventStreamDefinition }).(PowerpackWidgetEventStreamDefinitionPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -// The definition for a Event Timeline widget. -func (o PowerpackWidgetOutput) EventTimelineDefinition() PowerpackWidgetEventTimelineDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetEventTimelineDefinition { return v.EventTimelineDefinition }).(PowerpackWidgetEventTimelineDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o } -// The definition for a Free Text widget. -func (o PowerpackWidgetOutput) FreeTextDefinition() PowerpackWidgetFreeTextDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetFreeTextDefinition { return v.FreeTextDefinition }).(PowerpackWidgetFreeTextDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o } -// The definition for a Geomap widget. -func (o PowerpackWidgetOutput) GeomapDefinition() PowerpackWidgetGeomapDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetGeomapDefinition { return v.GeomapDefinition }).(PowerpackWidgetGeomapDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestFormulaLimit + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) } -// The definition for a Heatmap widget. -func (o PowerpackWidgetOutput) HeatmapDefinition() PowerpackWidgetHeatmapDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetHeatmapDefinition { return v.HeatmapDefinition }).(PowerpackWidgetHeatmapDefinitionPtrOutput) +// The number of results to return. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *int { + if v == nil { + return nil + } + return v.Count + }).(pulumi.IntPtrOutput) } -// The definition for a Hostmap widget. -func (o PowerpackWidgetOutput) HostmapDefinition() PowerpackWidgetHostmapDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetHostmapDefinition { return v.HostmapDefinition }).(PowerpackWidgetHostmapDefinitionPtrOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) } -// The ID of the widget. -func (o PowerpackWidgetOutput) Id() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *int { return v.Id }).(pulumi.IntPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` } -// The definition for an Iframe widget. -func (o PowerpackWidgetOutput) IframeDefinition() PowerpackWidgetIframeDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetIframeDefinition { return v.IframeDefinition }).(PowerpackWidgetIframeDefinitionPtrOutput) -} +// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput interface { + pulumi.Input -// The definition for an Image widget -func (o PowerpackWidgetOutput) ImageDefinition() PowerpackWidgetImageDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetImageDefinition { return v.ImageDefinition }).(PowerpackWidgetImageDefinitionPtrOutput) + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput } -// The definition for a List Stream widget. -func (o PowerpackWidgetOutput) ListStreamDefinition() PowerpackWidgetListStreamDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetListStreamDefinition { return v.ListStreamDefinition }).(PowerpackWidgetListStreamDefinitionPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` } -// The definition for an Log Stream widget. -func (o PowerpackWidgetOutput) LogStreamDefinition() PowerpackWidgetLogStreamDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetLogStreamDefinition { return v.LogStreamDefinition }).(PowerpackWidgetLogStreamDefinitionPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -// The definition for an Manage Status widget. -func (o PowerpackWidgetOutput) ManageStatusDefinition() PowerpackWidgetManageStatusDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetManageStatusDefinition { return v.ManageStatusDefinition }).(PowerpackWidgetManageStatusDefinitionPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -// The definition for a Note widget. -func (o PowerpackWidgetOutput) NoteDefinition() PowerpackWidgetNoteDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetNoteDefinition { return v.NoteDefinition }).(PowerpackWidgetNoteDefinitionPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) } -// The definition for a Query Table widget. -func (o PowerpackWidgetOutput) QueryTableDefinition() PowerpackWidgetQueryTableDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetQueryTableDefinition { return v.QueryTableDefinition }).(PowerpackWidgetQueryTableDefinitionPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// The definition for a Query Value widget. -func (o PowerpackWidgetOutput) QueryValueDefinition() PowerpackWidgetQueryValueDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetQueryValueDefinition { return v.QueryValueDefinition }).(PowerpackWidgetQueryValueDefinitionPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// The definition for a Run Workflow widget. -func (o PowerpackWidgetOutput) RunWorkflowDefinition() PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetRunWorkflowDefinition { return v.RunWorkflowDefinition }).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) +// PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr and PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput } -// The definition for a Scatterplot widget. -func (o PowerpackWidgetOutput) ScatterplotDefinition() PowerpackWidgetScatterplotDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetScatterplotDefinition { return v.ScatterplotDefinition }).(PowerpackWidgetScatterplotDefinitionPtrOutput) +type powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs + +func PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType)(v) } -// The definition for a Service Level Objective widget. -func (o PowerpackWidgetOutput) ServiceLevelObjectiveDefinition() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetServiceLevelObjectiveDefinition { - return v.ServiceLevelObjectiveDefinition - }).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) +func (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -// The definition for a Service Map widget. -func (o PowerpackWidgetOutput) ServicemapDefinition() PowerpackWidgetServicemapDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetServicemapDefinition { return v.ServicemapDefinition }).(PowerpackWidgetServicemapDefinitionPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// The definition for an SLO (Service Level Objective) List widget. -func (o PowerpackWidgetOutput) SloListDefinition() PowerpackWidgetSloListDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetSloListDefinition { return v.SloListDefinition }).(PowerpackWidgetSloListDefinitionPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) } -// The definition for a Sunburst widget. -func (o PowerpackWidgetOutput) SunburstDefinition() PowerpackWidgetSunburstDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetSunburstDefinition { return v.SunburstDefinition }).(PowerpackWidgetSunburstDefinitionPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -// The definition for a Timeseries widget. -func (o PowerpackWidgetOutput) TimeseriesDefinition() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTimeseriesDefinition { return v.TimeseriesDefinition }).(PowerpackWidgetTimeseriesDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return o } -// The definition for a Toplist widget. -func (o PowerpackWidgetOutput) ToplistDefinition() PowerpackWidgetToplistDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetToplistDefinition { return v.ToplistDefinition }).(PowerpackWidgetToplistDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return o } -// The definition for a Topology Map widget. -func (o PowerpackWidgetOutput) TopologyMapDefinition() PowerpackWidgetTopologyMapDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTopologyMapDefinition { return v.TopologyMapDefinition }).(PowerpackWidgetTopologyMapDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// The definition for a Trace Service widget. -func (o PowerpackWidgetOutput) TraceServiceDefinition() PowerpackWidgetTraceServiceDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTraceServiceDefinition { return v.TraceServiceDefinition }).(PowerpackWidgetTraceServiceDefinitionPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) } -// The definition for a Treemap widget. -func (o PowerpackWidgetOutput) TreemapDefinition() PowerpackWidgetTreemapDefinitionPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetTreemapDefinition { return v.TreemapDefinition }).(PowerpackWidgetTreemapDefinitionPtrOutput) +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// The layout of the widget on a 'free' dashboard. -func (o PowerpackWidgetOutput) WidgetLayout() PowerpackWidgetWidgetLayoutPtrOutput { - return o.ApplyT(func(v PowerpackWidget) *PowerpackWidgetWidgetLayout { return v.WidgetLayout }).(PowerpackWidgetWidgetLayoutPtrOutput) +// Index specifying which color to use within the palette. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) } -type PowerpackWidgetArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidget)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetArrayOutput) ToPowerpackWidgetArrayOutput() PowerpackWidgetArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetArrayOutput) ToPowerpackWidgetArrayOutputWithContext(ctx context.Context) PowerpackWidgetArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidget { - return vs[0].([]PowerpackWidget)[vs[1].(int)] - }).(PowerpackWidgetOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestFormulaStyle + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) } -type PowerpackWidgetAlertGraphDefinition struct { - // The ID of the monitor used by the widget. - AlertId string `pulumi:"alertId"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` - // Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. - VizType string `pulumi:"vizType"` +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetAlertGraphDefinitionInput is an input type that accepts PowerpackWidgetAlertGraphDefinitionArgs and PowerpackWidgetAlertGraphDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetAlertGraphDefinitionInput` via: +// Index specifying which color to use within the palette. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *int { + if v == nil { + return nil + } + return v.PaletteIndex + }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetHeatmapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetAlertGraphDefinitionArgs{...} -type PowerpackWidgetAlertGraphDefinitionInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetAlertGraphDefinitionOutput() PowerpackWidgetAlertGraphDefinitionOutput - ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(context.Context) PowerpackWidgetAlertGraphDefinitionOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput } -type PowerpackWidgetAlertGraphDefinitionArgs struct { - // The ID of the monitor used by the widget. - AlertId pulumi.StringInput `pulumi:"alertId"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` - // Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. - VizType pulumi.StringInput `pulumi:"vizType"` +type PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetAlertGraphDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetAlertGraphDefinition)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionOutput() PowerpackWidgetAlertGraphDefinitionOutput { - return i.ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertGraphDefinitionOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { - return i.ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetAlertGraphDefinitionArgs) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertGraphDefinitionOutput).ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetAlertGraphDefinitionPtrInput is an input type that accepts PowerpackWidgetAlertGraphDefinitionArgs, PowerpackWidgetAlertGraphDefinitionPtr and PowerpackWidgetAlertGraphDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetAlertGraphDefinitionPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetAlertGraphDefinitionArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetAlertGraphDefinitionPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput - ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput } -type powerpackWidgetAlertGraphDefinitionPtrType PowerpackWidgetAlertGraphDefinitionArgs +type powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs -func PowerpackWidgetAlertGraphDefinitionPtr(v *PowerpackWidgetAlertGraphDefinitionArgs) PowerpackWidgetAlertGraphDefinitionPtrInput { - return (*powerpackWidgetAlertGraphDefinitionPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType)(v) } -func (*powerpackWidgetAlertGraphDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetAlertGraphDefinition)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (i *powerpackWidgetAlertGraphDefinitionPtrType) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { - return i.ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetAlertGraphDefinitionPtrType) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertGraphDefinitionPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetAlertGraphDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetAlertGraphDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetAlertGraphDefinition)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionOutput() PowerpackWidgetAlertGraphDefinitionOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { - return o.ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetAlertGraphDefinitionOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetAlertGraphDefinition) *PowerpackWidgetAlertGraphDefinition { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetAlertGraphDefinitionPtrOutput) -} - -// The ID of the monitor used by the widget. -func (o PowerpackWidgetAlertGraphDefinitionOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) string { return v.AlertId }).(pulumi.StringOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetAlertGraphDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetAlertGraphDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetAlertGraphDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetAlertGraphDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) } -// Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. -func (o PowerpackWidgetAlertGraphDefinitionOutput) VizType() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetAlertGraphDefinition) string { return v.VizType }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetAlertGraphDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetAlertGraphDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetAlertGraphDefinition)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutput() PowerpackWidgetAlertGraphDefinitionPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) ToPowerpackWidgetAlertGraphDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertGraphDefinitionPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) Elem() PowerpackWidgetAlertGraphDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) PowerpackWidgetAlertGraphDefinition { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) PowerpackWidgetHeatmapDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetAlertGraphDefinition + var ret PowerpackWidgetHeatmapDefinitionRequestLogQuery return ret - }).(PowerpackWidgetAlertGraphDefinitionOutput) -} - -// The ID of the monitor used by the widget. -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { - if v == nil { - return nil - } - return &v.AlertId - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { if v == nil { return nil } - return v.LiveSpan - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy { if v == nil { return nil } - return v.Title - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { if v == nil { return nil } - return v.TitleAlign + return &v.Index }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute { if v == nil { return nil } - return v.TitleSize - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) } -// Type of visualization to use when displaying the widget. Valid values are `timeseries`, `toplist`. -func (o PowerpackWidgetAlertGraphDefinitionPtrOutput) VizType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertGraphDefinition) *string { +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { if v == nil { return nil } - return &v.VizType + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetAlertValueDefinition struct { - // The ID of the monitor used by the widget. - AlertId string `pulumi:"alertId"` - // The precision to use when displaying the value. Use `*` for maximum precision. - Precision *int `pulumi:"precision"` - // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. - TextAlign *string `pulumi:"textAlign"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` - // The unit for the value displayed in the widget. - Unit *string `pulumi:"unit"` +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery 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"` } -// PowerpackWidgetAlertValueDefinitionInput is an input type that accepts PowerpackWidgetAlertValueDefinitionArgs and PowerpackWidgetAlertValueDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetAlertValueDefinitionInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetAlertValueDefinitionArgs{...} -type PowerpackWidgetAlertValueDefinitionInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetAlertValueDefinitionOutput() PowerpackWidgetAlertValueDefinitionOutput - ToPowerpackWidgetAlertValueDefinitionOutputWithContext(context.Context) PowerpackWidgetAlertValueDefinitionOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetAlertValueDefinitionArgs struct { - // The ID of the monitor used by the widget. - AlertId pulumi.StringInput `pulumi:"alertId"` - // The precision to use when displaying the value. Use `*` for maximum precision. - Precision pulumi.IntPtrInput `pulumi:"precision"` - // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. - TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` - // The unit for the value displayed in the widget. - Unit pulumi.StringPtrInput `pulumi:"unit"` +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetAlertValueDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetAlertValueDefinition)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionOutput() PowerpackWidgetAlertValueDefinitionOutput { - return i.ToPowerpackWidgetAlertValueDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertValueDefinitionOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { - return i.ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetAlertValueDefinitionArgs) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertValueDefinitionOutput).ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetAlertValueDefinitionPtrInput is an input type that accepts PowerpackWidgetAlertValueDefinitionArgs, PowerpackWidgetAlertValueDefinitionPtr and PowerpackWidgetAlertValueDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetAlertValueDefinitionPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetAlertValueDefinitionArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetAlertValueDefinitionPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput - ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetAlertValueDefinitionPtrType PowerpackWidgetAlertValueDefinitionArgs +type powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetAlertValueDefinitionPtr(v *PowerpackWidgetAlertValueDefinitionArgs) PowerpackWidgetAlertValueDefinitionPtrInput { - return (*powerpackWidgetAlertValueDefinitionPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetAlertValueDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetAlertValueDefinition)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetAlertValueDefinitionPtrType) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { - return i.ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetAlertValueDefinitionPtrType) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetAlertValueDefinitionPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetAlertValueDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetAlertValueDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetAlertValueDefinition)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionOutput() PowerpackWidgetAlertValueDefinitionOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { - return o.ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetAlertValueDefinitionOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetAlertValueDefinition) *PowerpackWidgetAlertValueDefinition { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetAlertValueDefinitionPtrOutput) -} - -// The ID of the monitor used by the widget. -func (o PowerpackWidgetAlertValueDefinitionOutput) AlertId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) string { return v.AlertId }).(pulumi.StringOutput) -} - -// The precision to use when displaying the value. Use `*` for maximum precision. -func (o PowerpackWidgetAlertValueDefinitionOutput) Precision() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *int { return v.Precision }).(pulumi.IntPtrOutput) -} - -// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetAlertValueDefinitionOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetAlertValueDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetAlertValueDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetAlertValueDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The unit for the value displayed in the widget. -func (o PowerpackWidgetAlertValueDefinitionOutput) Unit() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetAlertValueDefinition) *string { return v.Unit }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetAlertValueDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetAlertValueDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetAlertValueDefinition)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutput() PowerpackWidgetAlertValueDefinitionPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) ToPowerpackWidgetAlertValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetAlertValueDefinitionPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Elem() PowerpackWidgetAlertValueDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) PowerpackWidgetAlertValueDefinition { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetAlertValueDefinition + var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetAlertValueDefinitionOutput) -} - -// The ID of the monitor used by the widget. -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) AlertId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { - if v == nil { - return nil - } - return &v.AlertId - }).(pulumi.StringPtrOutput) -} - -// The precision to use when displaying the value. Use `*` for maximum precision. -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Precision() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *int { - if v == nil { - return nil - } - return v.Precision - }).(pulumi.IntPtrOutput) -} - -// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { - if v == nil { - return nil - } - return v.TextAlign - }).(pulumi.StringPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.TitleAlign + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.TitleSize + return v.Facet }).(pulumi.StringPtrOutput) } -// The unit for the value displayed in the widget. -func (o PowerpackWidgetAlertValueDefinitionPtrOutput) Unit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetAlertValueDefinition) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *int { if v == nil { return nil } - return v.Unit - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetChangeDefinitionCustomLink `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Requests []PowerpackWidgetChangeDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetChangeDefinitionInput is an input type that accepts PowerpackWidgetChangeDefinitionArgs and PowerpackWidgetChangeDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput` via: // -// PowerpackWidgetChangeDefinitionArgs{...} -type PowerpackWidgetChangeDefinitionInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionOutput() PowerpackWidgetChangeDefinitionOutput - ToPowerpackWidgetChangeDefinitionOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionOutput -} - -type PowerpackWidgetChangeDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetChangeDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Requests PowerpackWidgetChangeDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` -} - -func (PowerpackWidgetChangeDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinition)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput } -func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionOutput() PowerpackWidgetChangeDefinitionOutput { - return i.ToPowerpackWidgetChangeDefinitionOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionOutput) +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionArgs) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionOutput).ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) } -// PowerpackWidgetChangeDefinitionPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionArgs, PowerpackWidgetChangeDefinitionPtr and PowerpackWidgetChangeDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionPtrInput` via: -// -// PowerpackWidgetChangeDefinitionArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetChangeDefinitionPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput - ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput } -type powerpackWidgetChangeDefinitionPtrType PowerpackWidgetChangeDefinitionArgs +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput -func PowerpackWidgetChangeDefinitionPtr(v *PowerpackWidgetChangeDefinitionArgs) PowerpackWidgetChangeDefinitionPtrInput { - return (*powerpackWidgetChangeDefinitionPtrType)(v) +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetChangeDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinition)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionPtrType) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) } -func (i *powerpackWidgetChangeDefinitionPtrType) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetChangeDefinitionOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return o +} -func (PowerpackWidgetChangeDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinition)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return o } -func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionOutput() PowerpackWidgetChangeDefinitionOutput { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// The maximum number of items in the group. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) } -func (o PowerpackWidgetChangeDefinitionOutput) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinition) *PowerpackWidgetChangeDefinition { - return &v - }).(PowerpackWidgetChangeDefinitionPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionOutput) CustomLinks() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetChangeDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetChangeDefinitionOutput) Requests() PowerpackWidgetChangeDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionRequest { return v.Requests }).(PowerpackWidgetChangeDefinitionRequestArrayOutput) +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -// The title of the widget. -func (o PowerpackWidgetChangeDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetChangeDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetChangeDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +} -func (PowerpackWidgetChangeDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinition)(nil)).Elem() +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -func (o PowerpackWidgetChangeDefinitionPtrOutput) ToPowerpackWidgetChangeDefinitionPtrOutput() PowerpackWidgetChangeDefinitionPtrOutput { +type powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs + +func PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +} + +func (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionPtrOutput) ToPowerpackWidgetChangeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionPtrOutput) Elem() PowerpackWidgetChangeDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) PowerpackWidgetChangeDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinition - return ret - }).(PowerpackWidgetChangeDefinitionOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionPtrOutput) CustomLinks() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetChangeDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetChangeDefinitionPtrOutput) Requests() PowerpackWidgetChangeDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) []PowerpackWidgetChangeDefinitionRequest { - if v == nil { - return nil +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { + if v != nil { + return *v } - return v.Requests - }).(PowerpackWidgetChangeDefinitionRequestArrayOutput) + var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetChangeDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Title + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetChangeDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.TitleAlign + return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetChangeDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinition) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.TitleSize + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute 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"` } -// PowerpackWidgetChangeDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetChangeDefinitionCustomLinkArgs and PowerpackWidgetChangeDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionCustomLinkInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput` via: // -// PowerpackWidgetChangeDefinitionCustomLinkArgs{...} -type PowerpackWidgetChangeDefinitionCustomLinkInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionCustomLinkOutput() PowerpackWidgetChangeDefinitionCustomLinkOutput - ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionCustomLinkOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput } -type PowerpackWidgetChangeDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs 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 (PowerpackWidgetChangeDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionCustomLinkArgs) ToPowerpackWidgetChangeDefinitionCustomLinkOutput() PowerpackWidgetChangeDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionCustomLinkArgs) ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionCustomLinkOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) } -// PowerpackWidgetChangeDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionCustomLinkArray and PowerpackWidgetChangeDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetChangeDefinitionCustomLinkArray{ PowerpackWidgetChangeDefinitionCustomLinkArgs{...} } -type PowerpackWidgetChangeDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutput() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput - ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionCustomLinkArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput } -type PowerpackWidgetChangeDefinitionCustomLinkArray []PowerpackWidgetChangeDefinitionCustomLinkInput +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput -func (PowerpackWidgetChangeDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionCustomLinkArray) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutput() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionCustomLinkArray) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetChangeDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) ToPowerpackWidgetChangeDefinitionCustomLinkOutput() PowerpackWidgetChangeDefinitionCustomLinkOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) ToPowerpackWidgetChangeDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The URL of the custom link. -func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetChangeDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutput() PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) ToPowerpackWidgetChangeDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionCustomLink { - return vs[0].([]PowerpackWidgetChangeDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionCustomLinkOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) } -type PowerpackWidgetChangeDefinitionRequest struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetChangeDefinitionRequestApmQuery `pulumi:"apmQuery"` - // Whether to show absolute or relative change. Valid values are `absolute`, `relative`. - ChangeType *string `pulumi:"changeType"` - // Choose from when to compare current data to. Valid values are `hourBefore`, `dayBefore`, `weekBefore`, `monthBefore`. - CompareTo *string `pulumi:"compareTo"` - Formulas []PowerpackWidgetChangeDefinitionRequestFormula `pulumi:"formulas"` - // A Boolean indicating whether an increase in the value is good (displayed in green) or not (displayed in red). - IncreaseGood *bool `pulumi:"increaseGood"` - // The query to use for this widget. - LogQuery *PowerpackWidgetChangeDefinitionRequestLogQuery `pulumi:"logQuery"` - // What to order by. Valid values are `change`, `name`, `present`, `past`. - OrderBy *string `pulumi:"orderBy"` - // Widget sorting method. Valid values are `asc`, `desc`. - OrderDir *string `pulumi:"orderDir"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetChangeDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetChangeDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetChangeDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetChangeDefinitionRequestSecurityQuery `pulumi:"securityQuery"` - // If set to `true`, displays the current value. - ShowPresent *bool `pulumi:"showPresent"` +type PowerpackWidgetHeatmapDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetChangeDefinitionRequestInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestArgs and PowerpackWidgetChangeDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestInput` via: +// PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs and PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestArgs{...} -type PowerpackWidgetChangeDefinitionRequestInput interface { +// PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestOutput() PowerpackWidgetChangeDefinitionRequestOutput - ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestOutput + ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput } -type PowerpackWidgetChangeDefinitionRequestArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - // Whether to show absolute or relative change. Valid values are `absolute`, `relative`. - ChangeType pulumi.StringPtrInput `pulumi:"changeType"` - // Choose from when to compare current data to. Valid values are `hourBefore`, `dayBefore`, `weekBefore`, `monthBefore`. - CompareTo pulumi.StringPtrInput `pulumi:"compareTo"` - Formulas PowerpackWidgetChangeDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // A Boolean indicating whether an increase in the value is good (displayed in green) or not (displayed in red). - IncreaseGood pulumi.BoolPtrInput `pulumi:"increaseGood"` - // The query to use for this widget. - LogQuery PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // What to order by. Valid values are `change`, `name`, `present`, `past`. - OrderBy pulumi.StringPtrInput `pulumi:"orderBy"` - // Widget sorting method. Valid values are `asc`, `desc`. - OrderDir pulumi.StringPtrInput `pulumi:"orderDir"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetChangeDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` - // If set to `true`, displays the current value. - ShowPresent pulumi.BoolPtrInput `pulumi:"showPresent"` +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetChangeDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestArgs) ToPowerpackWidgetChangeDefinitionRequestOutput() PowerpackWidgetChangeDefinitionRequestOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestArgs) ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) } -// PowerpackWidgetChangeDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestArray and PowerpackWidgetChangeDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestArray{ PowerpackWidgetChangeDefinitionRequestArgs{...} } -type PowerpackWidgetChangeDefinitionRequestArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestArrayOutput() PowerpackWidgetChangeDefinitionRequestArrayOutput - ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput } -type PowerpackWidgetChangeDefinitionRequestArray []PowerpackWidgetChangeDefinitionRequestInput +type powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs -func (PowerpackWidgetChangeDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType)(v) } -func (i PowerpackWidgetChangeDefinitionRequestArray) ToPowerpackWidgetChangeDefinitionRequestArrayOutput() PowerpackWidgetChangeDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestArray) ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetChangeDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetChangeDefinitionRequestOutput) ToPowerpackWidgetChangeDefinitionRequestOutput() PowerpackWidgetChangeDefinitionRequestOutput { - return o +func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestOutput) ToPowerpackWidgetChangeDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestOutput { - return o -} +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -// The query to use for this widget. -func (o PowerpackWidgetChangeDefinitionRequestOutput) ApmQuery() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() } -// Whether to show absolute or relative change. Valid values are `absolute`, `relative`. -func (o PowerpackWidgetChangeDefinitionRequestOutput) ChangeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.ChangeType }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return o } -// Choose from when to compare current data to. Valid values are `hourBefore`, `dayBefore`, `weekBefore`, `monthBefore`. -func (o PowerpackWidgetChangeDefinitionRequestOutput) CompareTo() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.CompareTo }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return o } -func (o PowerpackWidgetChangeDefinitionRequestOutput) Formulas() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) []PowerpackWidgetChangeDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -// A Boolean indicating whether an increase in the value is good (displayed in green) or not (displayed in red). -func (o PowerpackWidgetChangeDefinitionRequestOutput) IncreaseGood() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *bool { return v.IncreaseGood }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestProcessQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetChangeDefinitionRequestOutput) LogQuery() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) +// A list of processes. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// What to order by. Valid values are `change`, `name`, `present`, `past`. -func (o PowerpackWidgetChangeDefinitionRequestOutput) OrderBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.OrderBy }).(pulumi.StringPtrOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Widget sorting method. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestOutput) OrderDir() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.OrderDir }).(pulumi.StringPtrOutput) +// Your chosen metric. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetChangeDefinitionRequestOutput) ProcessQuery() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) +// Your chosen search term. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -// The metric query to use for this widget. -func (o PowerpackWidgetChangeDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetChangeDefinitionRequestOutput) Queries() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) []PowerpackWidgetChangeDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) +func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() } -// The query to use for this widget. -func (o PowerpackWidgetChangeDefinitionRequestOutput) RumQuery() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o } -// The query to use for this widget. -func (o PowerpackWidgetChangeDefinitionRequestOutput) SecurityQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *PowerpackWidgetChangeDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o } -// If set to `true`, displays the current value. -func (o PowerpackWidgetChangeDefinitionRequestOutput) ShowPresent() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequest) *bool { return v.ShowPresent }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) PowerpackWidgetHeatmapDefinitionRequestProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestProcessQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) } -type PowerpackWidgetChangeDefinitionRequestArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetChangeDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequest)(nil)).Elem() +// A list of processes. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) []string { + if v == nil { + return nil + } + return v.FilterBies + }).(pulumi.StringArrayOutput) } -func (o PowerpackWidgetChangeDefinitionRequestArrayOutput) ToPowerpackWidgetChangeDefinitionRequestArrayOutput() PowerpackWidgetChangeDefinitionRequestArrayOutput { - return o +// The max number of items in the filter list. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestArrayOutput) ToPowerpackWidgetChangeDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestArrayOutput { - return o +// Your chosen metric. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequest { - return vs[0].([]PowerpackWidgetChangeDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestOutput) +// Your chosen search term. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return v.SearchBy + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetHeatmapDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` } -// PowerpackWidgetChangeDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryArgs and PowerpackWidgetChangeDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestApmQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestApmQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryOutput -} - -type PowerpackWidgetChangeDefinitionRequestApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryOutput) +func (PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryOutput).ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryOutput) } -// PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryArgs, PowerpackWidgetChangeDefinitionRequestApmQueryPtr and PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestApmQueryArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArray and PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput` via: // -// nil -type PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryArray{ PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput } -type powerpackWidgetChangeDefinitionRequestApmQueryPtrType PowerpackWidgetChangeDefinitionRequestApmQueryArgs - -func PowerpackWidgetChangeDefinitionRequestApmQueryPtr(v *PowerpackWidgetChangeDefinitionRequestApmQueryArgs) PowerpackWidgetChangeDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestApmQueryPtrType)(v) -} +type PowerpackWidgetHeatmapDefinitionRequestQueryArray []PowerpackWidgetHeatmapDefinitionRequestQueryInput -func (*powerpackWidgetChangeDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestApmQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestApmQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestApmQuery) *PowerpackWidgetChangeDefinitionRequestApmQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) +// The process query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) } -// The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) PowerpackWidgetChangeDefinitionRequestApmQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestApmQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestApmQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) *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 PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) []PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestQueryOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery 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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` } -// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs 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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} -func (PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +// Name of operation on service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) +} + +// APM service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *string { +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *string { +// APM environment. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Env }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryComputeQuery) *int { +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *bool { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput` via: -// -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput -} - -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput` via: -// -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput +// Name of operation on service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestApmQueryGroupByInput - -func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) +// APM resource. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() +// APM service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return o +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return o +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput interface { + pulumi.Input -// The maximum number of items in the group. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` } -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} +type powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) +func (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -type powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o +} -func PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o } -func (*powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -func (i *powerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +// APM environment. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} -func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +// Array of fields to group results by. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return o +// Name of operation on service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// APM resource. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { +// APM environment. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Env }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestApmQueryGroupBySortQuery) *string { +// Array of fields to group results by. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) []string { if v == nil { return nil } - return &v.Order + return v.GroupBies + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute 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"` +// Name of operation on service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput` via: +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` +} + +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs 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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) } -// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput } -type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeInput +type powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs -func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { return o } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +} -func (PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +// The name of the query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { +// The cloud cost query definition. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestApmQueryMultiComputeOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) } -type PowerpackWidgetChangeDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetChangeDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetChangeDefinitionRequestFormulaStyle `pulumi:"style"` +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaArgs and PowerpackWidgetChangeDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaInput` via: +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The cloud cost query definition. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` +} + +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestFormulaArgs{...} -type PowerpackWidgetChangeDefinitionRequestFormulaInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestFormulaOutput() PowerpackWidgetChangeDefinitionRequestFormulaOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput } -type PowerpackWidgetChangeDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetChangeDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestFormulaArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaOutput() PowerpackWidgetChangeDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) } -// PowerpackWidgetChangeDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaArray and PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestFormulaArray{ PowerpackWidgetChangeDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetChangeDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput } -type PowerpackWidgetChangeDefinitionRequestFormulaArray []PowerpackWidgetChangeDefinitionRequestFormulaInput +type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs -func (PowerpackWidgetChangeDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType)(v) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaArray) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestFormulaArray) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaOutput() PowerpackWidgetChangeDefinitionRequestFormulaOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { return o } -// An expression alias. -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) } -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) []PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) +// The compute options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) } -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The options for limiting results returned. -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) Limit() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *PowerpackWidgetChangeDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) +// Group by options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// Styling options for widget formulas. -func (o PowerpackWidgetChangeDefinitionRequestFormulaOutput) Style() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormula) *PowerpackWidgetChangeDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) +// An array of index names to query in the stream. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +} -func (PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormula)(nil)).Elem() +// The search options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { - return o +// Storage location (private beta). +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput { +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestFormulaOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return o } -type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) } -// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput` via: -// -// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input +// The compute options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { + if v == nil { + return nil + } + return v.Computes + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) +} - ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +// Group by options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// An array of index names to query in the stream. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) +// The search options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { + if v == nil { + return nil + } + return v.Search + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput` via: +// Storage location (private beta). +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` +} + +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // A time interval in milliseconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` +} -func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput interface { + pulumi.Input -func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput } -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { - return o -} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { - return o +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -// Setting this to True hides values. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -// Displays an image as the background. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return o } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return o } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// The measurable attribute to compute. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestFormulaConditionalFormatOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. + Limit *int `pulumi:"limit"` + // The options for sorting group by results. + Sort *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetChangeDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs and PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetChangeDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput -} - -type PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput } -func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The options for sorting group by results. + Sort PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) } -// PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs, PowerpackWidgetChangeDefinitionRequestFormulaLimitPtr and PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput } -type powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs - -func PowerpackWidgetChangeDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetChangeDefinitionRequestFormulaLimitArgs) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType)(v) -} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput -func (*powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestFormulaLimit) *PowerpackWidgetChangeDefinitionRequestFormulaLimit { - return &v - }).(PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) +// The event facet. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// The number of results to return. -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// The number of groups to return. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaLimit) PowerpackWidgetChangeDefinitionRequestFormulaLimit { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestFormulaLimit - return ret - }).(PowerpackWidgetChangeDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaLimit) *int { - if v == nil { - return nil - } - return v.Count - }).(pulumi.IntPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetChangeDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaLimit) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// PowerpackWidgetChangeDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs and PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaStyleInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetChangeDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutput() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutput() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs, PowerpackWidgetChangeDefinitionRequestFormulaStylePtr and PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetChangeDefinitionRequestFormulaStylePtrType PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs +type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetChangeDefinitionRequestFormulaStylePtr(v *PowerpackWidgetChangeDefinitionRequestFormulaStyleArgs) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetChangeDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutput() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestFormulaStyle) *PowerpackWidgetChangeDefinitionRequestFormulaStyle { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// The metric used for sorting group by results. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestFormulaStyle)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaStyle) PowerpackWidgetChangeDefinitionRequestFormulaStyle { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestFormulaStyle + var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetChangeDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaStyle) *string { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.Palette + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetChangeDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestFormulaStyle) *int { +// The metric used for sorting group by results. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) + return v.Metric + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryArgs and PowerpackWidgetChangeDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryInput` via: +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` +} + +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetChangeDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestLogQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestLogQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput } -type PowerpackWidgetChangeDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryOutput).ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryArgs, PowerpackWidgetChangeDefinitionRequestLogQueryPtr and PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetChangeDefinitionRequestLogQueryPtrType PowerpackWidgetChangeDefinitionRequestLogQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetChangeDefinitionRequestLogQueryPtr(v *PowerpackWidgetChangeDefinitionRequestLogQueryArgs) PowerpackWidgetChangeDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestLogQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestLogQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestLogQuery) *PowerpackWidgetChangeDefinitionRequestLogQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { return &v - }).(PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The events search string. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) PowerpackWidgetChangeDefinitionRequestLogQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestLogQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetChangeDefinitionRequestLogQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) *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 PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) []PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) } -// The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQuery) *string { +// The events search string. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Query }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery 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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput } -type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs 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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The metrics query definition. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +} -func (PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *string { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *string { +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.Facet + return v.DataSource }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryComputeQuery) *int { +// The name of the query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. +// The metrics query definition. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` } -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput -} - -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput } -func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) +func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput` via: -// -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestLogQueryGroupByInput - -func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput interface { + pulumi.Input -func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return o -} +type powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return o +func PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType)(v) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -// The maximum number of items in the group. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupByOutput) -} - -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +// The number of hits to return. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput +// The process metric name. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -type powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs - -func PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) } -func (*powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// An array of tags to filter by. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) } -func (i *powerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// The text to use as a filter. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o +// The number of hits to return. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o +// The process metric name. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.Sort }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { +// An array of tags to filter by. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) []string { if v == nil { return nil } - return v.Facet - }).(pulumi.StringPtrOutput) + return v.TagFilters + }).(pulumi.StringArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestLogQueryGroupBySortQuery) *string { +// The text to use as a filter. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return &v.Order + return v.TextFilter }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute 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"` +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs 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"` +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) } -// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput } -type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeInput +type powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs -func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType)(v) } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { return o } -// The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +} -func (PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { - return o +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestLogQueryMultiComputeOutput) +// ID of an SLO to query. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) } -type PowerpackWidgetChangeDefinitionRequestProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestProcessQueryArgs and PowerpackWidgetChangeDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestProcessQueryInput` via: -// -// PowerpackWidgetChangeDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestProcessQueryInput interface { - pulumi.Input +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput - ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryOutput +func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() } -type PowerpackWidgetChangeDefinitionRequestProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return o } -func (PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return o } -func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestProcessQueryOutput).ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestProcessQueryArgs, PowerpackWidgetChangeDefinitionRequestProcessQueryPtr and PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput` via: +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetHeatmapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput +} + +type PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +} + +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestProcessQueryPtrType PowerpackWidgetChangeDefinitionRequestProcessQueryArgs +type powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs -func PowerpackWidgetChangeDefinitionRequestProcessQueryPtr(v *PowerpackWidgetChangeDefinitionRequestProcessQueryArgs) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestProcessQuery) *PowerpackWidgetChangeDefinitionRequestProcessQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) } -// A list of processes. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) } -// Your chosen metric. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } -// Your chosen search term. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestProcessQuery)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) PowerpackWidgetChangeDefinitionRequestProcessQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) PowerpackWidgetHeatmapDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestProcessQuery + var ret PowerpackWidgetHeatmapDefinitionRequestRumQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestProcessQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) } -// A list of processes. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) []string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } - return v.FilterBies - }).(pulumi.StringArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) *int { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) } -// Your chosen metric. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { if v == nil { return nil } - return &v.Metric + return &v.Index }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetChangeDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestProcessQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } - return v.SearchBy + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetChangeDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetChangeDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery 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"` } -// PowerpackWidgetChangeDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetChangeDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs 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 (PowerpackWidgetChangeDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) } -// PowerpackWidgetChangeDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryArray and PowerpackWidgetChangeDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryArray{ PowerpackWidgetChangeDefinitionRequestQueryArgs{...} } -type PowerpackWidgetChangeDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput - ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput } -type PowerpackWidgetChangeDefinitionRequestQueryArray []PowerpackWidgetChangeDefinitionRequestQueryInput +type powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs -func (PowerpackWidgetChangeDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetChangeDefinitionRequestQueryArray) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryArray) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { return o } -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The process query using formulas and functions. -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) -} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -// The SLO query using formulas and functions. -func (o PowerpackWidgetChangeDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuery) *PowerpackWidgetChangeDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -type PowerpackWidgetChangeDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryArrayOutput { - return o +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestQueryOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` +} + +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput } -type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) } -func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput } -func (i PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) } -type powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return o } -func (i *powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return o } -func (i *powerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +// The maximum number of items in the group. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput } -// APM environment. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -// Name of operation on service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// APM resource. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -// APM service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +type powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs + +func PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -type PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// APM environment. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -// Name of operation on service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { + if v != nil { + return *v } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) } -// APM resource. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.ResourceName + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Service + return v.Facet }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmDependencyStatsQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Stat + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute 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"` } -// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput -} - -type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` -} - -func (PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput } -func (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs 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 (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput } -type powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput -func PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) } -func (i *powerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return o +} -func (PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput } -// APM environment. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// Array of fields to group results by. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -// Name of operation on service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// APM resource. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput } -// APM service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +type powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs + +func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType)(v) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() } -type PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) } -// APM environment. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// Array of fields to group results by. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { return v.GroupBies - }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -// Name of operation on service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { + if v != nil { + return *v } - return v.OperationName - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) } -// APM resource. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return v.ResourceName + return &v.Index }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } - return &v.Service - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryApmResourceStatsQuery) *string { +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return &v.Stat + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery 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"` } -// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput } -type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs 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 (PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.Aggregator + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return v.Facet }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } - return &v.Name - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetChangeDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetChangeDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) } -type powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType)(v) +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return o } -func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return o } -func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +// The maximum number of items in the group. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// The compute options. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -// Group by options. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -// An array of index names to query in the stream. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The search options. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// Storage location (private beta). -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { + pulumi.Input -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuery)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { +type powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs + +func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +} + +func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) PowerpackWidgetChangeDefinitionRequestQueryEventQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestQueryEventQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The compute options. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Group by options. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { + if v != nil { + return *v } - return v.Indexes - }).(pulumi.StringArrayOutput) + var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Search - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Storage + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute struct { + // The aggregation method. Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet *string `pulumi:"facet"` + // Define the time interval in seconds. Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs struct { + // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Define the time interval in seconds. Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { return o } -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// A time interval in milliseconds. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryComputeOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` +type PowerpackWidgetHeatmapDefinitionRequestStyle struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette *string `pulumi:"palette"` } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetHeatmapDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs and PowerpackWidgetHeatmapDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStyleInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestStyleInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput + ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` +type PowerpackWidgetHeatmapDefinitionRequestStyleArgs struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette pulumi.StringPtrInput `pulumi:"palette"` } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs, PowerpackWidgetHeatmapDefinitionRequestStylePtr and PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStylePtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestStylePtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByInput +type powerpackWidgetHeatmapDefinitionRequestStylePtrType PowerpackWidgetHeatmapDefinitionRequestStyleArgs -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestStyleArgs) PowerpackWidgetHeatmapDefinitionRequestStylePtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestStylePtrType)(v) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { return o } -// The event facet. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) } -// The number of groups to return. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestStyle) *PowerpackWidgetHeatmapDefinitionRequestStyle { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestStyle) PowerpackWidgetHeatmapDefinitionRequestStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestStyle + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput` via: +type PowerpackWidgetHeatmapDefinitionYaxis 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"` +} + +// PowerpackWidgetHeatmapDefinitionYaxisInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs and PowerpackWidgetHeatmapDefinitionYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} +type PowerpackWidgetHeatmapDefinitionYaxisInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput + ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` +type PowerpackWidgetHeatmapDefinitionYaxisArgs 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 (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { + return i.ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput).ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetHeatmapDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs, PowerpackWidgetHeatmapDefinitionYaxisPtr and PowerpackWidgetHeatmapDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetHeatmapDefinitionYaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput + ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput } -type powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetHeatmapDefinitionYaxisPtrType PowerpackWidgetHeatmapDefinitionYaxisArgs -func PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetHeatmapDefinitionYaxisPtr(v *PowerpackWidgetHeatmapDefinitionYaxisArgs) PowerpackWidgetHeatmapDefinitionYaxisPtrInput { + return (*powerpackWidgetHeatmapDefinitionYaxisPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionYaxisOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionYaxis) *PowerpackWidgetHeatmapDefinitionYaxis { return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The label of the axis to display on the graph. +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +type PowerpackWidgetHeatmapDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) PowerpackWidgetHeatmapDefinitionYaxis { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetHeatmapDefinitionYaxis return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetHeatmapDefinitionYaxisOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *bool { if v == nil { return nil } - return &v.Aggregation + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Label }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { if v == nil { return nil } - return v.Metric + return v.Max }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQueryGroupBySort) *string { +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { if v == nil { return nil } - return v.Order + return v.Min }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchInput` via: +type PowerpackWidgetHostmapDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetHostmapDefinitionCustomLink `pulumi:"customLinks"` + // The list of tags to group nodes by. + Groups []string `pulumi:"groups"` + // A Boolean indicating whether to show ungrouped nodes. + NoGroupHosts *bool `pulumi:"noGroupHosts"` + // A Boolean indicating whether to show nodes with no metrics. + NoMetricHosts *bool `pulumi:"noMetricHosts"` + // The type of node used. Valid values are `host`, `container`. + NodeType *string `pulumi:"nodeType"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. + Request *PowerpackWidgetHostmapDefinitionRequest `pulumi:"request"` + // The list of tags to filter nodes by. + Scopes []string `pulumi:"scopes"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style *PowerpackWidgetHostmapDefinitionStyle `pulumi:"style"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` +} + +// PowerpackWidgetHostmapDefinitionInput is an input type that accepts PowerpackWidgetHostmapDefinitionArgs and PowerpackWidgetHostmapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetHostmapDefinitionArgs{...} +type PowerpackWidgetHostmapDefinitionInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput + ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionOutput } -type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetHostmapDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetHostmapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The list of tags to group nodes by. + Groups pulumi.StringArrayInput `pulumi:"groups"` + // A Boolean indicating whether to show ungrouped nodes. + NoGroupHosts pulumi.BoolPtrInput `pulumi:"noGroupHosts"` + // A Boolean indicating whether to show nodes with no metrics. + NoMetricHosts pulumi.BoolPtrInput `pulumi:"noMetricHosts"` + // The type of node used. Valid values are `host`, `container`. + NodeType pulumi.StringPtrInput `pulumi:"nodeType"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. + Request PowerpackWidgetHostmapDefinitionRequestPtrInput `pulumi:"request"` + // The list of tags to filter nodes by. + Scopes pulumi.StringArrayInput `pulumi:"scopes"` + // The style of the widget graph. One nested block is allowed using the structure below. + Style PowerpackWidgetHostmapDefinitionStylePtrInput `pulumi:"style"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { + return i.ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput).ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput` via: +// PowerpackWidgetHostmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionArgs, PowerpackWidgetHostmapDefinitionPtr and PowerpackWidgetHostmapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs{...} +// PowerpackWidgetHostmapDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput interface { +type PowerpackWidgetHostmapDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionPtrOutput } -type powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs +type powerpackWidgetHostmapDefinitionPtrType PowerpackWidgetHostmapDefinitionArgs -func PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType)(v) +func PowerpackWidgetHostmapDefinitionPtr(v *PowerpackWidgetHostmapDefinitionArgs) PowerpackWidgetHostmapDefinitionPtrInput { + return (*powerpackWidgetHostmapDefinitionPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinition { return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetHostmapDefinitionPtrOutput) } -// The events search string. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionOutput) CustomLinks() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) []PowerpackWidgetHostmapDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +// The list of tags to group nodes by. +func (o PowerpackWidgetHostmapDefinitionOutput) Groups() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) []string { return v.Groups }).(pulumi.StringArrayOutput) +} -func (PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// A Boolean indicating whether to show ungrouped nodes. +func (o PowerpackWidgetHostmapDefinitionOutput) NoGroupHosts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *bool { return v.NoGroupHosts }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +// A Boolean indicating whether to show nodes with no metrics. +func (o PowerpackWidgetHostmapDefinitionOutput) NoMetricHosts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *bool { return v.NoMetricHosts }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +// The type of node used. Valid values are `host`, `container`. +func (o PowerpackWidgetHostmapDefinitionOutput) NodeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.NodeType }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchOutput) +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionOutput) Request() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionRequest { return v.Request }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) } -// The events search string. -func (o PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +// The list of tags to filter nodes by. +func (o PowerpackWidgetHostmapDefinitionOutput) Scopes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) []string { return v.Scopes }).(pulumi.StringArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` -} - -// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryMetricQueryInput` via: -// -// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryInput interface { - pulumi.Input - - ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput -} - -type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) -} - -func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput -} - -type powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs - -func PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType)(v) +// The style of the widget graph. One nested block is allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionOutput) Style() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionStyle { return v.Style }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) } -func (*powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetHostmapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetHostmapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetHostmapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionPtrOutput) Elem() PowerpackWidgetHostmapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) PowerpackWidgetHostmapDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinition + return ret + }).(PowerpackWidgetHostmapDefinitionOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) CustomLinks() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) []PowerpackWidgetHostmapDefinitionCustomLink { + if v == nil { + return nil + } + return v.CustomLinks + }).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +// The list of tags to group nodes by. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) Groups() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) []string { + if v == nil { + return nil + } + return v.Groups + }).(pulumi.StringArrayOutput) } -// The metrics query definition. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// A Boolean indicating whether to show ungrouped nodes. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) NoGroupHosts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *bool { + if v == nil { + return nil + } + return v.NoGroupHosts + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryMetricQuery)(nil)).Elem() +// A Boolean indicating whether to show nodes with no metrics. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) NoMetricHosts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *bool { + if v == nil { + return nil + } + return v.NoMetricHosts + }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return o +// The type of node used. Valid values are `host`, `container`. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) NodeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { + if v == nil { + return nil + } + return v.NodeType + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput { - return o +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) Request() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionRequest { + if v == nil { + return nil + } + return v.Request + }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) PowerpackWidgetChangeDefinitionRequestQueryMetricQuery { - if v != nil { - return *v +// The list of tags to filter nodes by. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) Scopes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) []string { + if v == nil { + return nil } - var ret PowerpackWidgetChangeDefinitionRequestQueryMetricQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryMetricQueryOutput) + return v.Scopes + }).(pulumi.StringArrayOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { +// The style of the widget graph. One nested block is allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) Style() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionStyle { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.Style + }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { +// The title of the widget. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { if v == nil { return nil } - return v.DataSource + return v.Title }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetHostmapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { if v == nil { return nil } - return &v.Name + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetChangeDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryMetricQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetHostmapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { if v == nil { return nil } - return &v.Query + return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` +type PowerpackWidgetHostmapDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetHostmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHostmapDefinitionCustomLinkArgs and PowerpackWidgetHostmapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionCustomLinkInput` via: // -// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetHostmapDefinitionCustomLinkArgs{...} +type PowerpackWidgetHostmapDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput + ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput } -type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +type PowerpackWidgetHostmapDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkOutput) } -func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetHostmapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionCustomLinkArray and PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionCustomLinkArrayInput` via: +// +// PowerpackWidgetHostmapDefinitionCustomLinkArray{ PowerpackWidgetHostmapDefinitionCustomLinkArgs{...} } +type PowerpackWidgetHostmapDefinitionCustomLinkArrayInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput } -func (i PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +type PowerpackWidgetHostmapDefinitionCustomLinkArray []PowerpackWidgetHostmapDefinitionCustomLinkInput + +func (PowerpackWidgetHostmapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() } -// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput +func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) } -type powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs +type PowerpackWidgetHostmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType)(v) +func (PowerpackWidgetHostmapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() } -func (*powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return o } -func (i *powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return o } -func (i *powerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +// The label for the custom link URL. +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() +// The URL of the custom link. +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { - return o +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { +type PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { + return o } -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) +func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionCustomLink { + return vs[0].([]PowerpackWidgetHostmapDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionCustomLinkOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +type PowerpackWidgetHostmapDefinitionRequest struct { + // The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Fills []PowerpackWidgetHostmapDefinitionRequestFill `pulumi:"fills"` + // The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Sizes []PowerpackWidgetHostmapDefinitionRequestSize `pulumi:"sizes"` } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +// PowerpackWidgetHostmapDefinitionRequestInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestArgs and PowerpackWidgetHostmapDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestArgs{...} +type PowerpackWidgetHostmapDefinitionRequestInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput + ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestOutput } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +type PowerpackWidgetHostmapDefinitionRequestArgs struct { + // The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Fills PowerpackWidgetHostmapDefinitionRequestFillArrayInput `pulumi:"fills"` + // The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). + Sizes PowerpackWidgetHostmapDefinitionRequestSizeArrayInput `pulumi:"sizes"` } -// The number of hits to return. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (PowerpackWidgetHostmapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() } -// The process metric name. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Background()) } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) } -// An array of tags to filter by. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput).ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx) } -// The text to use as a filter. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// PowerpackWidgetHostmapDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestArgs, PowerpackWidgetHostmapDefinitionRequestPtr and PowerpackWidgetHostmapDefinitionRequestPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestPtrInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput } -type PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type powerpackWidgetHostmapDefinitionRequestPtrType PowerpackWidgetHostmapDefinitionRequestArgs -func (PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQueryProcessQuery)(nil)).Elem() +func PowerpackWidgetHostmapDefinitionRequestPtr(v *PowerpackWidgetHostmapDefinitionRequestArgs) PowerpackWidgetHostmapDefinitionRequestPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestPtrType)(v) } -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return o +func (*powerpackWidgetHostmapDefinitionRequestPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput { - return o +func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) PowerpackWidgetChangeDefinitionRequestQueryProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestQueryProcessQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestQueryProcessQueryOutput) +func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) +type PowerpackWidgetHostmapDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { + return o } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { + return o } -// The number of hits to return. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) } -// The process metric name. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequest) *PowerpackWidgetHostmapDefinitionRequest { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +// The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetHostmapDefinitionRequestOutput) Fills() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestFill { + return v.Fills + }).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil +// The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetHostmapDefinitionRequestOutput) Sizes() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestSize { + return v.Sizes + }).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) PowerpackWidgetHostmapDefinitionRequest { + if v != nil { + return *v } - return v.Sort - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetHostmapDefinitionRequest + return ret + }).(PowerpackWidgetHostmapDefinitionRequestOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) []string { +// The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Fills() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestFill { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return v.Fills + }).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) } -// The text to use as a filter. -func (o PowerpackWidgetChangeDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQueryProcessQuery) *string { +// The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). +func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Sizes() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestSize { if v == nil { return nil } - return v.TextFilter - }).(pulumi.StringPtrOutput) + return v.Sizes + }).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +type PowerpackWidgetHostmapDefinitionRequestFill struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + // The query to use for this widget. + RumQuery *PowerpackWidgetHostmapDefinitionRequestFillRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery `pulumi:"securityQuery"` } -// PowerpackWidgetChangeDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs and PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillArgs and PowerpackWidgetHostmapDefinitionRequestFillOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillInput` via: // -// PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput -} - -type PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` -} - -func (PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() + ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput + ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput } -func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +type PowerpackWidgetHostmapDefinitionRequestFillArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + // The query to use for this widget. + RumQuery PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput `pulumi:"securityQuery"` } -func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) +func (PowerpackWidgetHostmapDefinitionRequestFillArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillOutput) } -// PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs, PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtr and PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput` via: -// -// PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionRequestFillArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillArray and PowerpackWidgetHostmapDefinitionRequestFillArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillArrayInput` via: // -// nil -type PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillArray{ PowerpackWidgetHostmapDefinitionRequestFillArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput } -type powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs - -func PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetChangeDefinitionRequestQuerySloQueryArgs) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType)(v) -} +type PowerpackWidgetHostmapDefinitionRequestFillArray []PowerpackWidgetHostmapDefinitionRequestFillInput -func (*powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *PowerpackWidgetChangeDefinitionRequestQuerySloQuery { - return &v - }).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ApmQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillApmQuery { + return v.ApmQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) LogQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { + return v.LogQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ProcessQuery() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *string { return v.Q }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) RumQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { + return v.RumQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) SecurityQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) PowerpackWidgetChangeDefinitionRequestQuerySloQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetChangeDefinitionRequestQuerySloQuery - return ret - }).(PowerpackWidgetChangeDefinitionRequestQuerySloQueryOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.GroupMode - }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// ID of an SLO to query. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) -} - -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetChangeDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFill { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFill)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetChangeDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryArgs and PowerpackWidgetChangeDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestRumQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput } -type PowerpackWidgetChangeDefinitionRequestRumQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryOutput).ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryArgs, PowerpackWidgetChangeDefinitionRequestRumQueryPtr and PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestRumQueryPtrType PowerpackWidgetChangeDefinitionRequestRumQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs -func PowerpackWidgetChangeDefinitionRequestRumQueryPtr(v *PowerpackWidgetChangeDefinitionRequestRumQueryArgs) PowerpackWidgetChangeDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestRumQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestRumQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestRumQuery) *PowerpackWidgetChangeDefinitionRequestRumQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) PowerpackWidgetChangeDefinitionRequestRumQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestRumQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillApmQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { if v == nil { return nil } @@ -33870,18 +31214,18 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) Index() pulumi. } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) []PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { if v == nil { return nil } @@ -33889,7 +31233,7 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryPtrOutput) SearchQuery() p }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -33898,18 +31242,18 @@ type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput } -type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -33918,125 +31262,125 @@ type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs -func PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { if v == nil { return nil } @@ -34045,8 +31389,8 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Agg } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { if v == nil { return nil } @@ -34055,8 +31399,8 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Fac } // Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *int { if v == nil { return nil } @@ -34064,124 +31408,124 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryComputeQueryPtrOutput) Int }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) } -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput -func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -34190,18 +31534,18 @@ type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -34210,125 +31554,127 @@ type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs struct { Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs -func PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -34337,8 +31683,8 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -34347,8 +31693,8 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -34356,7 +31702,7 @@ func (o PowerpackWidgetChangeDefinitionRequestRumQueryGroupBySortQueryPtrOutput) }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -34365,18 +31711,18 @@ type PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput } -type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -34385,284 +31731,284 @@ type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) } -// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput } -type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput -func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestRumQueryMultiComputeOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy `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 []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput `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 PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs, PowerpackWidgetChangeDefinitionRequestSecurityQueryPtr and PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs -func PowerpackWidgetChangeDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryArgs) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestSecurityQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) PowerpackWidgetChangeDefinitionRequestSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestSecurityQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillLogQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { if v == nil { return nil } @@ -34671,18 +32017,18 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) Index() pu } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { if v == nil { return nil } @@ -34690,7 +32036,7 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryPtrOutput) SearchQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -34699,18 +32045,18 @@ type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -34719,125 +32065,125 @@ type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs -func PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { if v == nil { return nil } @@ -34846,8 +32192,8 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { if v == nil { return nil } @@ -34856,8 +32202,8 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput } // Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *int { if v == nil { return nil } @@ -34865,124 +32211,124 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupByOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -34991,18 +32337,18 @@ type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -35011,127 +32357,127 @@ type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs str Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs -func PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -35140,8 +32486,8 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOu } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -35150,8 +32496,8 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOu } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -35159,7 +32505,7 @@ func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryPtrOu }).(pulumi.StringPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -35168,18 +32514,18 @@ type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -35188,1172 +32534,947 @@ type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) } -// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetChangeDefinitionRequestSecurityQueryMultiComputeOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) } -type PowerpackWidgetCheckStatusDefinition struct { - // The check to use in the widget. - Check string `pulumi:"check"` - // The check group to use in the widget. - Group *string `pulumi:"group"` - // When `grouping = "cluster"`, indicates a list of tags to use for grouping. - GroupBies []string `pulumi:"groupBies"` - // The kind of grouping to use. Valid values are `check`, `cluster`. - Grouping string `pulumi:"grouping"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A list of tags to use in the widget. - Tags []string `pulumi:"tags"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetHostmapDefinitionRequestFillProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetCheckStatusDefinitionInput is an input type that accepts PowerpackWidgetCheckStatusDefinitionArgs and PowerpackWidgetCheckStatusDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetCheckStatusDefinitionInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput` via: // -// PowerpackWidgetCheckStatusDefinitionArgs{...} -type PowerpackWidgetCheckStatusDefinitionInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetCheckStatusDefinitionOutput() PowerpackWidgetCheckStatusDefinitionOutput - ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(context.Context) PowerpackWidgetCheckStatusDefinitionOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput } -type PowerpackWidgetCheckStatusDefinitionArgs struct { - // The check to use in the widget. - Check pulumi.StringInput `pulumi:"check"` - // The check group to use in the widget. - Group pulumi.StringPtrInput `pulumi:"group"` - // When `grouping = "cluster"`, indicates a list of tags to use for grouping. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The kind of grouping to use. Valid values are `check`, `cluster`. - Grouping pulumi.StringInput `pulumi:"grouping"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A list of tags to use in the widget. - Tags pulumi.StringArrayInput `pulumi:"tags"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetCheckStatusDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetCheckStatusDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionOutput() PowerpackWidgetCheckStatusDefinitionOutput { - return i.ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetCheckStatusDefinitionOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) } -func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { - return i.ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetCheckStatusDefinitionArgs) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetCheckStatusDefinitionOutput).ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetCheckStatusDefinitionPtrInput is an input type that accepts PowerpackWidgetCheckStatusDefinitionArgs, PowerpackWidgetCheckStatusDefinitionPtr and PowerpackWidgetCheckStatusDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetCheckStatusDefinitionPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput` via: // -// PowerpackWidgetCheckStatusDefinitionArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetCheckStatusDefinitionPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput - ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput } -type powerpackWidgetCheckStatusDefinitionPtrType PowerpackWidgetCheckStatusDefinitionArgs +type powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs -func PowerpackWidgetCheckStatusDefinitionPtr(v *PowerpackWidgetCheckStatusDefinitionArgs) PowerpackWidgetCheckStatusDefinitionPtrInput { - return (*powerpackWidgetCheckStatusDefinitionPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType)(v) } -func (*powerpackWidgetCheckStatusDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetCheckStatusDefinition)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetCheckStatusDefinitionPtrType) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { - return i.ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetCheckStatusDefinitionPtrType) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetCheckStatusDefinitionPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) } -type PowerpackWidgetCheckStatusDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetCheckStatusDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetCheckStatusDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionOutput() PowerpackWidgetCheckStatusDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { return o } -func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { return o } -func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { - return o.ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetCheckStatusDefinitionOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetCheckStatusDefinition) *PowerpackWidgetCheckStatusDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { return &v - }).(PowerpackWidgetCheckStatusDefinitionPtrOutput) -} - -// The check to use in the widget. -func (o PowerpackWidgetCheckStatusDefinitionOutput) Check() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) string { return v.Check }).(pulumi.StringOutput) -} - -// The check group to use in the widget. -func (o PowerpackWidgetCheckStatusDefinitionOutput) Group() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.Group }).(pulumi.StringPtrOutput) -} - -// When `grouping = "cluster"`, indicates a list of tags to use for grouping. -func (o PowerpackWidgetCheckStatusDefinitionOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) []string { return v.GroupBies }).(pulumi.StringArrayOutput) -} - -// The kind of grouping to use. Valid values are `check`, `cluster`. -func (o PowerpackWidgetCheckStatusDefinitionOutput) Grouping() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) string { return v.Grouping }).(pulumi.StringOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetCheckStatusDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) } -// A list of tags to use in the widget. -func (o PowerpackWidgetCheckStatusDefinitionOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) []string { return v.Tags }).(pulumi.StringArrayOutput) +// A list of processes. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// The title of the widget. -func (o PowerpackWidgetCheckStatusDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetCheckStatusDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// Your chosen metric. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetCheckStatusDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetCheckStatusDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// Your chosen search term. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetCheckStatusDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetCheckStatusDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetCheckStatusDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutput() PowerpackWidgetCheckStatusDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { return o } -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) ToPowerpackWidgetCheckStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetCheckStatusDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { return o } -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Elem() PowerpackWidgetCheckStatusDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) PowerpackWidgetCheckStatusDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetCheckStatusDefinition + var ret PowerpackWidgetHostmapDefinitionRequestFillProcessQuery return ret - }).(PowerpackWidgetCheckStatusDefinitionOutput) -} - -// The check to use in the widget. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Check() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { - if v == nil { - return nil - } - return &v.Check - }).(pulumi.StringPtrOutput) -} - -// The check group to use in the widget. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Group() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { - if v == nil { - return nil - } - return v.Group - }).(pulumi.StringPtrOutput) -} - -// When `grouping = "cluster"`, indicates a list of tags to use for grouping. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) []string { - if v == nil { - return nil - } - return v.GroupBies - }).(pulumi.StringArrayOutput) -} - -// The kind of grouping to use. Valid values are `check`, `cluster`. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Grouping() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { - if v == nil { - return nil - } - return &v.Grouping - }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) } -// A list of tags to use in the widget. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) []string { +// A list of processes. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { if v == nil { return nil } - return v.Tags + return v.FilterBies }).(pulumi.StringArrayOutput) } -// The title of the widget. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { +// The max number of items in the filter list. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *int { if v == nil { return nil } - return v.Title - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { +// Your chosen metric. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { if v == nil { return nil } - return v.TitleAlign + return &v.Metric }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetCheckStatusDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetCheckStatusDefinition) *string { +// Your chosen search term. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { if v == nil { return nil } - return v.TitleSize + return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinition struct { - // The size of the legend displayed in the widget. - LegendSize *string `pulumi:"legendSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Requests []PowerpackWidgetDistributionDefinitionRequest `pulumi:"requests"` - // Whether or not to show the legend on this widget. - ShowLegend *bool `pulumi:"showLegend"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetHostmapDefinitionRequestFillRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetDistributionDefinitionInput is an input type that accepts PowerpackWidgetDistributionDefinitionArgs and PowerpackWidgetDistributionDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput` via: // -// PowerpackWidgetDistributionDefinitionArgs{...} -type PowerpackWidgetDistributionDefinitionInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionOutput() PowerpackWidgetDistributionDefinitionOutput - ToPowerpackWidgetDistributionDefinitionOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput } -type PowerpackWidgetDistributionDefinitionArgs struct { - // The size of the legend displayed in the widget. - LegendSize pulumi.StringPtrInput `pulumi:"legendSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Requests PowerpackWidgetDistributionDefinitionRequestArrayInput `pulumi:"requests"` - // Whether or not to show the legend on this widget. - ShowLegend pulumi.BoolPtrInput `pulumi:"showLegend"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetDistributionDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionOutput() PowerpackWidgetDistributionDefinitionOutput { - return i.ToPowerpackWidgetDistributionDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionArgs) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionOutput).ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionArgs, PowerpackWidgetDistributionDefinitionPtr and PowerpackWidgetDistributionDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput - ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput } -type powerpackWidgetDistributionDefinitionPtrType PowerpackWidgetDistributionDefinitionArgs +type powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs -func PowerpackWidgetDistributionDefinitionPtr(v *PowerpackWidgetDistributionDefinitionArgs) PowerpackWidgetDistributionDefinitionPtrInput { - return (*powerpackWidgetDistributionDefinitionPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinition)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionPtrType) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionPtrType) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionOutput() PowerpackWidgetDistributionDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionOutput) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinition) *PowerpackWidgetDistributionDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { return &v - }).(PowerpackWidgetDistributionDefinitionPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) } -// The size of the legend displayed in the widget. -func (o PowerpackWidgetDistributionDefinitionOutput) LegendSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.LegendSize }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetDistributionDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} - -// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetDistributionDefinitionOutput) Requests() PowerpackWidgetDistributionDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) []PowerpackWidgetDistributionDefinitionRequest { - return v.Requests - }).(PowerpackWidgetDistributionDefinitionRequestArrayOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) } -// Whether or not to show the legend on this widget. -func (o PowerpackWidgetDistributionDefinitionOutput) ShowLegend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *bool { return v.ShowLegend }).(pulumi.BoolPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) } -// The title of the widget. -func (o PowerpackWidgetDistributionDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) string { return v.Index }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetDistributionDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetDistributionDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionPtrOutput) ToPowerpackWidgetDistributionDefinitionPtrOutput() PowerpackWidgetDistributionDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionPtrOutput) ToPowerpackWidgetDistributionDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionPtrOutput) Elem() PowerpackWidgetDistributionDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) PowerpackWidgetDistributionDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinition + var ret PowerpackWidgetHostmapDefinitionRequestFillRumQuery return ret - }).(PowerpackWidgetDistributionDefinitionOutput) -} - -// The size of the legend displayed in the widget. -func (o PowerpackWidgetDistributionDefinitionPtrOutput) LegendSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { - if v == nil { - return nil - } - return v.LegendSize - }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetDistributionDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) } -// A nested block describing the request to use when displaying the widget. Multiple request blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetDistributionDefinitionPtrOutput) Requests() PowerpackWidgetDistributionDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) []PowerpackWidgetDistributionDefinitionRequest { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { if v == nil { return nil } - return v.Requests - }).(PowerpackWidgetDistributionDefinitionRequestArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) } -// Whether or not to show the legend on this widget. -func (o PowerpackWidgetDistributionDefinitionPtrOutput) ShowLegend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *bool { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy { if v == nil { return nil } - return v.ShowLegend - }).(pulumi.BoolPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) } -// The title of the widget. -func (o PowerpackWidgetDistributionDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { if v == nil { return nil } - return v.Title + return &v.Index }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetDistributionDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { if v == nil { return nil } - return v.TitleAlign - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetDistributionDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinition) *string { +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { if v == nil { return nil } - return v.TitleSize + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequest struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetDistributionDefinitionRequestApmQuery `pulumi:"apmQuery"` - ApmStatsQuery *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery `pulumi:"apmStatsQuery"` - // The query to use for this widget. - LogQuery *PowerpackWidgetDistributionDefinitionRequestLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetDistributionDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - // The query to use for this widget. - RumQuery *PowerpackWidgetDistributionDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetDistributionDefinitionRequestSecurityQuery `pulumi:"securityQuery"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style *PowerpackWidgetDistributionDefinitionRequestStyle `pulumi:"style"` +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery 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"` } -// PowerpackWidgetDistributionDefinitionRequestInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestArgs and PowerpackWidgetDistributionDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestArgs{...} -type PowerpackWidgetDistributionDefinitionRequestInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestOutput() PowerpackWidgetDistributionDefinitionRequestOutput - ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - ApmStatsQuery PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput `pulumi:"apmStatsQuery"` - // The query to use for this widget. - LogQuery PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - // The query to use for this widget. - RumQuery PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style PowerpackWidgetDistributionDefinitionRequestStylePtrInput `pulumi:"style"` +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs 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 (PowerpackWidgetDistributionDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestArgs) ToPowerpackWidgetDistributionDefinitionRequestOutput() PowerpackWidgetDistributionDefinitionRequestOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestArgs) ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) } -// PowerpackWidgetDistributionDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestArray and PowerpackWidgetDistributionDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestArrayInput` via: +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestArray{ PowerpackWidgetDistributionDefinitionRequestArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestArrayOutput() PowerpackWidgetDistributionDefinitionRequestArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput } -type PowerpackWidgetDistributionDefinitionRequestArray []PowerpackWidgetDistributionDefinitionRequestInput +type powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs -func (PowerpackWidgetDistributionDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() +func PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetDistributionDefinitionRequestArray) ToPowerpackWidgetDistributionDefinitionRequestArrayOutput() PowerpackWidgetDistributionDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestArray) ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestArrayOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetDistributionDefinitionRequestOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetDistributionDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestOutput) ToPowerpackWidgetDistributionDefinitionRequestOutput() PowerpackWidgetDistributionDefinitionRequestOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestOutput) ToPowerpackWidgetDistributionDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { return o } -// The query to use for this widget. -func (o PowerpackWidgetDistributionDefinitionRequestOutput) ApmQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestOutput) ApmStatsQuery() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery { - return v.ApmStatsQuery - }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetDistributionDefinitionRequestOutput) LogQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetDistributionDefinitionRequestOutput) ProcessQuery() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The metric query to use for this widget. -func (o PowerpackWidgetDistributionDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetDistributionDefinitionRequestOutput) RumQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) -} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -// The query to use for this widget. -func (o PowerpackWidgetDistributionDefinitionRequestOutput) SecurityQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() } -// The style of the widget graph. One nested block is allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestOutput) Style() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequest) *PowerpackWidgetDistributionDefinitionRequestStyle { - return v.Style - }).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o } -type PowerpackWidgetDistributionDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o +} -func (PowerpackWidgetDistributionDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequest)(nil)).Elem() +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery + return ret + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) } -func (o PowerpackWidgetDistributionDefinitionRequestArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestArrayOutput() PowerpackWidgetDistributionDefinitionRequestArrayOutput { - return o +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetDistributionDefinitionRequestArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestArrayOutput { - return o +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetDistributionDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequest { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetDistributionDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestApmQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryOutput -} - -type PowerpackWidgetDistributionDefinitionRequestApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(context.Background()) +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) } -// PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestApmQueryArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput } -type powerpackWidgetDistributionDefinitionRequestApmQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestApmQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestApmQueryPtrType)(v) -} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput -func (*powerpackWidgetDistributionDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestApmQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestApmQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmQuery) *PowerpackWidgetDistributionDefinitionRequestApmQuery { - return &v - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -// The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return o } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return o } -// The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) PowerpackWidgetDistributionDefinitionRequestApmQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestApmQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) *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 PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery 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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs 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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs -func PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -36362,8 +33483,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -36371,311 +33492,351 @@ func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutpu }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryComputeQuery) *int { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) } -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput -func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupByOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs -func PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) +} -func (PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { if v == nil { return nil } - return v.Facet + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { if v == nil { return nil } - return &v.Order + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -36684,18 +33845,18 @@ type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -36704,663 +33865,913 @@ type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) } -// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput } -type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeInput +type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs -func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { return o } +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) +} + // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestApmQueryMultiComputeOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery + return ret + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQuery struct { - // Column properties used by the front end for display. - Columns []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn `pulumi:"columns"` - // The environment name. - Env string `pulumi:"env"` - // The operation name associated with the service. - Name string `pulumi:"name"` - // The organization's host group name and value. - PrimaryTag string `pulumi:"primaryTag"` - // The resource name. - Resource *string `pulumi:"resource"` - // The level of detail for the request. Valid values are `service`, `resource`, `span`. - RowType string `pulumi:"rowType"` - // The service name. - Service string `pulumi:"service"` +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryInput interface { - pulumi.Input +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs struct { - // Column properties used by the front end for display. - Columns PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput `pulumi:"columns"` - // The environment name. - Env pulumi.StringInput `pulumi:"env"` - // The operation name associated with the service. - Name pulumi.StringInput `pulumi:"name"` - // The organization's host group name and value. - PrimaryTag pulumi.StringInput `pulumi:"primaryTag"` - // The resource name. - Resource pulumi.StringPtrInput `pulumi:"resource"` - // The level of detail for the request. Valid values are `service`, `resource`, `span`. - RowType pulumi.StringInput `pulumi:"rowType"` - // The service name. - Service pulumi.StringInput `pulumi:"service"` +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(context.Background()) +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) } -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs, PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtr and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput } -type powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQueryArgs) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType)(v) -} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput -func (*powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery { - return &v - }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Column properties used by the front end for display. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Columns() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn { - return v.Columns - }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) } -// The environment name. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// The operation name associated with the service. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -// The organization's host group name and value. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) PrimaryTag() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.PrimaryTag }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return o } -// The resource name. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { return v.Resource }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return o } -// The level of detail for the request. Valid values are `service`, `resource`, `span`. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) RowType() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.RowType }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) } -// The service name. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) string { return v.Service }).(pulumi.StringOutput) +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput struct{ *pulumi.OutputState } +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput interface { + pulumi.Input -func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestApmStatsQuery)(nil)).Elem() + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return o +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput { - return o +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) PowerpackWidgetDistributionDefinitionRequestApmStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestApmStatsQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -// Column properties used by the front end for display. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Columns() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn { - if v == nil { - return nil - } - return v.Columns - }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) } -// The environment name. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The operation name associated with the service. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// The organization's host group name and value. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) PrimaryTag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.PrimaryTag - }).(pulumi.StringPtrOutput) +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput } -// The resource name. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return v.Resource - }).(pulumi.StringPtrOutput) +type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs + +func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType)(v) } -// The level of detail for the request. Valid values are `service`, `resource`, `span`. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) RowType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.RowType - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() } -// The service name. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn struct { - // A user-assigned alias for the column. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // The column name. - Name string `pulumi:"name"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) } -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs{...} -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) +} + +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery + return ret + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) +} + +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute 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"` +} + +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs struct { - // A user-assigned alias for the column. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // The column name. - Name pulumi.StringInput `pulumi:"name"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs 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 (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) } -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray and PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray{ PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray []PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnInput +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput -func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { return o } -// A user-assigned alias for the column. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) *string { return v.Alias }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) *string { - return v.CellDisplayMode - }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The column name. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) string { return v.Name }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn) *string { return v.Order }).(pulumi.StringPtrOutput) +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -type PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return o +} -func (PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSize struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + // The query to use for this widget. + RumQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery `pulumi:"securityQuery"` +} + +// PowerpackWidgetHostmapDefinitionRequestSizeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeArgs and PowerpackWidgetHostmapDefinitionRequestSizeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput +} + +type PowerpackWidgetHostmapDefinitionRequestSizeArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + // The query to use for this widget. + RumQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput `pulumi:"securityQuery"` +} + +func (PowerpackWidgetHostmapDefinitionRequestSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeOutput) +} + +// PowerpackWidgetHostmapDefinitionRequestSizeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeArray and PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeArrayInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeArray{ PowerpackWidgetHostmapDefinitionRequestSizeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput +} + +type PowerpackWidgetHostmapDefinitionRequestSizeArray []PowerpackWidgetHostmapDefinitionRequestSizeInput + +func (PowerpackWidgetHostmapDefinitionRequestSizeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumn)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestApmStatsQueryColumnOutput) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ApmQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { + return v.ApmQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQuery struct { +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) LogQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { + return v.LogQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) +} + +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ProcessQuery() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) +} + +// The metric query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *string { return v.Q }).(pulumi.StringPtrOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) RumQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { + return v.RumQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) SecurityQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSize { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSize)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy `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 []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetDistributionDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestLogQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestLogQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput `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 PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryArgs, PowerpackWidgetDistributionDefinitionRequestLogQueryPtr and PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestLogQueryPtrType PowerpackWidgetDistributionDefinitionRequestLogQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs -func PowerpackWidgetDistributionDefinitionRequestLogQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestLogQueryArgs) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestLogQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestLogQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestLogQuery) *PowerpackWidgetDistributionDefinitionRequestLogQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) PowerpackWidgetDistributionDefinitionRequestLogQuery { - if v != nil { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { + if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestLogQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { if v == nil { return nil } @@ -37369,18 +34780,18 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) Index() p } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { if v == nil { return nil } @@ -37388,7 +34799,7 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -37397,18 +34808,18 @@ type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -37417,125 +34828,125 @@ type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs -func PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { if v == nil { return nil } @@ -37544,8 +34955,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { if v == nil { return nil } @@ -37554,8 +34965,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *int { if v == nil { return nil } @@ -37563,124 +34974,124 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) } -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput -func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupByOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -37689,18 +35100,18 @@ type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -37709,127 +35120,127 @@ type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs -func PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -37838,8 +35249,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -37848,8 +35259,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -37857,7 +35268,7 @@ func (o PowerpackWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -37866,18 +35277,18 @@ type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput } -type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -37886,478 +35297,284 @@ type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) } -// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput -func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestLogQueryMultiComputeOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) } -type PowerpackWidgetDistributionDefinitionRequestProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` +type PowerpackWidgetHostmapDefinitionRequestSizeLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetDistributionDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs and PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestProcessQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput -} - -type PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` -} - -func (PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) -} - -func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs, PowerpackWidgetDistributionDefinitionRequestProcessQueryPtr and PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput -} - -type powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestProcessQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestProcessQueryArgs) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType)(v) -} - -func (*powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (i *powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetDistributionDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestProcessQuery) *PowerpackWidgetDistributionDefinitionRequestProcessQuery { - return &v - }).(PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) PowerpackWidgetDistributionDefinitionRequestProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestProcessQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestProcessQueryOutput) -} - -// A list of processes. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetDistributionDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return v.SearchBy - }).(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 + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestRumQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput `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"` + MultiComputes PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestRumQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs -func PowerpackWidgetDistributionDefinitionRequestRumQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) } // 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) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) 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 { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) PowerpackWidgetDistributionDefinitionRequestRumQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestRumQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { if v == nil { return nil } @@ -38366,18 +35583,18 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) Index() p } // `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 { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { if v == nil { return nil } @@ -38385,7 +35602,7 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -38394,18 +35611,18 @@ type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -38414,125 +35631,125 @@ type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs -func PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) 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) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *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) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { if v == nil { return nil } @@ -38541,8 +35758,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { if v == nil { return nil } @@ -38551,8 +35768,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *int { if v == nil { return nil } @@ -38560,124 +35777,124 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) } -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -38686,18 +35903,18 @@ type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -38706,127 +35923,127 @@ type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs -func PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -38835,8 +36052,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -38845,8 +36062,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -38854,7 +36071,7 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -38863,18 +36080,18 @@ type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput } -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -38883,332 +36100,526 @@ type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) } -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput -func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs -func PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) +// A list of processes. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) +// Your chosen metric. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Your chosen search term. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestSecurityQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { +// A list of processes. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) []string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy { +// The max number of items in the filter list. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *int { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { +// Your chosen metric. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Metric }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { +// Your chosen search term. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { if v == nil { return nil } - return v.SearchQuery + return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Define the time interval in seconds. +type PowerpackWidgetHostmapDefinitionRequestSizeRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput +} + +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput +} + +type powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs + +func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType)(v) +} + +func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQuery + return ret + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery 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"` } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -39217,127 +36628,125 @@ type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs -func PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { if v == nil { return nil } @@ -39346,8 +36755,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { if v == nil { return nil } @@ -39356,8 +36765,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *int { if v == nil { return nil } @@ -39365,124 +36774,124 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -39491,18 +36900,18 @@ type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery s Order string `pulumi:"order"` } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -39511,131 +36920,127 @@ type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryAr Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs -func PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -39644,8 +37049,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuer } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -39654,8 +37059,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuer } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -39663,7 +37068,7 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -39672,18 +37077,18 @@ type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute struc Interval *int `pulumi:"interval"` } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -39692,2747 +37097,2656 @@ type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) } -type PowerpackWidgetDistributionDefinitionRequestStyle struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette *string `pulumi:"palette"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetDistributionDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs and PowerpackWidgetDistributionDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStyleInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} -type PowerpackWidgetDistributionDefinitionRequestStyleInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput - ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestStyleArgs struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette pulumi.StringPtrInput `pulumi:"palette"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetDistributionDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput).ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs, PowerpackWidgetDistributionDefinitionRequestStylePtr and PowerpackWidgetDistributionDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStylePtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestStylePtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput - ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestStylePtrType PowerpackWidgetDistributionDefinitionRequestStyleArgs +type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs -func PowerpackWidgetDistributionDefinitionRequestStylePtr(v *PowerpackWidgetDistributionDefinitionRequestStyleArgs) PowerpackWidgetDistributionDefinitionRequestStylePtrInput { - return (*powerpackWidgetDistributionDefinitionRequestStylePtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestStyle) *PowerpackWidgetDistributionDefinitionRequestStyle { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) +} -func (PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestStyle) PowerpackWidgetDistributionDefinitionRequestStyle { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestStyle + var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestStyle) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { if v == nil { return nil } - return v.Palette + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -type PowerpackWidgetEventStreamDefinition struct { - // The size to use to display an event. Valid values are `s`, `l`. - EventSize *string `pulumi:"eventSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // The query to use in the widget. - Query string `pulumi:"query"` - // The execution method for multi-value filters, options: `and` or `or`. - TagsExecution *string `pulumi:"tagsExecution"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) } -// PowerpackWidgetEventStreamDefinitionInput is an input type that accepts PowerpackWidgetEventStreamDefinitionArgs and PowerpackWidgetEventStreamDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetEventStreamDefinitionInput` via: +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery 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"` +} + +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetEventStreamDefinitionArgs{...} -type PowerpackWidgetEventStreamDefinitionInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput - ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput } -type PowerpackWidgetEventStreamDefinitionArgs struct { - // The size to use to display an event. Valid values are `s`, `l`. - EventSize pulumi.StringPtrInput `pulumi:"eventSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // The query to use in the widget. - Query pulumi.StringInput `pulumi:"query"` - // The execution method for multi-value filters, options: `and` or `or`. - TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs 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 (PowerpackWidgetEventStreamDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { - return i.ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput).ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetEventStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetEventStreamDefinitionArgs, PowerpackWidgetEventStreamDefinitionPtr and PowerpackWidgetEventStreamDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetEventStreamDefinitionPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetEventStreamDefinitionArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetEventStreamDefinitionPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput - ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetEventStreamDefinitionPtrType PowerpackWidgetEventStreamDefinitionArgs +type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs -func PowerpackWidgetEventStreamDefinitionPtr(v *PowerpackWidgetEventStreamDefinitionArgs) PowerpackWidgetEventStreamDefinitionPtrInput { - return (*powerpackWidgetEventStreamDefinitionPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetEventStreamDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetEventStreamDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventStreamDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { - return o.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetEventStreamDefinition) *PowerpackWidgetEventStreamDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetEventStreamDefinitionPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) } -// The size to use to display an event. Valid values are `s`, `l`. -func (o PowerpackWidgetEventStreamDefinitionOutput) EventSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.EventSize }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetEventStreamDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} - -// The query to use in the widget. -func (o PowerpackWidgetEventStreamDefinitionOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) string { return v.Query }).(pulumi.StringOutput) -} - -// The execution method for multi-value filters, options: `and` or `or`. -func (o PowerpackWidgetEventStreamDefinitionOutput) TagsExecution() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetEventStreamDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetEventStreamDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetEventStreamDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetEventStreamDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventStreamDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Elem() PowerpackWidgetEventStreamDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) PowerpackWidgetEventStreamDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetEventStreamDefinition + var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery return ret - }).(PowerpackWidgetEventStreamDefinitionOutput) -} - -// The size to use to display an event. Valid values are `s`, `l`. -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) EventSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { - if v == nil { - return nil - } - return v.EventSize - }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) -} - -// The query to use in the widget. -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -// The execution method for multi-value filters, options: `and` or `or`. -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) TagsExecution() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { - if v == nil { - return nil - } - return v.TagsExecution - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.Title + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.TitleAlign + return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *int { if v == nil { return nil } - return v.TitleSize - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetEventTimelineDefinition struct { - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // The query to use in the widget. - Query string `pulumi:"query"` - // The execution method for multi-value filters, options: `and` or `or`. - TagsExecution *string `pulumi:"tagsExecution"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetEventTimelineDefinitionInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs and PowerpackWidgetEventTimelineDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput` via: // -// PowerpackWidgetEventTimelineDefinitionArgs{...} -type PowerpackWidgetEventTimelineDefinitionInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput - ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(context.Context) PowerpackWidgetEventTimelineDefinitionOutput -} - -type PowerpackWidgetEventTimelineDefinitionArgs struct { - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // The query to use in the widget. - Query pulumi.StringInput `pulumi:"query"` - // The execution method for multi-value filters, options: `and` or `or`. - TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` -} - -func (PowerpackWidgetEventTimelineDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetEventTimelineDefinition)(nil)).Elem() + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput } -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { - return i.ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(context.Background()) +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput) +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { - return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput).ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) } -// PowerpackWidgetEventTimelineDefinitionPtrInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs, PowerpackWidgetEventTimelineDefinitionPtr and PowerpackWidgetEventTimelineDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionPtrInput` via: -// -// PowerpackWidgetEventTimelineDefinitionArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetEventTimelineDefinitionPtrInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput - ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput } -type powerpackWidgetEventTimelineDefinitionPtrType PowerpackWidgetEventTimelineDefinitionArgs - -func PowerpackWidgetEventTimelineDefinitionPtr(v *PowerpackWidgetEventTimelineDefinitionArgs) PowerpackWidgetEventTimelineDefinitionPtrInput { - return (*powerpackWidgetEventTimelineDefinitionPtrType)(v) -} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput -func (*powerpackWidgetEventTimelineDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { - return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetEventTimelineDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventTimelineDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetEventTimelineDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { - return o.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetEventTimelineDefinition) *PowerpackWidgetEventTimelineDefinition { - return &v - }).(PowerpackWidgetEventTimelineDefinitionPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetEventTimelineDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} - -// The query to use in the widget. -func (o PowerpackWidgetEventTimelineDefinitionOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) string { return v.Query }).(pulumi.StringOutput) -} - -// The execution method for multi-value filters, options: `and` or `or`. -func (o PowerpackWidgetEventTimelineDefinitionOutput) TagsExecution() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetEventTimelineDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetEventTimelineDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetEventTimelineDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetEventTimelineDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventTimelineDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) Elem() PowerpackWidgetEventTimelineDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) PowerpackWidgetEventTimelineDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetEventTimelineDefinition - return ret - }).(PowerpackWidgetEventTimelineDefinitionOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) -} - -// The query to use in the widget. -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -// The execution method for multi-value filters, options: `and` or `or`. -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) TagsExecution() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { - if v == nil { - return nil - } - return v.TagsExecution - }).(pulumi.StringPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) } -type PowerpackWidgetFreeTextDefinition struct { - // The color of the text in the widget. - Color *string `pulumi:"color"` - // The size of the text in the widget. - FontSize *string `pulumi:"fontSize"` - // The text to display in the widget. - Text string `pulumi:"text"` - // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. - TextAlign *string `pulumi:"textAlign"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetFreeTextDefinitionInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs and PowerpackWidgetFreeTextDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetFreeTextDefinitionArgs{...} -type PowerpackWidgetFreeTextDefinitionInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput - ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetFreeTextDefinitionArgs struct { - // The color of the text in the widget. - Color pulumi.StringPtrInput `pulumi:"color"` - // The size of the text in the widget. - FontSize pulumi.StringPtrInput `pulumi:"fontSize"` - // The text to display in the widget. - Text pulumi.StringInput `pulumi:"text"` - // The alignment of the text in the widget. Valid values are `center`, `left`, `right`. - TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetFreeTextDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { - return i.ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { - return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput).ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetFreeTextDefinitionPtrInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs, PowerpackWidgetFreeTextDefinitionPtr and PowerpackWidgetFreeTextDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetFreeTextDefinitionArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetFreeTextDefinitionPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput - ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetFreeTextDefinitionPtrType PowerpackWidgetFreeTextDefinitionArgs +type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetFreeTextDefinitionPtr(v *PowerpackWidgetFreeTextDefinitionArgs) PowerpackWidgetFreeTextDefinitionPtrInput { - return (*powerpackWidgetFreeTextDefinitionPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetFreeTextDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { - return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetFreeTextDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetFreeTextDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { - return o.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetFreeTextDefinition) *PowerpackWidgetFreeTextDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetFreeTextDefinitionPtrOutput) -} - -// The color of the text in the widget. -func (o PowerpackWidgetFreeTextDefinitionOutput) Color() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) *string { return v.Color }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) } -// The size of the text in the widget. -func (o PowerpackWidgetFreeTextDefinitionOutput) FontSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) *string { return v.FontSize }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The text to display in the widget. -func (o PowerpackWidgetFreeTextDefinitionOutput) Text() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) string { return v.Text }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(pulumi.StringPtrOutput) } -// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetFreeTextDefinitionOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetFreeTextDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -type PowerpackWidgetFreeTextDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetFreeTextDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Elem() PowerpackWidgetFreeTextDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) PowerpackWidgetFreeTextDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetFreeTextDefinition + var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetFreeTextDefinitionOutput) -} - -// The color of the text in the widget. -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Color() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { - if v == nil { - return nil - } - return v.Color - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) } -// The size of the text in the widget. -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) FontSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.FontSize + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The text to display in the widget. -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Text() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Text + return v.Facet }).(pulumi.StringPtrOutput) } -// The alignment of the text in the widget. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.TextAlign + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetGeomapDefinitionCustomLink `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). - Requests []PowerpackWidgetGeomapDefinitionRequest `pulumi:"requests"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style *PowerpackWidgetGeomapDefinitionStyle `pulumi:"style"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` - // The view of the world that the map should render. - View PowerpackWidgetGeomapDefinitionView `pulumi:"view"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute 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"` } -// PowerpackWidgetGeomapDefinitionInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs and PowerpackWidgetGeomapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetGeomapDefinitionArgs{...} -type PowerpackWidgetGeomapDefinitionInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput - ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput } -type PowerpackWidgetGeomapDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetGeomapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). - Requests PowerpackWidgetGeomapDefinitionRequestArrayInput `pulumi:"requests"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style PowerpackWidgetGeomapDefinitionStylePtrInput `pulumi:"style"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` - // The view of the world that the map should render. - View PowerpackWidgetGeomapDefinitionViewInput `pulumi:"view"` +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs 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 (PowerpackWidgetGeomapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { - return i.ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) } -func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput } -func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput).ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx) +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput + +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetGeomapDefinitionPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs, PowerpackWidgetGeomapDefinitionPtr and PowerpackWidgetGeomapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetGeomapDefinitionPtrInput interface { - pulumi.Input +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput - ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionPtrOutput +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) } -type powerpackWidgetGeomapDefinitionPtrType PowerpackWidgetGeomapDefinitionArgs +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetGeomapDefinitionPtr(v *PowerpackWidgetGeomapDefinitionArgs) PowerpackWidgetGeomapDefinitionPtrInput { - return (*powerpackWidgetGeomapDefinitionPtrType)(v) +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetGeomapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinition { - return &v - }).(PowerpackWidgetGeomapDefinitionPtrOutput) +type PowerpackWidgetHostmapDefinitionStyle struct { + // The max value to use to color the map. + FillMax *string `pulumi:"fillMax"` + // The min value to use to color the map. + FillMin *string `pulumi:"fillMin"` + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette *string `pulumi:"palette"` + // A Boolean indicating whether to flip the palette tones. + PaletteFlip *bool `pulumi:"paletteFlip"` } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionOutput) CustomLinks() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) +// PowerpackWidgetHostmapDefinitionStyleInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs and PowerpackWidgetHostmapDefinitionStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStyleInput` via: +// +// PowerpackWidgetHostmapDefinitionStyleArgs{...} +type PowerpackWidgetHostmapDefinitionStyleInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput + ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStyleOutput } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetGeomapDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +type PowerpackWidgetHostmapDefinitionStyleArgs struct { + // The max value to use to color the map. + FillMax pulumi.StringPtrInput `pulumi:"fillMax"` + // The min value to use to color the map. + FillMin pulumi.StringPtrInput `pulumi:"fillMin"` + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // A Boolean indicating whether to flip the palette tones. + PaletteFlip pulumi.BoolPtrInput `pulumi:"paletteFlip"` } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). -func (o PowerpackWidgetGeomapDefinitionOutput) Requests() PowerpackWidgetGeomapDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionRequest { return v.Requests }).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) +func (PowerpackWidgetHostmapDefinitionStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() } -// The style of the widget graph. One nested block is allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionOutput) Style() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinitionStyle { return v.Style }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { + return i.ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Background()) } -// The title of the widget. -func (o PowerpackWidgetGeomapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetGeomapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetGeomapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput).ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx) } -// The view of the world that the map should render. -func (o PowerpackWidgetGeomapDefinitionOutput) View() PowerpackWidgetGeomapDefinitionViewOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) PowerpackWidgetGeomapDefinitionView { return v.View }).(PowerpackWidgetGeomapDefinitionViewOutput) +// PowerpackWidgetHostmapDefinitionStylePtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs, PowerpackWidgetHostmapDefinitionStylePtr and PowerpackWidgetHostmapDefinitionStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStylePtrInput` via: +// +// PowerpackWidgetHostmapDefinitionStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionStylePtrInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput + ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput } -type PowerpackWidgetGeomapDefinitionPtrOutput struct{ *pulumi.OutputState } +type powerpackWidgetHostmapDefinitionStylePtrType PowerpackWidgetHostmapDefinitionStyleArgs -func (PowerpackWidgetGeomapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() +func PowerpackWidgetHostmapDefinitionStylePtr(v *PowerpackWidgetHostmapDefinitionStyleArgs) PowerpackWidgetHostmapDefinitionStylePtrInput { + return (*powerpackWidgetHostmapDefinitionStylePtrType)(v) } -func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { +func (*powerpackWidgetHostmapDefinitionStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +} + +func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStylePtrOutput) +} + +type PowerpackWidgetHostmapDefinitionStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { return o } -func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { return o } -func (o PowerpackWidgetGeomapDefinitionPtrOutput) Elem() PowerpackWidgetGeomapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) PowerpackWidgetGeomapDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinition - return ret - }).(PowerpackWidgetGeomapDefinitionOutput) +func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionPtrOutput) CustomLinks() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) +func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionStyle) *PowerpackWidgetHostmapDefinitionStyle { + return &v + }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetGeomapDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) +// The max value to use to color the map. +func (o PowerpackWidgetHostmapDefinitionStyleOutput) FillMax() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *string { return v.FillMax }).(pulumi.StringPtrOutput) } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). -func (o PowerpackWidgetGeomapDefinitionPtrOutput) Requests() PowerpackWidgetGeomapDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) []PowerpackWidgetGeomapDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) +// The min value to use to color the map. +func (o PowerpackWidgetHostmapDefinitionStyleOutput) FillMin() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *string { return v.FillMin }).(pulumi.StringPtrOutput) } -// The style of the widget graph. One nested block is allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionPtrOutput) Style() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinitionStyle { - if v == nil { - return nil +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetHostmapDefinitionStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +} + +// A Boolean indicating whether to flip the palette tones. +func (o PowerpackWidgetHostmapDefinitionStyleOutput) PaletteFlip() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *bool { return v.PaletteFlip }).(pulumi.BoolPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) Elem() PowerpackWidgetHostmapDefinitionStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) PowerpackWidgetHostmapDefinitionStyle { + if v != nil { + return *v } - return v.Style - }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) + var ret PowerpackWidgetHostmapDefinitionStyle + return ret + }).(PowerpackWidgetHostmapDefinitionStyleOutput) } -// The title of the widget. -func (o PowerpackWidgetGeomapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { +// The max value to use to color the map. +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) FillMax() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *string { if v == nil { return nil } - return v.Title + return v.FillMax }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetGeomapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { +// The min value to use to color the map. +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) FillMin() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *string { if v == nil { return nil } - return v.TitleAlign + return v.FillMin }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetGeomapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *string { if v == nil { return nil } - return v.TitleSize + return v.Palette }).(pulumi.StringPtrOutput) } -// The view of the world that the map should render. -func (o PowerpackWidgetGeomapDefinitionPtrOutput) View() PowerpackWidgetGeomapDefinitionViewPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinitionView { +// A Boolean indicating whether to flip the palette tones. +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) PaletteFlip() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *bool { if v == nil { return nil } - return &v.View - }).(PowerpackWidgetGeomapDefinitionViewPtrOutput) + return v.PaletteFlip + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetGeomapDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +type PowerpackWidgetIframeDefinition struct { + // The URL to use as a data source for the widget. + Url string `pulumi:"url"` } -// PowerpackWidgetGeomapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetGeomapDefinitionCustomLinkArgs and PowerpackWidgetGeomapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionCustomLinkInput` via: +// PowerpackWidgetIframeDefinitionInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs and PowerpackWidgetIframeDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionCustomLinkArgs{...} -type PowerpackWidgetGeomapDefinitionCustomLinkInput interface { +// PowerpackWidgetIframeDefinitionArgs{...} +type PowerpackWidgetIframeDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput - ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput + ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput + ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionOutput } -type PowerpackWidgetGeomapDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +type PowerpackWidgetIframeDefinitionArgs struct { + // The URL to use as a data source for the widget. + Url pulumi.StringInput `pulumi:"url"` } -func (PowerpackWidgetGeomapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetIframeDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { + return i.ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkOutput) +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput) } -// PowerpackWidgetGeomapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionCustomLinkArray and PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionCustomLinkArrayInput` via: +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { + return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput).ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx) +} + +// PowerpackWidgetIframeDefinitionPtrInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs, PowerpackWidgetIframeDefinitionPtr and PowerpackWidgetIframeDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionCustomLinkArray{ PowerpackWidgetGeomapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetGeomapDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetIframeDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetIframeDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput + ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionPtrOutput } -type PowerpackWidgetGeomapDefinitionCustomLinkArray []PowerpackWidgetGeomapDefinitionCustomLinkInput +type powerpackWidgetIframeDefinitionPtrType PowerpackWidgetIframeDefinitionArgs -func (PowerpackWidgetGeomapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +func PowerpackWidgetIframeDefinitionPtr(v *PowerpackWidgetIframeDefinitionArgs) PowerpackWidgetIframeDefinitionPtrInput { + return (*powerpackWidgetIframeDefinitionPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (*powerpackWidgetIframeDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) +func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { + return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { - return o +type PowerpackWidgetIframeDefinitionOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetIframeDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { + return o } -// The label for the custom link URL. -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { + return o.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) } -// The URL of the custom link. -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetIframeDefinition) *PowerpackWidgetIframeDefinition { + return &v + }).(PowerpackWidgetIframeDefinitionPtrOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// The URL to use as a data source for the widget. +func (o PowerpackWidgetIframeDefinitionOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetIframeDefinition) string { return v.Url }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetIframeDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetIframeDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionCustomLink { - return vs[0].([]PowerpackWidgetGeomapDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionCustomLinkOutput) +func (o PowerpackWidgetIframeDefinitionPtrOutput) Elem() PowerpackWidgetIframeDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetIframeDefinition) PowerpackWidgetIframeDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetIframeDefinition + return ret + }).(PowerpackWidgetIframeDefinitionOutput) } -type PowerpackWidgetGeomapDefinitionRequest struct { - Formulas []PowerpackWidgetGeomapDefinitionRequestFormula `pulumi:"formulas"` - // The query to use for this widget. - LogQuery *PowerpackWidgetGeomapDefinitionRequestLogQuery `pulumi:"logQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetGeomapDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetGeomapDefinitionRequestRumQuery `pulumi:"rumQuery"` +// The URL to use as a data source for the widget. +func (o PowerpackWidgetIframeDefinitionPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetIframeDefinition) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArgs and PowerpackWidgetGeomapDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestInput` via: +type PowerpackWidgetImageDefinition struct { + // Whether to display a background or not. Defaults to `true`. + HasBackground *bool `pulumi:"hasBackground"` + // Whether to display a border or not. Defaults to `true`. + HasBorder *bool `pulumi:"hasBorder"` + // The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. + HorizontalAlign *string `pulumi:"horizontalAlign"` + // The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. + Margin *string `pulumi:"margin"` + // The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. + Sizing *string `pulumi:"sizing"` + // The URL to use as a data source for the widget. + Url string `pulumi:"url"` + // The URL in dark mode to use as a data source for the widget. + UrlDarkTheme *string `pulumi:"urlDarkTheme"` + // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. + VerticalAlign *string `pulumi:"verticalAlign"` +} + +// PowerpackWidgetImageDefinitionInput is an input type that accepts PowerpackWidgetImageDefinitionArgs and PowerpackWidgetImageDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetImageDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestArgs{...} -type PowerpackWidgetGeomapDefinitionRequestInput interface { +// PowerpackWidgetImageDefinitionArgs{...} +type PowerpackWidgetImageDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput - ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestOutput + ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput + ToPowerpackWidgetImageDefinitionOutputWithContext(context.Context) PowerpackWidgetImageDefinitionOutput } -type PowerpackWidgetGeomapDefinitionRequestArgs struct { - Formulas PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The query to use for this widget. - LogQuery PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetGeomapDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` +type PowerpackWidgetImageDefinitionArgs struct { + // Whether to display a background or not. Defaults to `true`. + HasBackground pulumi.BoolPtrInput `pulumi:"hasBackground"` + // Whether to display a border or not. Defaults to `true`. + HasBorder pulumi.BoolPtrInput `pulumi:"hasBorder"` + // The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. + HorizontalAlign pulumi.StringPtrInput `pulumi:"horizontalAlign"` + // The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. + Margin pulumi.StringPtrInput `pulumi:"margin"` + // The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. + Sizing pulumi.StringPtrInput `pulumi:"sizing"` + // The URL to use as a data source for the widget. + Url pulumi.StringInput `pulumi:"url"` + // The URL in dark mode to use as a data source for the widget. + UrlDarkTheme pulumi.StringPtrInput `pulumi:"urlDarkTheme"` + // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. + VerticalAlign pulumi.StringPtrInput `pulumi:"verticalAlign"` } -func (PowerpackWidgetGeomapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetImageDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { + return i.ToPowerpackWidgetImageDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestOutput) +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput) } -// PowerpackWidgetGeomapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArray and PowerpackWidgetGeomapDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestArrayInput` via: +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { + return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput).ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx) +} + +// PowerpackWidgetImageDefinitionPtrInput is an input type that accepts PowerpackWidgetImageDefinitionArgs, PowerpackWidgetImageDefinitionPtr and PowerpackWidgetImageDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetImageDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestArray{ PowerpackWidgetGeomapDefinitionRequestArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestArrayInput interface { +// PowerpackWidgetImageDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetImageDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput + ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput + ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetImageDefinitionPtrOutput } -type PowerpackWidgetGeomapDefinitionRequestArray []PowerpackWidgetGeomapDefinitionRequestInput +type powerpackWidgetImageDefinitionPtrType PowerpackWidgetImageDefinitionArgs -func (PowerpackWidgetGeomapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +func PowerpackWidgetImageDefinitionPtr(v *PowerpackWidgetImageDefinitionArgs) PowerpackWidgetImageDefinitionPtrInput { + return (*powerpackWidgetImageDefinitionPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Background()) +func (*powerpackWidgetImageDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) +func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { + return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +type PowerpackWidgetImageDefinitionOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetImageDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) Formulas() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { + return o.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetGeomapDefinitionRequestOutput) LogQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetImageDefinition) *PowerpackWidgetImageDefinition { + return &v + }).(PowerpackWidgetImageDefinitionPtrOutput) } -// The metric query to use for this widget. -func (o PowerpackWidgetGeomapDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +// Whether to display a background or not. Defaults to `true`. +func (o PowerpackWidgetImageDefinitionOutput) HasBackground() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) *bool { return v.HasBackground }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) Queries() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) +// Whether to display a border or not. Defaults to `true`. +func (o PowerpackWidgetImageDefinitionOutput) HasBorder() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) *bool { return v.HasBorder }).(pulumi.BoolPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetGeomapDefinitionRequestOutput) RumQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) +// The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetImageDefinitionOutput) HorizontalAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.HorizontalAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +// The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. +func (o PowerpackWidgetImageDefinitionOutput) Margin() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.Margin }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +// The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. +func (o PowerpackWidgetImageDefinitionOutput) Sizing() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.Sizing }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { +// The URL to use as a data source for the widget. +func (o PowerpackWidgetImageDefinitionOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) string { return v.Url }).(pulumi.StringOutput) +} + +// The URL in dark mode to use as a data source for the widget. +func (o PowerpackWidgetImageDefinitionOutput) UrlDarkTheme() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.UrlDarkTheme }).(pulumi.StringPtrOutput) +} + +// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. +func (o PowerpackWidgetImageDefinitionOutput) VerticalAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.VerticalAlign }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetImageDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetImageDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { +func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequest { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestOutput) +func (o PowerpackWidgetImageDefinitionPtrOutput) Elem() PowerpackWidgetImageDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) PowerpackWidgetImageDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetImageDefinition + return ret + }).(PowerpackWidgetImageDefinitionOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetGeomapDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetGeomapDefinitionRequestFormulaStyle `pulumi:"style"` +// Whether to display a background or not. Defaults to `true`. +func (o PowerpackWidgetImageDefinitionPtrOutput) HasBackground() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *bool { + if v == nil { + return nil + } + return v.HasBackground + }).(pulumi.BoolPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaArgs and PowerpackWidgetGeomapDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaArgs{...} -type PowerpackWidgetGeomapDefinitionRequestFormulaInput interface { - pulumi.Input +// Whether to display a border or not. Defaults to `true`. +func (o PowerpackWidgetImageDefinitionPtrOutput) HasBorder() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *bool { + if v == nil { + return nil + } + return v.HasBorder + }).(pulumi.BoolPtrOutput) +} - ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput +// The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetImageDefinitionPtrOutput) HorizontalAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { + if v == nil { + return nil + } + return v.HorizontalAlign + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +// The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. +func (o PowerpackWidgetImageDefinitionPtrOutput) Margin() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { + if v == nil { + return nil + } + return v.Margin + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +// The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. +func (o PowerpackWidgetImageDefinitionPtrOutput) Sizing() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { + if v == nil { + return nil + } + return v.Sizing + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Background()) +// The URL to use as a data source for the widget. +func (o PowerpackWidgetImageDefinitionPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaOutput) +// The URL in dark mode to use as a data source for the widget. +func (o PowerpackWidgetImageDefinitionPtrOutput) UrlDarkTheme() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { + if v == nil { + return nil + } + return v.UrlDarkTheme + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaArray and PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaArray{ PowerpackWidgetGeomapDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput interface { - pulumi.Input +// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. +func (o PowerpackWidgetImageDefinitionPtrOutput) VerticalAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { + if v == nil { + return nil + } + return v.VerticalAlign + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput +type PowerpackWidgetListStreamDefinition struct { + // Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. + Requests []PowerpackWidgetListStreamDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title. Default is 16. + TitleSize *string `pulumi:"titleSize"` } -type PowerpackWidgetGeomapDefinitionRequestFormulaArray []PowerpackWidgetGeomapDefinitionRequestFormulaInput +// PowerpackWidgetListStreamDefinitionInput is an input type that accepts PowerpackWidgetListStreamDefinitionArgs and PowerpackWidgetListStreamDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionInput` via: +// +// PowerpackWidgetListStreamDefinitionArgs{...} +type PowerpackWidgetListStreamDefinitionInput interface { + pulumi.Input -func (PowerpackWidgetGeomapDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() + ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput + ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionOutput } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +type PowerpackWidgetListStreamDefinitionArgs struct { + // Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. + Requests PowerpackWidgetListStreamDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title. Default is 16. + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) +func (PowerpackWidgetListStreamDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() } -type PowerpackWidgetGeomapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { + return i.ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return o +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return o +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) } -// An expression alias. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput).ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx) } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +// PowerpackWidgetListStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetListStreamDefinitionArgs, PowerpackWidgetListStreamDefinitionPtr and PowerpackWidgetListStreamDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionPtrInput` via: +// +// PowerpackWidgetListStreamDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetListStreamDefinitionPtrInput interface { + pulumi.Input + + ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput + ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionPtrOutput } -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) +type powerpackWidgetListStreamDefinitionPtrType PowerpackWidgetListStreamDefinitionArgs + +func PowerpackWidgetListStreamDefinitionPtr(v *PowerpackWidgetListStreamDefinitionArgs) PowerpackWidgetListStreamDefinitionPtrInput { + return (*powerpackWidgetListStreamDefinitionPtrType)(v) } -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +func (*powerpackWidgetListStreamDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() } -// The options for limiting results returned. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *PowerpackWidgetGeomapDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) } -// Styling options for widget formulas. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Style() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *PowerpackWidgetGeomapDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestFormulaOutput) +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { + return o.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` -} - -// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinition) *PowerpackWidgetListStreamDefinition { + return &v + }).(PowerpackWidgetListStreamDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +// Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. +func (o PowerpackWidgetListStreamDefinitionOutput) Requests() PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) []PowerpackWidgetListStreamDefinitionRequest { + return v.Requests + }).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) } -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetListStreamDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetListStreamDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) +// The size of the widget's title. Default is 16. +func (o PowerpackWidgetListStreamDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput interface { - pulumi.Input +type PowerpackWidgetListStreamDefinitionPtrOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput +func (PowerpackWidgetListStreamDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput +func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { + return o +} -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetListStreamDefinitionPtrOutput) Elem() PowerpackWidgetListStreamDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) PowerpackWidgetListStreamDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetListStreamDefinition + return ret + }).(PowerpackWidgetListStreamDefinitionOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) +// Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. +func (o PowerpackWidgetListStreamDefinitionPtrOutput) Requests() PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) []PowerpackWidgetListStreamDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +// The title of the widget. +func (o PowerpackWidgetListStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetListStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { - return o +// The size of the widget's title. Default is 16. +func (o PowerpackWidgetListStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { - return o +type PowerpackWidgetListStreamDefinitionRequest struct { + // Widget columns. + Columns []PowerpackWidgetListStreamDefinitionRequestColumn `pulumi:"columns"` + // Updated list stream widget. + Query PowerpackWidgetListStreamDefinitionRequestQuery `pulumi:"query"` + // Widget response format. Valid values are `eventList`. + ResponseFormat string `pulumi:"responseFormat"` } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +// PowerpackWidgetListStreamDefinitionRequestInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestArgs and PowerpackWidgetListStreamDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestInput` via: +// +// PowerpackWidgetListStreamDefinitionRequestArgs{...} +type PowerpackWidgetListStreamDefinitionRequestInput interface { + pulumi.Input + + ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput + ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestOutput } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +type PowerpackWidgetListStreamDefinitionRequestArgs struct { + // Widget columns. + Columns PowerpackWidgetListStreamDefinitionRequestColumnArrayInput `pulumi:"columns"` + // Updated list stream widget. + Query PowerpackWidgetListStreamDefinitionRequestQueryInput `pulumi:"query"` + // Widget response format. Valid values are `eventList`. + ResponseFormat pulumi.StringInput `pulumi:"responseFormat"` } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) +func (PowerpackWidgetListStreamDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() } -// Setting this to True hides values. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(context.Background()) } -// Displays an image as the background. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestOutput) } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +// PowerpackWidgetListStreamDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestArray and PowerpackWidgetListStreamDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestArrayInput` via: +// +// PowerpackWidgetListStreamDefinitionRequestArray{ PowerpackWidgetListStreamDefinitionRequestArgs{...} } +type PowerpackWidgetListStreamDefinitionRequestArrayInput interface { + pulumi.Input + + ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput + ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +type PowerpackWidgetListStreamDefinitionRequestArray []PowerpackWidgetListStreamDefinitionRequestInput + +func (PowerpackWidgetListStreamDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() } -// Defines the displayed timeframe. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Background()) } -// A value for the comparator. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) +// Widget columns. +func (o PowerpackWidgetListStreamDefinitionRequestOutput) Columns() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) []PowerpackWidgetListStreamDefinitionRequestColumn { + return v.Columns + }).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` +// Updated list stream widget. +func (o PowerpackWidgetListStreamDefinitionRequestOutput) Query() PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) PowerpackWidgetListStreamDefinitionRequestQuery { + return v.Query + }).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) } -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs and PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput +// Widget response format. Valid values are `eventList`. +func (o PowerpackWidgetListStreamDefinitionRequestOutput) ResponseFormat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) string { return v.ResponseFormat }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` -} +type PowerpackWidgetListStreamDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) +func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetListStreamDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetListStreamDefinitionRequest { + return vs[0].([]PowerpackWidgetListStreamDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetListStreamDefinitionRequestOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +type PowerpackWidgetListStreamDefinitionRequestColumn struct { + // Widget column field. + Field string `pulumi:"field"` + // Widget column width. Valid values are `auto`, `compact`, `full`. + Width string `pulumi:"width"` } -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs, PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr and PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} -// -// or: +// PowerpackWidgetListStreamDefinitionRequestColumnInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestColumnArgs and PowerpackWidgetListStreamDefinitionRequestColumnOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestColumnInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput interface { +// PowerpackWidgetListStreamDefinitionRequestColumnArgs{...} +type PowerpackWidgetListStreamDefinitionRequestColumnInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput -} - -type powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs - -func PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType)(v) + ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput + ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput } -func (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +type PowerpackWidgetListStreamDefinitionRequestColumnArgs struct { + // Widget column field. + Field pulumi.StringInput `pulumi:"field"` + // Widget column width. Valid values are `auto`, `compact`, `full`. + Width pulumi.StringInput `pulumi:"width"` } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (PowerpackWidgetListStreamDefinitionRequestColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +func (i PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return o -} +// PowerpackWidgetListStreamDefinitionRequestColumnArrayInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestColumnArray and PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestColumnArrayInput` via: +// +// PowerpackWidgetListStreamDefinitionRequestColumnArray{ PowerpackWidgetListStreamDefinitionRequestColumnArgs{...} } +type PowerpackWidgetListStreamDefinitionRequestColumnArrayInput interface { + pulumi.Input -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return o + ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput + ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetListStreamDefinitionRequestColumnArray []PowerpackWidgetListStreamDefinitionRequestColumnInput -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *PowerpackWidgetGeomapDefinitionRequestFormulaLimit { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) +func (PowerpackWidgetListStreamDefinitionRequestColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -// The number of results to return. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Background()) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionRequestColumnOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) PowerpackWidgetGeomapDefinitionRequestFormulaLimit { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestFormulaLimit - return ret - }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *int { - if v == nil { - return nil - } - return v.Count - }).(pulumi.IntPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` +// Widget column field. +func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) Field() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestColumn) string { return v.Field }).(pulumi.StringOutput) } -// PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs and PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput +// Widget column width. Valid values are `auto`, `compact`, `full`. +func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) Width() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestColumn) string { return v.Width }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` -} +type PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) +func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetListStreamDefinitionRequestColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetListStreamDefinitionRequestColumn { + return vs[0].([]PowerpackWidgetListStreamDefinitionRequestColumn)[vs[1].(int)] + }).(PowerpackWidgetListStreamDefinitionRequestColumnOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +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`. + DataSource string `pulumi:"dataSource"` + // Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. + EventSize *string `pulumi:"eventSize"` + // List of indexes. + Indexes []string `pulumi:"indexes"` + // Widget query. + QueryString *string `pulumi:"queryString"` + // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. + Sort *PowerpackWidgetListStreamDefinitionRequestQuerySort `pulumi:"sort"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs, PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr and PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} -// -// or: +// PowerpackWidgetListStreamDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQueryArgs and PowerpackWidgetListStreamDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQueryInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput interface { +// PowerpackWidgetListStreamDefinitionRequestQueryArgs{...} +type PowerpackWidgetListStreamDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput + ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput } -type powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs - -func PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType)(v) +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`. + 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"` + // List of indexes. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // Widget query. + QueryString pulumi.StringPtrInput `pulumi:"queryString"` + // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. + Sort PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput `pulumi:"sort"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *PowerpackWidgetGeomapDefinitionRequestFormulaStyle { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) -} - -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() +// 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`. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return o +// Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) EventSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.EventSize }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return o +// List of indexes. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) PowerpackWidgetGeomapDefinitionRequestFormulaStyle { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestFormulaStyle - return ret - }).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) +// Widget query. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) QueryString() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.QueryString }).(pulumi.StringPtrOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) +// The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Sort() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *PowerpackWidgetListStreamDefinitionRequestQuerySort { + return v.Sort + }).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *int { - if v == nil { - return nil - } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) +// Storage location (private beta). +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetListStreamDefinitionRequestQuerySort struct { + // The facet path for the column. + Column string `pulumi:"column"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryInput` via: +// PowerpackWidgetListStreamDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs and PowerpackWidgetListStreamDefinitionRequestQuerySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryInput interface { +// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} +type PowerpackWidgetListStreamDefinitionRequestQuerySortInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput + ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput + ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput } -type PowerpackWidgetGeomapDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetListStreamDefinitionRequestQuerySortArgs struct { + // The facet path for the column. + Column pulumi.StringInput `pulumi:"column"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput).ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput` via: +// PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs, PowerpackWidgetListStreamDefinitionRequestQuerySortPtr and PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput + ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput } -type powerpackWidgetGeomapDefinitionRequestLogQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryArgs +type powerpackWidgetListStreamDefinitionRequestQuerySortPtrType PowerpackWidgetListStreamDefinitionRequestQuerySortArgs -func PowerpackWidgetGeomapDefinitionRequestLogQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetListStreamDefinitionRequestQuerySortPtr(v *PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput { + return (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return o.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQuery { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinitionRequestQuerySort) *PowerpackWidgetListStreamDefinitionRequestQuerySort { return &v - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) + }).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) +// The facet path for the column. +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) Column() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuerySort) string { return v.Column }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuerySort) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) PowerpackWidgetGeomapDefinitionRequestLogQuery { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) PowerpackWidgetListStreamDefinitionRequestQuerySort { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestLogQuery + var ret PowerpackWidgetListStreamDefinitionRequestQuerySort return ret - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) } -// The name of the index to query. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { +// The facet path for the column. +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Column() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) *string { if v == nil { return nil } - return &v.Index + return &v.Column }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery 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"` +type PowerpackWidgetLogStreamDefinition struct { + // Stringified list of columns to use, for example: `["column1","column2","column3"]`. + Columns []string `pulumi:"columns"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. + MessageDisplay *string `pulumi:"messageDisplay"` + // The query to use in the widget. + Query *string `pulumi:"query"` + // If the date column should be displayed. + ShowDateColumn *bool `pulumi:"showDateColumn"` + // If the message column should be displayed. + ShowMessageColumn *bool `pulumi:"showMessageColumn"` + // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. + Sort *PowerpackWidgetLogStreamDefinitionSort `pulumi:"sort"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetLogStreamDefinitionInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs and PowerpackWidgetLogStreamDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetLogStreamDefinitionArgs{...} +type PowerpackWidgetLogStreamDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput + ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionOutput } -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs 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"` +type PowerpackWidgetLogStreamDefinitionArgs struct { + // Stringified list of columns to use, for example: `["column1","column2","column3"]`. + Columns pulumi.StringArrayInput `pulumi:"columns"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. + MessageDisplay pulumi.StringPtrInput `pulumi:"messageDisplay"` + // The query to use in the widget. + Query pulumi.StringPtrInput `pulumi:"query"` + // If the date column should be displayed. + ShowDateColumn pulumi.BoolPtrInput `pulumi:"showDateColumn"` + // If the message column should be displayed. + ShowMessageColumn pulumi.BoolPtrInput `pulumi:"showMessageColumn"` + // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. + Sort PowerpackWidgetLogStreamDefinitionSortPtrInput `pulumi:"sort"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { + return i.ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput).ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetLogStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs, PowerpackWidgetLogStreamDefinitionPtr and PowerpackWidgetLogStreamDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetLogStreamDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetLogStreamDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput + ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput } -type powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetLogStreamDefinitionPtrType PowerpackWidgetLogStreamDefinitionArgs -func PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetLogStreamDefinitionPtr(v *PowerpackWidgetLogStreamDefinitionArgs) PowerpackWidgetLogStreamDefinitionPtrInput { + return (*powerpackWidgetLogStreamDefinitionPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetLogStreamDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetLogStreamDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { + return o.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinition { return &v - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetLogStreamDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// Stringified list of columns to use, for example: `["column1","column2","column3"]`. +func (o PowerpackWidgetLogStreamDefinitionOutput) Columns() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) []string { return v.Columns }).(pulumi.StringArrayOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// An array of index names to query in the stream. +func (o PowerpackWidgetLogStreamDefinitionOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetLogStreamDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. +func (o PowerpackWidgetLogStreamDefinitionOutput) MessageDisplay() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.MessageDisplay }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +// The query to use in the widget. +func (o PowerpackWidgetLogStreamDefinitionOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.Query }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { +// If the date column should be displayed. +func (o PowerpackWidgetLogStreamDefinitionOutput) ShowDateColumn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *bool { return v.ShowDateColumn }).(pulumi.BoolPtrOutput) +} + +// If the message column should be displayed. +func (o PowerpackWidgetLogStreamDefinitionOutput) ShowMessageColumn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *bool { return v.ShowMessageColumn }).(pulumi.BoolPtrOutput) +} + +// The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. +func (o PowerpackWidgetLogStreamDefinitionOutput) Sort() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinitionSort { return v.Sort }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) +} + +// The title of the widget. +func (o PowerpackWidgetLogStreamDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetLogStreamDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetLogStreamDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetLogStreamDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetLogStreamDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) PowerpackWidgetLogStreamDefinition { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetLogStreamDefinition return ret - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetLogStreamDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { +// Stringified list of columns to use, for example: `["column1","column2","column3"]`. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Columns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) []string { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.Columns + }).(pulumi.StringArrayOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { +// An array of index names to query in the stream. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) []string { + if v == nil { return nil } - return v.Facet - }).(pulumi.StringPtrOutput) + return v.Indexes + }).(pulumi.StringArrayOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *int { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput -} - -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) -} - -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput -} - -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput - -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return o + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return o +// The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) MessageDisplay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { + if v == nil { + return nil + } + return v.MessageDisplay + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The query to use in the widget. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { + if v == nil { + return nil + } + return v.Query + }).(pulumi.StringPtrOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// If the date column should be displayed. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ShowDateColumn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *bool { + if v == nil { + return nil + } + return v.ShowDateColumn + }).(pulumi.BoolPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// If the message column should be displayed. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ShowMessageColumn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *bool { + if v == nil { + return nil + } + return v.ShowMessageColumn + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Sort() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinitionSort { + if v == nil { + return nil + } + return v.Sort + }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o +// The title of the widget. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return o +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` +type PowerpackWidgetLogStreamDefinitionSort struct { + // The facet path for the column. + Column string `pulumi:"column"` // Widget sorting methods. Valid values are `asc`, `desc`. Order string `pulumi:"order"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetLogStreamDefinitionSortInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs and PowerpackWidgetLogStreamDefinitionSortOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetLogStreamDefinitionSortArgs{...} +type PowerpackWidgetLogStreamDefinitionSortInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput + ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortOutput } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` +type PowerpackWidgetLogStreamDefinitionSortArgs struct { + // The facet path for the column. + Column pulumi.StringInput `pulumi:"column"` // Widget sorting methods. Valid values are `asc`, `desc`. Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionSortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { + return i.ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput).ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetLogStreamDefinitionSortPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs, PowerpackWidgetLogStreamDefinitionSortPtr and PowerpackWidgetLogStreamDefinitionSortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetLogStreamDefinitionSortArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetLogStreamDefinitionSortPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput + ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput } -type powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetLogStreamDefinitionSortPtrType PowerpackWidgetLogStreamDefinitionSortArgs -func PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetLogStreamDefinitionSortPtr(v *PowerpackWidgetLogStreamDefinitionSortArgs) PowerpackWidgetLogStreamDefinitionSortPtrInput { + return (*powerpackWidgetLogStreamDefinitionSortPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetLogStreamDefinitionSortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetLogStreamDefinitionSortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionSortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return o.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinitionSort) *PowerpackWidgetLogStreamDefinitionSort { return &v - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) + }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The facet path for the column. +func (o PowerpackWidgetLogStreamDefinitionSortOutput) Column() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinitionSort) string { return v.Column }).(pulumi.StringOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetLogStreamDefinitionSortOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinitionSort) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetLogStreamDefinitionSortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionSortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionSortOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) PowerpackWidgetLogStreamDefinitionSort { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetLogStreamDefinitionSort return ret - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetLogStreamDefinitionSortOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { +// The facet path for the column. +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Column() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) *string { if v == nil { return nil } - return v.Facet + return &v.Column }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) *string { if v == nil { return nil } @@ -42440,1749 +39754,1894 @@ func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute 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"` +type PowerpackWidgetManageStatusDefinition struct { + // Whether to colorize text or background. Valid values are `background`, `text`. + ColorPreference *string `pulumi:"colorPreference"` + // The display setting to use. Valid values are `counts`, `countsAndList`, `list`. + DisplayFormat *string `pulumi:"displayFormat"` + // A Boolean indicating whether to hide empty categories. + HideZeroCounts *bool `pulumi:"hideZeroCounts"` + // The query to use in the widget. + Query string `pulumi:"query"` + // A Boolean indicating whether to show when monitors/groups last triggered. + ShowLastTriggered *bool `pulumi:"showLastTriggered"` + // Whether to show the priorities column. + ShowPriority *bool `pulumi:"showPriority"` + // The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. + Sort *string `pulumi:"sort"` + // The summary type to use. Valid values are `monitors`, `groups`, `combined`. + SummaryType *string `pulumi:"summaryType"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetManageStatusDefinitionInput is an input type that accepts PowerpackWidgetManageStatusDefinitionArgs and PowerpackWidgetManageStatusDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetManageStatusDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetManageStatusDefinitionArgs{...} +type PowerpackWidgetManageStatusDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput + ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionOutput } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs 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"` +type PowerpackWidgetManageStatusDefinitionArgs struct { + // Whether to colorize text or background. Valid values are `background`, `text`. + ColorPreference pulumi.StringPtrInput `pulumi:"colorPreference"` + // The display setting to use. Valid values are `counts`, `countsAndList`, `list`. + DisplayFormat pulumi.StringPtrInput `pulumi:"displayFormat"` + // A Boolean indicating whether to hide empty categories. + HideZeroCounts pulumi.BoolPtrInput `pulumi:"hideZeroCounts"` + // The query to use in the widget. + Query pulumi.StringInput `pulumi:"query"` + // A Boolean indicating whether to show when monitors/groups last triggered. + ShowLastTriggered pulumi.BoolPtrInput `pulumi:"showLastTriggered"` + // Whether to show the priorities column. + ShowPriority pulumi.BoolPtrInput `pulumi:"showPriority"` + // The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // The summary type to use. Valid values are `monitors`, `groups`, `combined`. + SummaryType pulumi.StringPtrInput `pulumi:"summaryType"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetManageStatusDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { + return i.ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionOutput) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { + return i.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionOutput).ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx) +} + +// PowerpackWidgetManageStatusDefinitionPtrInput is an input type that accepts PowerpackWidgetManageStatusDefinitionArgs, PowerpackWidgetManageStatusDefinitionPtr and PowerpackWidgetManageStatusDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetManageStatusDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetManageStatusDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetManageStatusDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput + ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput +type powerpackWidgetManageStatusDefinitionPtrType PowerpackWidgetManageStatusDefinitionArgs -func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetManageStatusDefinitionPtr(v *PowerpackWidgetManageStatusDefinitionArgs) PowerpackWidgetManageStatusDefinitionPtrInput { + return (*powerpackWidgetManageStatusDefinitionPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetManageStatusDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { + return i.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetManageStatusDefinitionOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetManageStatusDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { return o } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { + return o.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetManageStatusDefinition) *PowerpackWidgetManageStatusDefinition { + return &v + }).(PowerpackWidgetManageStatusDefinitionPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Whether to colorize text or background. Valid values are `background`, `text`. +func (o PowerpackWidgetManageStatusDefinitionOutput) ColorPreference() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.ColorPreference }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The display setting to use. Valid values are `counts`, `countsAndList`, `list`. +func (o PowerpackWidgetManageStatusDefinitionOutput) DisplayFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.DisplayFormat }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +// A Boolean indicating whether to hide empty categories. +func (o PowerpackWidgetManageStatusDefinitionOutput) HideZeroCounts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *bool { return v.HideZeroCounts }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o +// The query to use in the widget. +func (o PowerpackWidgetManageStatusDefinitionOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) string { return v.Query }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o +// A Boolean indicating whether to show when monitors/groups last triggered. +func (o PowerpackWidgetManageStatusDefinitionOutput) ShowLastTriggered() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *bool { return v.ShowLastTriggered }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` -} - -// PowerpackWidgetGeomapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput -} - -type PowerpackWidgetGeomapDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` -} - -func (PowerpackWidgetGeomapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Background()) +// Whether to show the priorities column. +func (o PowerpackWidgetManageStatusDefinitionOutput) ShowPriority() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *bool { return v.ShowPriority }).(pulumi.BoolPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryOutput) +// The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. +func (o PowerpackWidgetManageStatusDefinitionOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.Sort }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryArray and PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryArrayInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryArray{ PowerpackWidgetGeomapDefinitionRequestQueryArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestQueryArrayInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput +// The summary type to use. Valid values are `monitors`, `groups`, `combined`. +func (o PowerpackWidgetManageStatusDefinitionOutput) SummaryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.SummaryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryArray []PowerpackWidgetGeomapDefinitionRequestQueryInput - -func (PowerpackWidgetGeomapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetManageStatusDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetManageStatusDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetManageStatusDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetManageStatusDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetManageStatusDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { return o } -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Elem() PowerpackWidgetManageStatusDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) PowerpackWidgetManageStatusDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetManageStatusDefinition + return ret + }).(PowerpackWidgetManageStatusDefinitionOutput) } -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +// Whether to colorize text or background. Valid values are `background`, `text`. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ColorPreference() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return v.ColorPreference + }).(pulumi.StringPtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) +// The display setting to use. Valid values are `counts`, `countsAndList`, `list`. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) DisplayFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return v.DisplayFormat + }).(pulumi.StringPtrOutput) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) +// A Boolean indicating whether to hide empty categories. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) HideZeroCounts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *bool { + if v == nil { + return nil + } + return v.HideZeroCounts + }).(pulumi.BoolPtrOutput) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) +// The query to use in the widget. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -// The process query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) +// A Boolean indicating whether to show when monitors/groups last triggered. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ShowLastTriggered() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *bool { + if v == nil { + return nil + } + return v.ShowLastTriggered + }).(pulumi.BoolPtrOutput) } -// The SLO query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) +// Whether to show the priorities column. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ShowPriority() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *bool { + if v == nil { + return nil + } + return v.ShowPriority + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +// The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return v.Sort + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() +// The summary type to use. Valid values are `monitors`, `groups`, `combined`. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) SummaryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return v.SummaryType + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return o +// The title of the widget. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return o +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestQueryOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` +type PowerpackWidgetNoteDefinition struct { + // The background color of the note. + BackgroundColor *string `pulumi:"backgroundColor"` + // The content of the note. + Content string `pulumi:"content"` + // The size of the text. + FontSize *string `pulumi:"fontSize"` + // Whether to add padding or not. Defaults to `true`. + HasPadding *bool `pulumi:"hasPadding"` + // Whether to show a tick or not. + ShowTick *bool `pulumi:"showTick"` + // The alignment of the widget's text. Valid values are `center`, `left`, `right`. + TextAlign *string `pulumi:"textAlign"` + // When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. + TickEdge *string `pulumi:"tickEdge"` + // When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. + TickPos *string `pulumi:"tickPos"` + // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. + VerticalAlign *string `pulumi:"verticalAlign"` } -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetNoteDefinitionInput is an input type that accepts PowerpackWidgetNoteDefinitionArgs and PowerpackWidgetNoteDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetNoteDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetNoteDefinitionArgs{...} +type PowerpackWidgetNoteDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput + ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetNoteDefinitionArgs struct { + // The background color of the note. + BackgroundColor pulumi.StringPtrInput `pulumi:"backgroundColor"` + // The content of the note. + Content pulumi.StringInput `pulumi:"content"` + // The size of the text. + FontSize pulumi.StringPtrInput `pulumi:"fontSize"` + // Whether to add padding or not. Defaults to `true`. + HasPadding pulumi.BoolPtrInput `pulumi:"hasPadding"` + // Whether to show a tick or not. + ShowTick pulumi.BoolPtrInput `pulumi:"showTick"` + // The alignment of the widget's text. Valid values are `center`, `left`, `right`. + TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` + // When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. + TickEdge pulumi.StringPtrInput `pulumi:"tickEdge"` + // When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. + TickPos pulumi.StringPtrInput `pulumi:"tickPos"` + // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. + VerticalAlign pulumi.StringPtrInput `pulumi:"verticalAlign"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetNoteDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { + return i.ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { + return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput).ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetNoteDefinitionPtrInput is an input type that accepts PowerpackWidgetNoteDefinitionArgs, PowerpackWidgetNoteDefinitionPtr and PowerpackWidgetNoteDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetNoteDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetNoteDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetNoteDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput + ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetNoteDefinitionPtrType PowerpackWidgetNoteDefinitionArgs -func PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetNoteDefinitionPtr(v *PowerpackWidgetNoteDefinitionArgs) PowerpackWidgetNoteDefinitionPtrInput { + return (*powerpackWidgetNoteDefinitionPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetNoteDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { + return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetNoteDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetNoteDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { + return o.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetNoteDefinition) *PowerpackWidgetNoteDefinition { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) + }).(PowerpackWidgetNoteDefinitionPtrOutput) } -// APM environment. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +// The background color of the note. +func (o PowerpackWidgetNoteDefinitionOutput) BackgroundColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.BackgroundColor }).(pulumi.StringPtrOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) +// The content of the note. +func (o PowerpackWidgetNoteDefinitionOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) string { return v.Content }).(pulumi.StringOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +// The size of the text. +func (o PowerpackWidgetNoteDefinitionOutput) FontSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.FontSize }).(pulumi.StringPtrOutput) } -// Name of operation on service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) +// Whether to add padding or not. Defaults to `true`. +func (o PowerpackWidgetNoteDefinitionOutput) HasPadding() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *bool { return v.HasPadding }).(pulumi.BoolPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// Whether to show a tick or not. +func (o PowerpackWidgetNoteDefinitionOutput) ShowTick() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *bool { return v.ShowTick }).(pulumi.BoolPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// The alignment of the widget's text. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetNoteDefinitionOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) } -// APM resource. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. +func (o PowerpackWidgetNoteDefinitionOutput) TickEdge() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.TickEdge }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. +func (o PowerpackWidgetNoteDefinitionOutput) TickPos() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.TickPos }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. +func (o PowerpackWidgetNoteDefinitionOutput) VerticalAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.VerticalAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetNoteDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetNoteDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetNoteDefinitionPtrOutput) Elem() PowerpackWidgetNoteDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) PowerpackWidgetNoteDefinition { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetNoteDefinition return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetNoteDefinitionOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The background color of the note. +func (o PowerpackWidgetNoteDefinitionPtrOutput) BackgroundColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { if v == nil { return nil } - return &v.DataSource + return v.BackgroundColor }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The content of the note. +func (o PowerpackWidgetNoteDefinitionPtrOutput) Content() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { if v == nil { return nil } - return &v.Env + return &v.Content }).(pulumi.StringPtrOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The size of the text. +func (o PowerpackWidgetNoteDefinitionPtrOutput) FontSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { if v == nil { return nil } - return &v.Name + return v.FontSize }).(pulumi.StringPtrOutput) } -// Name of operation on service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// Whether to add padding or not. Defaults to `true`. +func (o PowerpackWidgetNoteDefinitionPtrOutput) HasPadding() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *bool { if v == nil { return nil } - return &v.OperationName - }).(pulumi.StringPtrOutput) + return v.HasPadding + }).(pulumi.BoolPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// Whether to show a tick or not. +func (o PowerpackWidgetNoteDefinitionPtrOutput) ShowTick() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *bool { if v == nil { return nil } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) + return v.ShowTick + }).(pulumi.BoolPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The alignment of the widget's text. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetNoteDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { if v == nil { return nil } - return v.PrimaryTagValue + return v.TextAlign }).(pulumi.StringPtrOutput) } -// APM resource. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. +func (o PowerpackWidgetNoteDefinitionPtrOutput) TickEdge() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { if v == nil { return nil } - return &v.ResourceName + return v.TickEdge }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. +func (o PowerpackWidgetNoteDefinitionPtrOutput) TickPos() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { if v == nil { return nil } - return &v.Service + return v.TickPos }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. +func (o PowerpackWidgetNoteDefinitionPtrOutput) VerticalAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { if v == nil { return nil } - return &v.Stat + return v.VerticalAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` +type PowerpackWidgetQueryTableDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetQueryTableDefinitionCustomLink `pulumi:"customLinks"` + // Controls the display of the search bar. Valid values are `always`, `never`, `auto`. + HasSearchBar *string `pulumi:"hasSearchBar"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). + Requests []PowerpackWidgetQueryTableDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetQueryTableDefinitionInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs and PowerpackWidgetQueryTableDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetQueryTableDefinitionArgs{...} +type PowerpackWidgetQueryTableDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput + ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetQueryTableDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // Controls the display of the search bar. Valid values are `always`, `never`, `auto`. + HasSearchBar pulumi.StringPtrInput `pulumi:"hasSearchBar"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). + Requests PowerpackWidgetQueryTableDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { + return i.ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput).ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs, PowerpackWidgetQueryTableDefinitionPtr and PowerpackWidgetQueryTableDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput + ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs +type powerpackWidgetQueryTableDefinitionPtrType PowerpackWidgetQueryTableDefinitionArgs -func PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionPtr(v *PowerpackWidgetQueryTableDefinitionArgs) PowerpackWidgetQueryTableDefinitionPtrInput { + return (*powerpackWidgetQueryTableDefinitionPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinition) *PowerpackWidgetQueryTableDefinition { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionOutput) CustomLinks() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) } -// Name of operation on service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +// Controls the display of the search bar. Valid values are `always`, `never`, `auto`. +func (o PowerpackWidgetQueryTableDefinitionOutput) HasSearchBar() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.HasSearchBar }).(pulumi.StringPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetQueryTableDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). +func (o PowerpackWidgetQueryTableDefinitionOutput) Requests() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionRequest { + return v.Requests + }).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) } -// APM resource. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// The title of the widget. +func (o PowerpackWidgetQueryTableDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetQueryTableDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetQueryTableDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) PowerpackWidgetQueryTableDefinition { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetQueryTableDefinition return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } - return v.GroupBies - }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) CustomLinks() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionCustomLink { if v == nil { return nil } - return &v.Name - }).(pulumi.StringPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) } -// Name of operation on service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// Controls the display of the search bar. Valid values are `always`, `never`, `auto`. +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) HasSearchBar() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { if v == nil { return nil } - return v.OperationName + return v.HasSearchBar }).(pulumi.StringPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { if v == nil { return nil } - return v.PrimaryTagName + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Requests() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionRequest { if v == nil { return nil } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + return v.Requests + }).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) } -// APM resource. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// The title of the widget. +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { if v == nil { return nil } - return v.ResourceName + return v.Title }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { if v == nil { return nil } - return &v.Service + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { if v == nil { return nil } - return &v.Stat + return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` +type PowerpackWidgetQueryTableDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetQueryTableDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArgs and PowerpackWidgetQueryTableDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} +type PowerpackWidgetQueryTableDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput -} - -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput + ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +type PowerpackWidgetQueryTableDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) +func (PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArray and PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionCustomLinkArray{ PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} } +type PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput } -type powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs - -func PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionCustomLinkArray []PowerpackWidgetQueryTableDefinitionCustomLinkInput -func (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +} -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +// The URL of the custom link. +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +type PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -// The cloud cost query definition. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return o } -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return o +} -func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionCustomLink { + return vs[0].([]PowerpackWidgetQueryTableDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionCustomLinkOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { +type PowerpackWidgetQueryTableDefinitionRequest struct { + // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The alias for the column name (defaults to metric name). + Alias *string `pulumi:"alias"` + // The query to use for this widget. + ApmQuery *PowerpackWidgetQueryTableDefinitionRequestApmQuery `pulumi:"apmQuery"` + ApmStatsQuery *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery `pulumi:"apmStatsQuery"` + // A list of display modes for each table cell. List items one of `number`, `bar`. Valid values are `number`, `bar`. + CellDisplayModes []string `pulumi:"cellDisplayModes"` + // Conditional formats allow you to set the color of your widget content or background, depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetQueryTableDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` + Formulas []PowerpackWidgetQueryTableDefinitionRequestFormula `pulumi:"formulas"` + // The number of lines to show in the table. + Limit *int `pulumi:"limit"` + // The query to use for this widget. + LogQuery *PowerpackWidgetQueryTableDefinitionRequestLogQuery `pulumi:"logQuery"` + // The sort order for the rows. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetQueryTableDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetQueryTableDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetQueryTableDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery `pulumi:"securityQuery"` +} + +// PowerpackWidgetQueryTableDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestArgs and PowerpackWidgetQueryTableDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput + ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput +} + +type PowerpackWidgetQueryTableDefinitionRequestArgs struct { + // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The alias for the column name (defaults to metric name). + Alias pulumi.StringPtrInput `pulumi:"alias"` + // The query to use for this widget. + ApmQuery PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + ApmStatsQuery PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput `pulumi:"apmStatsQuery"` + // A list of display modes for each table cell. List items one of `number`, `bar`. Valid values are `number`, `bar`. + CellDisplayModes pulumi.StringArrayInput `pulumi:"cellDisplayModes"` + // Conditional formats allow you to set the color of your widget content or background, depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` + Formulas PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The number of lines to show in the table. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The query to use for this widget. + LogQuery PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The sort order for the rows. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` +} + +func (PowerpackWidgetQueryTableDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +} + +func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestOutput) +} + +// PowerpackWidgetQueryTableDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestArray and PowerpackWidgetQueryTableDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestArray{ PowerpackWidgetQueryTableDefinitionRequestArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput +} + +type PowerpackWidgetQueryTableDefinitionRequestArray []PowerpackWidgetQueryTableDefinitionRequestInput + +func (PowerpackWidgetQueryTableDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +} + +func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery - return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) +// The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) +// The alias for the column name (defaults to metric name). +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Alias }).(pulumi.StringPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmStatsQuery() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { + return v.ApmStatsQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +// A list of display modes for each table cell. List items one of `number`, `bar`. Valid values are `number`, `bar`. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) CellDisplayModes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []string { return v.CellDisplayModes }).(pulumi.StringArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +// Conditional formats allow you to set the color of your widget content or background, depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ConditionalFormats() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput` via: +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Formulas() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) +} + +// The number of lines to show in the table. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) +} + +// The sort order for the rows. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Order }).(pulumi.StringPtrOutput) +} + +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ProcessQuery() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) +} + +// The metric query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +} + +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Queries() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequest { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetQueryTableDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +type PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs +type powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Group by options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// The search options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) } -// Storage location (private beta). -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) PowerpackWidgetQueryTableDefinitionRequestApmQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuery + var ret PowerpackWidgetQueryTableDefinitionRequestApmQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) -} - -// The compute options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) } -// Group by options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy { if v == nil { return nil } - return v.Indexes - }).(pulumi.StringArrayOutput) + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Index }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute { if v == nil { return nil } - return v.Search - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) } -// Storage location (private beta). -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { if v == nil { return nil } - return v.Storage + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery struct { + // The aggregation method. Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet *string `pulumi:"facet"` + // Define the time interval in seconds. Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs struct { + // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Define the time interval in seconds. Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput` via: +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput +type powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { return o } -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -// A time interval in milliseconds. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { return o } -// The event facet. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The number of groups to return. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery struct { + // The aggregation method. Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs struct { + // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -44190,340 +41649,347 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutpu }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Metric + return v.Facet }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Order + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` -} - -// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute 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"` } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput interface { + pulumi.Input -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs 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 (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput } -type powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput -func (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The events search string. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) -} - -// The events search string. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery struct { + // Column properties used by the front end for display. + Columns []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn `pulumi:"columns"` + // The environment name. + Env string `pulumi:"env"` + // The operation name associated with the service. Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` + // The organization's host group name and value. + PrimaryTag string `pulumi:"primaryTag"` + // The resource name. + Resource *string `pulumi:"resource"` + // The level of detail for the request. Valid values are `service`, `resource`, `span`. + RowType string `pulumi:"rowType"` + // The service name. + Service string `pulumi:"service"` } -// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs struct { + // Column properties used by the front end for display. + Columns PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput `pulumi:"columns"` + // The environment name. + Env pulumi.StringInput `pulumi:"env"` + // The operation name associated with the service. Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` + // The organization's host group name and value. + PrimaryTag pulumi.StringInput `pulumi:"primaryTag"` + // The resource name. + Resource pulumi.StringPtrInput `pulumi:"resource"` + // The level of detail for the request. Valid values are `service`, `resource`, `span`. + RowType pulumi.StringInput `pulumi:"rowType"` + // The service name. + Service pulumi.StringInput `pulumi:"service"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +// Column properties used by the front end for display. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Columns() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn { + return v.Columns + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +// The environment name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +// The operation name associated with the service. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// The metrics query definition. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The organization's host group name and value. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) PrimaryTag() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.PrimaryTag }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +// The resource name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Resource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { return v.Resource }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +// The level of detail for the request. Valid values are `service`, `resource`, `span`. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) RowType() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.RowType }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { +// The service name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { +// Column properties used by the front end for display. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Columns() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.Columns + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { +// The environment name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } - return v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { +// The operation name associated with the service. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } @@ -44531,1215 +41997,1341 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Name() }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { +// The organization's host group name and value. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) PrimaryTag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } - return &v.Query + return &v.PrimaryTag }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. +// The resource name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Resource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { + if v == nil { + return nil + } + return v.Resource + }).(pulumi.StringPtrOutput) +} + +// The level of detail for the request. Valid values are `service`, `resource`, `span`. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) RowType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { + if v == nil { + return nil + } + return &v.RowType + }).(pulumi.StringPtrOutput) +} + +// The service name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn struct { + // A user-assigned alias for the column. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // The column name. Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs struct { + // A user-assigned alias for the column. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // The column name. Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` +} + +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +} + +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) +} + +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray{ PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput +} + +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput + +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +} + +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { + return o +} + +// A user-assigned alias for the column. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) *string { return v.Alias }).(pulumi.StringPtrOutput) +} + +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) *string { + return v.CellDisplayMode + }).(pulumi.StringPtrOutput) +} + +// The column name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) string { return v.Name }).(pulumi.StringOutput) } -func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) *string { return v.Order }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs{...} -// -// or: +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` +} + +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput } -type powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` +} -func PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType)(v) +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -func (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput -func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { + return o } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { + return o } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) } -// The number of hits to return. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) } -// The process metric name. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// Setting this to True hides values. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +// Displays an image as the background. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// The text to use as a filter. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +// A value for the comparator. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery - return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestConditionalFormat { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle `pulumi:"style"` } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +// PowerpackWidgetQueryTableDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestFormulaArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestFormulaInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -// The number of hits to return. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) +func (PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -// The process metric name. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Background()) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Sort - }).(pulumi.StringPtrOutput) +// PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaArray and PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestFormulaArray{ PowerpackWidgetQueryTableDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput } -// An array of tags to filter by. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) +type PowerpackWidgetQueryTableDefinitionRequestFormulaArray []PowerpackWidgetQueryTableDefinitionRequestFormulaInput + +func (PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -// The text to use as a filter. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.TextFilter - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) } -// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput interface { - pulumi.Input +type PowerpackWidgetQueryTableDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput +func (PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { + return o } -func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +// An expression alias. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs, PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtr and PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput interface { - pulumi.Input +// The options for limiting results returned. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Limit() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) +} - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput +// Styling options for widget formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Style() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) } -type powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs +type PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -func PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType)(v) +func (PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -func (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return o -} +// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return o + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) +func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput interface { + pulumi.Input -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput + +func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// ID of an SLO to query. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestQuerySloQuery - return ret - }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.AdditionalQueryFilters +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.DataSource +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor }).(pulumi.StringPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.GroupMode - }).(pulumi.StringPtrOutput) +// Setting this to True hides values. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) +// Displays an image as the background. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// A value for the comparator. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryInput` via: +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` +} + +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput } -type powerpackWidgetGeomapDefinitionRequestRumQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryArgs +type powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs -func PowerpackWidgetGeomapDefinitionRequestRumQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { return &v - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) +// The number of results to return. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// The search query to use. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) PowerpackWidgetGeomapDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestRumQuery + var ret PowerpackWidgetQueryTableDefinitionRequestFormulaLimit return ret - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { - if v == nil { - return nil - } - return &v.Index - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute { +// The number of results to return. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *int { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// The search query to use. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *string { if v == nil { return nil } - return v.SearchQuery + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery 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"` +type PowerpackWidgetQueryTableDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` } -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs 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"` +type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput } -type powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs -func PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { return &v - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Index specifying which color to use within the palette. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetQueryTableDefinitionRequestFormulaStyle return ret - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *string { if v == nil { return nil } - return v.Facet + return v.Palette }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *int { +// Index specifying which color to use within the palette. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *int { if v == nil { return nil } - return v.Interval + return v.PaletteIndex }).(pulumi.IntPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` +type PowerpackWidgetQueryTableDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput` via: +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput +type powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { return o } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -// The maximum number of items in the group. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) PowerpackWidgetQueryTableDefinitionRequestLogQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestLogQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery struct { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) *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 PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } @@ -45748,8 +43340,8 @@ func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } @@ -45757,3264 +43349,3379 @@ func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *int { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` - // Define the time interval in seconds. - Interval *int `pulumi:"interval"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput -func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { return o } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) } -type PowerpackWidgetGeomapDefinitionStyle struct { - // The color palette to apply to the widget. - Palette string `pulumi:"palette"` - // A Boolean indicating whether to flip the palette tones. - PaletteFlip bool `pulumi:"paletteFlip"` +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetGeomapDefinitionStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionStyleArgs and PowerpackWidgetGeomapDefinitionStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionStyleInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetGeomapDefinitionStyleArgs{...} -type PowerpackWidgetGeomapDefinitionStyleInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput - ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStyleOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput } -type PowerpackWidgetGeomapDefinitionStyleArgs struct { - // The color palette to apply to the widget. - Palette pulumi.StringInput `pulumi:"palette"` - // A Boolean indicating whether to flip the palette tones. - PaletteFlip pulumi.BoolInput `pulumi:"paletteFlip"` +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetGeomapDefinitionStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { - return i.ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStyleOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStyleOutput).ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionStylePtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionStyleArgs, PowerpackWidgetGeomapDefinitionStylePtr and PowerpackWidgetGeomapDefinitionStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionStylePtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionStyleArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionStylePtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput - ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetGeomapDefinitionStylePtrType PowerpackWidgetGeomapDefinitionStyleArgs +type powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs -func PowerpackWidgetGeomapDefinitionStylePtr(v *PowerpackWidgetGeomapDefinitionStyleArgs) PowerpackWidgetGeomapDefinitionStylePtrInput { - return (*powerpackWidgetGeomapDefinitionStylePtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStylePtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionStyle) *PowerpackWidgetGeomapDefinitionStyle { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// The color palette to apply to the widget. -func (o PowerpackWidgetGeomapDefinitionStyleOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionStyle) string { return v.Palette }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// A Boolean indicating whether to flip the palette tones. -func (o PowerpackWidgetGeomapDefinitionStyleOutput) PaletteFlip() pulumi.BoolOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionStyle) bool { return v.PaletteFlip }).(pulumi.BoolOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionStylePtrOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} -func (PowerpackWidgetGeomapDefinitionStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) PowerpackWidgetGeomapDefinitionStyle { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionStyle + var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetGeomapDefinitionStyleOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The color palette to apply to the widget. -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) *string { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Palette + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// A Boolean indicating whether to flip the palette tones. -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) PaletteFlip() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) *bool { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.PaletteFlip - }).(pulumi.BoolPtrOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionView struct { - // The two-letter ISO code of a country to focus the map on (or `WORLD`). - Focus string `pulumi:"focus"` +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionViewInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs and PowerpackWidgetGeomapDefinitionViewOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewInput` via: -// -// PowerpackWidgetGeomapDefinitionViewArgs{...} -type PowerpackWidgetGeomapDefinitionViewInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput - ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewOutput +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute 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"` } -type PowerpackWidgetGeomapDefinitionViewArgs struct { - // The two-letter ISO code of a country to focus the map on (or `WORLD`). - Focus pulumi.StringInput `pulumi:"focus"` -} +// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput interface { + pulumi.Input -func (PowerpackWidgetGeomapDefinitionViewArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput } -func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { - return i.ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Background()) +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs 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 (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput) +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput).ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) } -// PowerpackWidgetGeomapDefinitionViewPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs, PowerpackWidgetGeomapDefinitionViewPtr and PowerpackWidgetGeomapDefinitionViewPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionViewArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionViewPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput - ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput } -type powerpackWidgetGeomapDefinitionViewPtrType PowerpackWidgetGeomapDefinitionViewArgs - -func PowerpackWidgetGeomapDefinitionViewPtr(v *PowerpackWidgetGeomapDefinitionViewArgs) PowerpackWidgetGeomapDefinitionViewPtrInput { - return (*powerpackWidgetGeomapDefinitionViewPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput -func (*powerpackWidgetGeomapDefinitionViewPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetGeomapDefinitionViewOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionViewOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionView) *PowerpackWidgetGeomapDefinitionView { - return &v - }).(PowerpackWidgetGeomapDefinitionViewPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The two-letter ISO code of a country to focus the map on (or `WORLD`). -func (o PowerpackWidgetGeomapDefinitionViewOutput) Focus() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionView) string { return v.Focus }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetGeomapDefinitionViewPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionViewPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) Elem() PowerpackWidgetGeomapDefinitionViewOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionView) PowerpackWidgetGeomapDefinitionView { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionView - return ret - }).(PowerpackWidgetGeomapDefinitionViewOutput) -} - -// The two-letter ISO code of a country to focus the map on (or `WORLD`). -func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) Focus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionView) *string { - if v == nil { - return nil - } - return &v.Focus - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) } -type PowerpackWidgetHeatmapDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetHeatmapDefinitionCustomLink `pulumi:"customLinks"` - // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. - Events []PowerpackWidgetHeatmapDefinitionEvent `pulumi:"events"` - // The size of the legend displayed in the widget. - LegendSize *string `pulumi:"legendSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Requests []PowerpackWidgetHeatmapDefinitionRequest `pulumi:"requests"` - // Whether or not to show the legend on this widget. - ShowLegend *bool `pulumi:"showLegend"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` - // A nested block describing the Y-Axis Controls. The structure of this block is described below. - Yaxis *PowerpackWidgetHeatmapDefinitionYaxis `pulumi:"yaxis"` +type PowerpackWidgetQueryTableDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetHeatmapDefinitionInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs and PowerpackWidgetHeatmapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionInput` via: +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionArgs{...} -type PowerpackWidgetHeatmapDefinitionInput interface { +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput - ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionOutput + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput } -type PowerpackWidgetHeatmapDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. - Events PowerpackWidgetHeatmapDefinitionEventArrayInput `pulumi:"events"` - // The size of the legend displayed in the widget. - LegendSize pulumi.StringPtrInput `pulumi:"legendSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Requests PowerpackWidgetHeatmapDefinitionRequestArrayInput `pulumi:"requests"` - // Whether or not to show the legend on this widget. - ShowLegend pulumi.BoolPtrInput `pulumi:"showLegend"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - 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 Y-Axis Controls. The structure of this block is described below. - Yaxis PowerpackWidgetHeatmapDefinitionYaxisPtrInput `pulumi:"yaxis"` +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetHeatmapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { - return i.ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput).ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs, PowerpackWidgetHeatmapDefinitionPtr and PowerpackWidgetHeatmapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput - ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionPtrType PowerpackWidgetHeatmapDefinitionArgs +type powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs -func PowerpackWidgetHeatmapDefinitionPtr(v *PowerpackWidgetHeatmapDefinitionArgs) PowerpackWidgetHeatmapDefinitionPtrInput { - return (*powerpackWidgetHeatmapDefinitionPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinition { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestProcessQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionOutput) CustomLinks() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) -} - -// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionOutput) Events() PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionEvent { return v.Events }).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) -} - -// The size of the legend displayed in the widget. -func (o PowerpackWidgetHeatmapDefinitionOutput) LegendSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.LegendSize }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetHeatmapDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} - -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetHeatmapDefinitionOutput) Requests() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionRequest { return v.Requests }).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) -} - -// Whether or not to show the legend on this widget. -func (o PowerpackWidgetHeatmapDefinitionOutput) ShowLegend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *bool { return v.ShowLegend }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetHeatmapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// A list of processes. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetHeatmapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetHeatmapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// Your chosen metric. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// A nested block describing the Y-Axis Controls. The structure of this block is described below. -func (o PowerpackWidgetHeatmapDefinitionOutput) Yaxis() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinitionYaxis { return v.Yaxis }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) +// Your chosen search term. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) PowerpackWidgetHeatmapDefinition { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) PowerpackWidgetQueryTableDefinitionRequestProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinition + var ret PowerpackWidgetQueryTableDefinitionRequestProcessQuery return ret - }).(PowerpackWidgetHeatmapDefinitionOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) CustomLinks() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) -} - -// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Events() PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionEvent { - if v == nil { - return nil - } - return v.Events - }).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) -} - -// The size of the legend displayed in the widget. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) LegendSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { - if v == nil { - return nil - } - return v.LegendSize - }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) -} - -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Requests() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) } -// Whether or not to show the legend on this widget. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ShowLegend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *bool { +// A list of processes. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return v.ShowLegend - }).(pulumi.BoolPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// The title of the widget. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { +// The max number of items in the filter list. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *int { if v == nil { return nil } - return v.Title - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { +// Your chosen metric. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.TitleAlign + return &v.Metric }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { +// Your chosen search term. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.TitleSize + return v.SearchBy }).(pulumi.StringPtrOutput) } -// A nested block describing the Y-Axis Controls. The structure of this block is described below. -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Yaxis() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinitionYaxis { - if v == nil { - return nil - } - return v.Yaxis - }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) -} - -type PowerpackWidgetHeatmapDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +type PowerpackWidgetQueryTableDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` } -// PowerpackWidgetHeatmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArgs and PowerpackWidgetHeatmapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} -type PowerpackWidgetHeatmapDefinitionCustomLinkInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput - ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput } -type PowerpackWidgetHeatmapDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +type PowerpackWidgetQueryTableDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` } -func (PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryOutput) } -// PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArray and PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryArray and PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionCustomLinkArray{ PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryArray{ PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput } -type PowerpackWidgetHeatmapDefinitionCustomLinkArray []PowerpackWidgetHeatmapDefinitionCustomLinkInput +type PowerpackWidgetQueryTableDefinitionRequestQueryArray []PowerpackWidgetQueryTableDefinitionRequestQueryInput -func (PowerpackWidgetHeatmapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetHeatmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// The URL of the custom link. -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return o +// A timeseries formula and functions events query. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return o +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionCustomLink { - return vs[0].([]PowerpackWidgetHeatmapDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionCustomLinkOutput) +// The process query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionEvent struct { - // The event query to use in the widget. - Q string `pulumi:"q"` - // The execution method for multi-value filters. - TagsExecution *string `pulumi:"tagsExecution"` +// The SLO query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) } -// PowerpackWidgetHeatmapDefinitionEventInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArgs and PowerpackWidgetHeatmapDefinitionEventOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventInput` via: -// -// PowerpackWidgetHeatmapDefinitionEventArgs{...} -type PowerpackWidgetHeatmapDefinitionEventInput interface { - pulumi.Input +type PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput - ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventOutput +func (PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionEventArgs struct { - // The event query to use in the widget. - Q pulumi.StringInput `pulumi:"q"` - // The execution method for multi-value filters. - TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` +func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return o } -func (PowerpackWidgetHeatmapDefinitionEventArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return o } -func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { - return i.ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` } -// PowerpackWidgetHeatmapDefinitionEventArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArray and PowerpackWidgetHeatmapDefinitionEventArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionEventArray{ PowerpackWidgetHeatmapDefinitionEventArgs{...} } -type PowerpackWidgetHeatmapDefinitionEventArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput - ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetHeatmapDefinitionEventArray []PowerpackWidgetHeatmapDefinitionEventInput - -func (PowerpackWidgetHeatmapDefinitionEventArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Background()) +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionEventOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionEventOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// The event query to use in the widget. -func (o PowerpackWidgetHeatmapDefinitionEventOutput) Q() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionEvent) string { return v.Q }).(pulumi.StringOutput) -} +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { + pulumi.Input -// The execution method for multi-value filters. -func (o PowerpackWidgetHeatmapDefinitionEventOutput) TagsExecution() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionEvent) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type PowerpackWidgetHeatmapDefinitionEventArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionEventArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() -} +type powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs -func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return o +func PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return o +func (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionEventOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionEvent { - return vs[0].([]PowerpackWidgetHeatmapDefinitionEvent)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionEventOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequest struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetHeatmapDefinitionRequestApmQuery `pulumi:"apmQuery"` - Formulas []PowerpackWidgetHeatmapDefinitionRequestFormula `pulumi:"formulas"` - // The query to use for this widget. - LogQuery *PowerpackWidgetHeatmapDefinitionRequestLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetHeatmapDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetHeatmapDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetHeatmapDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery `pulumi:"securityQuery"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style *PowerpackWidgetHeatmapDefinitionRequestStyle `pulumi:"style"` +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestArgs and PowerpackWidgetHeatmapDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput - ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput -} +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -type PowerpackWidgetHeatmapDefinitionRequestArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - Formulas PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The query to use for this widget. - LogQuery PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style PowerpackWidgetHeatmapDefinitionRequestStylePtrInput `pulumi:"style"` +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (PowerpackWidgetHeatmapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o } -func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o } -func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -// PowerpackWidgetHeatmapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestArray and PowerpackWidgetHeatmapDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestArray{ PowerpackWidgetHeatmapDefinitionRequestArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestArrayInput interface { - pulumi.Input +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} - ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestArray []PowerpackWidgetHeatmapDefinitionRequestInput +// APM environment. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *bool { + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Background()) +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) +// Name of operation on service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestOutput struct{ *pulumi.OutputState } +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { - return o +// APM resource. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { - return o +// APM service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.Service + }).(pulumi.StringOutput) } -// The query to use for this widget. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ApmQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Formulas() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -// The query to use for this widget. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) LogQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o } -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ProcessQuery() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o } -// The metric query to use for this widget. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Queries() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) RumQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) +// APM environment. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) SecurityQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *bool { + if v == nil { + return nil + } + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -// The style of the widget graph. One nested block is allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Style() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestStyle { - return v.Style - }).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +// Name of operation on service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return o +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return o +// APM resource. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequest { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestOutput) +// APM service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryInput` via: +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` +} + +// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy { +// APM environment. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +} + +// Array of fields to group results by. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) + }).(pulumi.StringArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) +// Name of operation on service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { +// APM service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) PowerpackWidgetHeatmapDefinitionRequestApmQuery { - if v != nil { - return *v +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) +} + +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) +} + +// Array of fields to group results by. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) []string { + if v == nil { + return nil + } + return v.GroupBies + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of operation on service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetHeatmapDefinitionRequestApmQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) + return v.OperationName + }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy { +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { +// APM resource. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Index + return v.ResourceName }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute { +// APM service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) + return &v.Service + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Stat }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery 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"` +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs 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"` +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The cloud cost query definition. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Facet + return &v.DataSource }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *int { +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() + return &v.Name + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +// The cloud cost query definition. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} +type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) +func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType)(v) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) } -type powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return o +// The compute options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return o +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// Group by options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// An array of index names to query in the stream. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The search options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Storage location (private beta). +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { +// The compute options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return &v.Aggregation + return v.Computes + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { +// Group by options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } - return v.Facet + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) +} + +// An array of index names to query in the stream. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { +// The search options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } - return &v.Order + return v.Search + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute struct { - // The aggregation method. +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs struct { - // The aggregation method. +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The measurable attribute to compute. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle `pulumi:"style"` +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. + Limit *int `pulumi:"limit"` + // The options for sorting group by results. + Sort *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetHeatmapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The options for sorting group by results. + Sort PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArray and PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaArray []PowerpackWidgetHeatmapDefinitionRequestFormulaInput +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput -func (PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { return o } -// An expression alias. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) -} - -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) -} - -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) -} - -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +// The event facet. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// The options for limiting results returned. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) +// The number of groups to return. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Styling options for widget formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Style() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // The metric used for sorting group by results. Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The metric used for sorting group by results. Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput - -func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) -} +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { + pulumi.Input -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs -func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { - return o +func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { - return o +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return o } -// Setting this to True hides values. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return o } -// Displays an image as the background. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// The metric used for sorting group by results. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput` via: +// The metric used for sorting group by results. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { + if v == nil { + return nil + } + return v.Metric + }).(pulumi.StringPtrOutput) +} + +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` +} + +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs +type powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) -} - -// The number of results to return. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +// The events search string. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestFormulaLimit + var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *int { - if v == nil { - return nil - } - return v.Count - }).(pulumi.IntPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *string { +// The events search string. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) *string { if v == nil { return nil } - return v.Order + return &v.Query }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr and PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs +type powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +// The metrics query definition. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestFormulaStyle + var ret PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *string { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.Palette + return v.Aggregator }).(pulumi.StringPtrOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *int { +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) + return v.DataSource + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryInput` via: +// The metrics query definition. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit *int `pulumi:"limit"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` +} + +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) + +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) +// The number of hits to return. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The process metric name. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { +// An array of tags to filter by. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) PowerpackWidgetHeatmapDefinitionRequestLogQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestLogQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy { +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *bool { if v == nil { return nil } - return &v.Index + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) +} + +// The number of hits to return. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute { +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.SearchQuery + return v.Sort }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery 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"` +// An array of tags to filter by. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) []string { + if v == nil { + return nil + } + return v.TagFilters + }).(pulumi.StringArrayOutput) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput` via: +// The text to use as a filter. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.TextFilter + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` +} + +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs 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"` +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet +// Additional filters applied to the SLO query. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput +// ID of an SLO to query. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) +func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return o +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return o +// ID of an SLO to query. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetQueryTableDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) PowerpackWidgetQueryTableDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetQueryTableDefinitionRequestRumQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { if v == nil { return nil } - return v.Facet + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } - return &v.Order + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -49023,18 +46730,18 @@ type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -49043,3034 +46750,2715 @@ type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) -} - -// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` -} - -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs and PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs +type powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestProcessQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// Your chosen metric. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) PowerpackWidgetHeatmapDefinitionRequestProcessQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestProcessQuery + var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) -} - -// A list of processes. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *int { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return &v.Metric + return v.Facet }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *int { if v == nil { return nil } - return v.SearchBy - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArray and PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryArray{ PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryArray []PowerpackWidgetHeatmapDefinitionRequestQueryInput +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetHeatmapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { return o } -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// A timeseries formula and functions events query. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) -} - -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The process query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The SLO query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestQueryOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// APM resource. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) string { + return v.Aggregation }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) -} - -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -// Name of operation on service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { + if v != nil { + return *v } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) } -// APM resource. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.ResourceName + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Service + return v.Facet }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Stat + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs 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 (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput + +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) } -type powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput } -// APM environment. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// Array of fields to group results by. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -// Name of operation on service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// APM resource. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput } -// APM service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +type powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs + +func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType)(v) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) } -// APM environment. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// Array of fields to group results by. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { return v.GroupBies - }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -// Name of operation on service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { + if v != nil { + return *v } - return v.OperationName - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) } -// APM resource. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return v.ResourceName + return &v.Index }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } - return &v.Service - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return &v.Stat + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput } -func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs 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 (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput` via: +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } - return &v.Query - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) } -type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType)(v) +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +// The maximum number of items in the group. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// The compute options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -// Group by options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -// An array of index names to query in the stream. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The search options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// Storage location (private beta). -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { + pulumi.Input -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { +type powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs + +func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +} + +func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The compute options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { + return v.Facet }).(pulumi.StringPtrOutput) } -// Group by options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { + if v != nil { + return *v } - return v.Indexes - }).(pulumi.StringArrayOutput) + var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil - } - return v.Search - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) + } + return v.Facet + }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Storage + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute struct { + // The aggregation method. Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet *string `pulumi:"facet"` + // Define the time interval in seconds. Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs struct { + // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Define the time interval in seconds. Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { return o } -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// A time interval in milliseconds. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` +type PowerpackWidgetQueryValueDefinition struct { + // A Boolean indicating whether to automatically scale the tile. + Autoscale *bool `pulumi:"autoscale"` + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetQueryValueDefinitionCustomLink `pulumi:"customLinks"` + // The unit for the value displayed in the widget. + CustomUnit *string `pulumi:"customUnit"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // The precision to use when displaying the tile. + Precision *int `pulumi:"precision"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). + Requests []PowerpackWidgetQueryValueDefinitionRequest `pulumi:"requests"` + // The alignment of the widget's text. Valid values are `center`, `left`, `right`. + TextAlign *string `pulumi:"textAlign"` + // Set a timeseries on the widget background. + TimeseriesBackground *PowerpackWidgetQueryValueDefinitionTimeseriesBackground `pulumi:"timeseriesBackground"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetQueryValueDefinitionInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs and PowerpackWidgetQueryValueDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionArgs{...} +type PowerpackWidgetQueryValueDefinitionInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput + ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +type PowerpackWidgetQueryValueDefinitionArgs struct { + // A Boolean indicating whether to automatically scale the tile. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The unit for the value displayed in the widget. + CustomUnit pulumi.StringPtrInput `pulumi:"customUnit"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // The precision to use when displaying the tile. + Precision pulumi.IntPtrInput `pulumi:"precision"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). + Requests PowerpackWidgetQueryValueDefinitionRequestArrayInput `pulumi:"requests"` + // The alignment of the widget's text. Valid values are `center`, `left`, `right`. + TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` + // Set a timeseries on the widget background. + TimeseriesBackground PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput `pulumi:"timeseriesBackground"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) +func (PowerpackWidgetQueryValueDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { + return i.ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput - -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput).ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +// PowerpackWidgetQueryValueDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs, PowerpackWidgetQueryValueDefinitionPtr and PowerpackWidgetQueryValueDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionPtrInput interface { + pulumi.Input -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput + ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return o -} +type powerpackWidgetQueryValueDefinitionPtrType PowerpackWidgetQueryValueDefinitionArgs -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return o +func PowerpackWidgetQueryValueDefinitionPtr(v *PowerpackWidgetQueryValueDefinitionArgs) PowerpackWidgetQueryValueDefinitionPtrInput { + return (*powerpackWidgetQueryValueDefinitionPtrType)(v) } -// The event facet. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (*powerpackWidgetQueryValueDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() } -// The number of groups to return. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) } -// The options for sorting group by results. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) -} - -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinition { + return &v + }).(PowerpackWidgetQueryValueDefinitionPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` +// A Boolean indicating whether to automatically scale the tile. +func (o PowerpackWidgetQueryValueDefinitionOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionOutput) CustomLinks() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +// The unit for the value displayed in the widget. +func (o PowerpackWidgetQueryValueDefinitionOutput) CustomUnit() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.CustomUnit }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetQueryValueDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +// The precision to use when displaying the tile. +func (o PowerpackWidgetQueryValueDefinitionOutput) Precision() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *int { return v.Precision }).(pulumi.IntPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). +func (o PowerpackWidgetQueryValueDefinitionOutput) Requests() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionRequest { + return v.Requests + }).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput +// The alignment of the widget's text. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetQueryValueDefinitionOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) } -type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs - -func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +// Set a timeseries on the widget background. +func (o PowerpackWidgetQueryValueDefinitionOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { + return v.TimeseriesBackground + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetQueryValueDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetQueryValueDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetQueryValueDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) PowerpackWidgetQueryValueDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinition + return ret + }).(PowerpackWidgetQueryValueDefinitionOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// A Boolean indicating whether to automatically scale the tile. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) CustomLinks() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionCustomLink { + if v == nil { + return nil + } + return v.CustomLinks + }).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The unit for the value displayed in the widget. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) CustomUnit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { + if v == nil { + return nil + } + return v.CustomUnit + }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// The precision to use when displaying the tile. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Precision() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *int { + if v == nil { + return nil + } + return v.Precision + }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Requests() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o +// The alignment of the widget's text. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { + if v == nil { + return nil + } + return v.TextAlign + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v +// Set a timeseries on the widget background. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { + if v == nil { + return nil } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) + return v.TimeseriesBackground + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { +// The title of the widget. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { if v == nil { return nil } - return &v.Aggregation + return v.Title }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { if v == nil { return nil } - return v.Metric + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { if v == nil { return nil } - return v.Order + return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetQueryValueDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetQueryValueDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArgs and PowerpackWidgetQueryValueDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} +type PowerpackWidgetQueryValueDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput + ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +type PowerpackWidgetQueryValueDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) +func (PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArray and PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput` via: // -// nil -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput interface { +// PowerpackWidgetQueryValueDefinitionCustomLinkArray{ PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} } +type PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionCustomLinkArray []PowerpackWidgetQueryValueDefinitionCustomLinkInput -func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// The events search string. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// The URL of the custom link. +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +type PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) +func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { + return o } -// The events search string. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionCustomLink { + return vs[0].([]PowerpackWidgetQueryValueDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionCustomLinkOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +type PowerpackWidgetQueryValueDefinitionRequest struct { + // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` + // The query to use for this widget. + ApmQuery *PowerpackWidgetQueryValueDefinitionRequestApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery *PowerpackWidgetQueryValueDefinitionRequestAuditQuery `pulumi:"auditQuery"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetQueryValueDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` + Formulas []PowerpackWidgetQueryValueDefinitionRequestFormula `pulumi:"formulas"` + // The query to use for this widget. + LogQuery *PowerpackWidgetQueryValueDefinitionRequestLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetQueryValueDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetQueryValueDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetQueryValueDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery `pulumi:"securityQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArgs and PowerpackWidgetQueryValueDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput + ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +type PowerpackWidgetQueryValueDefinitionRequestArgs struct { + // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) + // The query to use for this widget. + ApmQuery PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` + Formulas PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The query to use for this widget. + LogQuery PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) +func (PowerpackWidgetQueryValueDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArray and PowerpackWidgetQueryValueDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestArrayInput` via: // -// nil -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput interface { +// PowerpackWidgetQueryValueDefinitionRequestArray{ PowerpackWidgetQueryValueDefinitionRequestArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs - -func PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionRequestArray []PowerpackWidgetQueryValueDefinitionRequestInput -func (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +// The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) AuditQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { + return v.AuditQuery + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ConditionalFormats() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Formulas() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) } -// The metrics query definition. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ProcessQuery() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +// The metric query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Queries() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.DataSource - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return o } -// The name of the query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return o } -// The metrics query definition. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequest { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` +type PowerpackWidgetQueryValueDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +type PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) } -// The process metric name. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) } -// The text to use as a filter. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) PowerpackWidgetQueryValueDefinitionRequestApmQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetQueryValueDefinitionRequestApmQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) } -// The process metric name. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { if v == nil { return nil } - return &v.Metric - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy { if v == nil { return nil } - return &v.Name - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { if v == nil { return nil } - return v.Sort + return &v.Index }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) []string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) } -// The text to use as a filter. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { if v == nil { return nil } - return v.TextFilter + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs 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 (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs +type powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery + var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.AdditionalQueryFilters + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` +} + +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput +} + +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +} + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) +} + +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput +} + +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { + return o +} + +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.GroupMode - }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -// ID of an SLO to query. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return o } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return o } -type PowerpackWidgetHeatmapDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryInput` via: +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs +type powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) PowerpackWidgetHeatmapDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestRumQuery + var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery struct { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -52079,18 +49467,18 @@ type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -52099,417 +49487,459 @@ type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) } -type powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType)(v) +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestAuditQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Background()) +} -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +type powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs + +func PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType)(v) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return o } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return o } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { return o } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestAuditQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return o +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery struct { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -52518,8 +49948,8 @@ func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -52527,351 +49957,311 @@ func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *int { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` - // Define the time interval in seconds. - Interval *int `pulumi:"interval"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs - -func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType)(v) +type powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs + +func PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQuery + var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery struct { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -52880,18 +50270,18 @@ type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -52900,691 +50290,877 @@ type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput + +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) } -type powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Background()) +} -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { +// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray and PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray{ PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput +} + +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput + +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +// Setting this to True hides values. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +// Displays an image as the background. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput` via: +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +} + +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +} + +// A value for the comparator. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} + +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestConditionalFormat { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle `pulumi:"style"` +} + +// PowerpackWidgetQueryValueDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type PowerpackWidgetQueryValueDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArray and PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput +type PowerpackWidgetQueryValueDefinitionRequestFormulaArray []PowerpackWidgetQueryValueDefinitionRequestFormulaInput -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { return o } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// An expression alias. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// The options for limiting results returned. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Limit() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { +// Styling options for widget formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Style() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// nil -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput } -type powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput -func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Setting this to True hides values. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Displays an image as the background. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// A value for the comparator. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute 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"` +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs 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"` +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput +type powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType)(v) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The number of results to return. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestFormulaLimit + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) } -type PowerpackWidgetHeatmapDefinitionRequestStyle struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +// The number of results to return. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *int { + if v == nil { + return nil + } + return v.Count + }).(pulumi.IntPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` } -// PowerpackWidgetHeatmapDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs and PowerpackWidgetHeatmapDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStyleInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestStyleInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput - ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput } -type PowerpackWidgetHeatmapDefinitionRequestStyleArgs struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` } -func (PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs, PowerpackWidgetHeatmapDefinitionRequestStylePtr and PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStylePtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestStylePtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput } -type powerpackWidgetHeatmapDefinitionRequestStylePtrType PowerpackWidgetHeatmapDefinitionRequestStyleArgs +type powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs -func PowerpackWidgetHeatmapDefinitionRequestStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestStyleArgs) PowerpackWidgetHeatmapDefinitionRequestStylePtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestStylePtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestStyle) *PowerpackWidgetHeatmapDefinitionRequestStyle { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } +// Index specifying which color to use within the palette. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestStyle) PowerpackWidgetHeatmapDefinitionRequestStyle { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestStyle + var ret PowerpackWidgetQueryValueDefinitionRequestFormulaStyle return ret - }).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestStyle) *string { +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *string { if v == nil { return nil } @@ -53592,2448 +51168,2653 @@ func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) Palette() pulumi. }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionYaxis 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"` +// Index specifying which color to use within the palette. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *int { + if v == nil { + return nil + } + return v.PaletteIndex + }).(pulumi.IntPtrOutput) } -// PowerpackWidgetHeatmapDefinitionYaxisInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs and PowerpackWidgetHeatmapDefinitionYaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisInput` via: +type PowerpackWidgetQueryValueDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetQueryValueDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} -type PowerpackWidgetHeatmapDefinitionYaxisInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput - ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput } -type PowerpackWidgetHeatmapDefinitionYaxisArgs 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"` +type PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHeatmapDefinitionYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { - return i.ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput).ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs, PowerpackWidgetHeatmapDefinitionYaxisPtr and PowerpackWidgetHeatmapDefinitionYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionYaxisPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput - ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionYaxisPtrType PowerpackWidgetHeatmapDefinitionYaxisArgs +type powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs -func PowerpackWidgetHeatmapDefinitionYaxisPtr(v *PowerpackWidgetHeatmapDefinitionYaxisArgs) PowerpackWidgetHeatmapDefinitionYaxisPtrInput { - return (*powerpackWidgetHeatmapDefinitionYaxisPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionYaxisOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionYaxis) *PowerpackWidgetHeatmapDefinitionYaxis { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) } -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The label of the axis to display on the graph. -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionYaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) PowerpackWidgetHeatmapDefinitionYaxis { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) PowerpackWidgetQueryValueDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionYaxis + var ret PowerpackWidgetQueryValueDefinitionRequestLogQuery return ret - }).(PowerpackWidgetHeatmapDefinitionYaxisOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) } -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *bool { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { if v == nil { return nil } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The label of the axis to display on the graph. -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy { if v == nil { return nil } - return v.Label - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) *string { if v == nil { return nil } - return v.Max + return &v.Index }).(pulumi.StringPtrOutput) } -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute { if v == nil { return nil } - return v.Min - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) *string { if v == nil { return nil } - return v.Scale + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetHostmapDefinitionCustomLink `pulumi:"customLinks"` - // The list of tags to group nodes by. - Groups []string `pulumi:"groups"` - // A Boolean indicating whether to show ungrouped nodes. - NoGroupHosts *bool `pulumi:"noGroupHosts"` - // A Boolean indicating whether to show nodes with no metrics. - NoMetricHosts *bool `pulumi:"noMetricHosts"` - // The type of node used. Valid values are `host`, `container`. - NodeType *string `pulumi:"nodeType"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. - Request *PowerpackWidgetHostmapDefinitionRequest `pulumi:"request"` - // The list of tags to filter nodes by. - Scopes []string `pulumi:"scopes"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style *PowerpackWidgetHostmapDefinitionStyle `pulumi:"style"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery 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"` } -// PowerpackWidgetHostmapDefinitionInput is an input type that accepts PowerpackWidgetHostmapDefinitionArgs and PowerpackWidgetHostmapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionArgs{...} -type PowerpackWidgetHostmapDefinitionInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput - ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetHostmapDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetHostmapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The list of tags to group nodes by. - Groups pulumi.StringArrayInput `pulumi:"groups"` - // A Boolean indicating whether to show ungrouped nodes. - NoGroupHosts pulumi.BoolPtrInput `pulumi:"noGroupHosts"` - // A Boolean indicating whether to show nodes with no metrics. - NoMetricHosts pulumi.BoolPtrInput `pulumi:"noMetricHosts"` - // The type of node used. Valid values are `host`, `container`. - NodeType pulumi.StringPtrInput `pulumi:"nodeType"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. - Request PowerpackWidgetHostmapDefinitionRequestPtrInput `pulumi:"request"` - // The list of tags to filter nodes by. - Scopes pulumi.StringArrayInput `pulumi:"scopes"` - // The style of the widget graph. One nested block is allowed using the structure below. - Style PowerpackWidgetHostmapDefinitionStylePtrInput `pulumi:"style"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetHostmapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { - return i.ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput).ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionArgs, PowerpackWidgetHostmapDefinitionPtr and PowerpackWidgetHostmapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput - ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionPtrOutput -} - -type powerpackWidgetHostmapDefinitionPtrType PowerpackWidgetHostmapDefinitionArgs - -func PowerpackWidgetHostmapDefinitionPtr(v *PowerpackWidgetHostmapDefinitionArgs) PowerpackWidgetHostmapDefinitionPtrInput { - return (*powerpackWidgetHostmapDefinitionPtrType)(v) -} - -func (*powerpackWidgetHostmapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() -} - -func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinition { - return &v - }).(PowerpackWidgetHostmapDefinitionPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionOutput) CustomLinks() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) []PowerpackWidgetHostmapDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) -} - -// The list of tags to group nodes by. -func (o PowerpackWidgetHostmapDefinitionOutput) Groups() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) []string { return v.Groups }).(pulumi.StringArrayOutput) -} - -// A Boolean indicating whether to show ungrouped nodes. -func (o PowerpackWidgetHostmapDefinitionOutput) NoGroupHosts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *bool { return v.NoGroupHosts }).(pulumi.BoolPtrOutput) -} - -// A Boolean indicating whether to show nodes with no metrics. -func (o PowerpackWidgetHostmapDefinitionOutput) NoMetricHosts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *bool { return v.NoMetricHosts }).(pulumi.BoolPtrOutput) -} - -// The type of node used. Valid values are `host`, `container`. -func (o PowerpackWidgetHostmapDefinitionOutput) NodeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.NodeType }).(pulumi.StringPtrOutput) -} - -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionOutput) Request() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionRequest { return v.Request }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) -} - -// The list of tags to filter nodes by. -func (o PowerpackWidgetHostmapDefinitionOutput) Scopes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) []string { return v.Scopes }).(pulumi.StringArrayOutput) + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput } -// The style of the widget graph. One nested block is allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionOutput) Style() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionStyle { return v.Style }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) +type powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs + +func PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType)(v) } -// The title of the widget. -func (o PowerpackWidgetHostmapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetHostmapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetHostmapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionPtrOutput) Elem() PowerpackWidgetHostmapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) PowerpackWidgetHostmapDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinition - return ret - }).(PowerpackWidgetHostmapDefinitionOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) CustomLinks() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) []PowerpackWidgetHostmapDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The list of tags to group nodes by. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) Groups() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) []string { - if v == nil { - return nil - } - return v.Groups - }).(pulumi.StringArrayOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// A Boolean indicating whether to show ungrouped nodes. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) NoGroupHosts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *bool { - if v == nil { - return nil - } - return v.NoGroupHosts - }).(pulumi.BoolPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A Boolean indicating whether to show nodes with no metrics. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) NoMetricHosts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *bool { - if v == nil { - return nil - } - return v.NoMetricHosts - }).(pulumi.BoolPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The type of node used. Valid values are `host`, `container`. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) NodeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { - if v == nil { - return nil - } - return v.NodeType - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) Request() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionRequest { - if v == nil { - return nil - } - return v.Request - }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o } -// The list of tags to filter nodes by. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) Scopes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) []string { - if v == nil { - return nil - } - return v.Scopes - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o } -// The style of the widget graph. One nested block is allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) Style() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinitionStyle { - if v == nil { - return nil +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { + if v != nil { + return *v } - return v.Style - }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) + var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.Title + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.TitleAlign + return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetHostmapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *int { if v == nil { return nil } - return v.TitleSize - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHostmapDefinitionCustomLinkArgs and PowerpackWidgetHostmapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionCustomLinkInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionCustomLinkArgs{...} -type PowerpackWidgetHostmapDefinitionCustomLinkInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput - ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionCustomLinkArray and PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionCustomLinkArray{ PowerpackWidgetHostmapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetHostmapDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionCustomLinkArray []PowerpackWidgetHostmapDefinitionCustomLinkInput +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The URL of the custom link. -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionCustomLink { - return vs[0].([]PowerpackWidgetHostmapDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionCustomLinkOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) } -type PowerpackWidgetHostmapDefinitionRequest struct { - // The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Fills []PowerpackWidgetHostmapDefinitionRequestFill `pulumi:"fills"` - // The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Sizes []PowerpackWidgetHostmapDefinitionRequestSize `pulumi:"sizes"` +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestArgs and PowerpackWidgetHostmapDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestArgs{...} -type PowerpackWidgetHostmapDefinitionRequestInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput - ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestArgs struct { - // The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Fills PowerpackWidgetHostmapDefinitionRequestFillArrayInput `pulumi:"fills"` - // The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). - Sizes PowerpackWidgetHostmapDefinitionRequestSizeArrayInput `pulumi:"sizes"` +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput).ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestArgs, PowerpackWidgetHostmapDefinitionRequestPtr and PowerpackWidgetHostmapDefinitionRequestPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestPtrType PowerpackWidgetHostmapDefinitionRequestArgs +type powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestPtr(v *PowerpackWidgetHostmapDefinitionRequestArgs) PowerpackWidgetHostmapDefinitionRequestPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequest) *PowerpackWidgetHostmapDefinitionRequest { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetHostmapDefinitionRequestOutput) Fills() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestFill { - return v.Fills - }).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetHostmapDefinitionRequestOutput) Sizes() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestSize { - return v.Sizes - }).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestPtrOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) PowerpackWidgetHostmapDefinitionRequest { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequest + var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The query used to fill the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Fills() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestFill { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Fills - }).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The query used to size the map. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the request block). -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Sizes() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) []PowerpackWidgetHostmapDefinitionRequestSize { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Sizes - }).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFill struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - // The query to use for this widget. - RumQuery *PowerpackWidgetHostmapDefinitionRequestFillRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery `pulumi:"securityQuery"` +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillArgs and PowerpackWidgetHostmapDefinitionRequestFillOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput - ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute 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"` } - -type PowerpackWidgetHostmapDefinitionRequestFillArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - // The query to use for this widget. - RumQuery PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput `pulumi:"securityQuery"` + +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput } -func (PowerpackWidgetHostmapDefinitionRequestFillArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs 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 (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(context.Background()) +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -// PowerpackWidgetHostmapDefinitionRequestFillArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillArray and PowerpackWidgetHostmapDefinitionRequestFillArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) +} + +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillArray{ PowerpackWidgetHostmapDefinitionRequestFillArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillArray []PowerpackWidgetHostmapDefinitionRequestFillInput +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestFillArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { return o } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ApmQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillApmQuery { - return v.ApmQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) LogQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { - return v.LogQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) -} - -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ProcessQuery() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) -} - -// The metric query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *string { return v.Q }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) RumQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { - return v.RumQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) SecurityQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFill { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFill)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs +type powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestProcessQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) +// A list of processes. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) string { return v.Index }).(pulumi.StringOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) +// Your chosen metric. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Your chosen search term. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) PowerpackWidgetQueryValueDefinitionRequestProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillApmQuery + var ret PowerpackWidgetQueryValueDefinitionRequestProcessQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { +// A list of processes. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { +// The max number of items in the filter list. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *int { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { +// Your chosen metric. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Metric }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { +// Your chosen search term. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) + return v.SearchBy + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +} + +// PowerpackWidgetQueryValueDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +} + +func (PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryOutput) +} + +// PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArray and PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestQueryArray{ PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryArray []PowerpackWidgetQueryValueDefinitionRequestQueryInput + +func (PowerpackWidgetQueryValueDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { + return o +} + +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +} + +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) +} + +// A timeseries formula and functions events query. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) +} + +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) +} + +// The process query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) +} + +// The SLO query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestQueryOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery 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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs 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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *bool { + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +// Name of operation on service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) +} + +// APM service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.Service + }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Env }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *int { +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *bool { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery `pulumi:"sortQuery"` +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput +// Name of operation on service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Background()) +// APM resource. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) +// APM service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput interface { - pulumi.Input +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput interface { + pulumi.Input -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Background()) +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return o +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return o +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { + pulumi.Input -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o +func (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput interface { - pulumi.Input +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return o +} - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return o } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Background()) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// Array of fields to group results by. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) []string { + return v.GroupBies + }).(pulumi.StringArrayOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput +// Name of operation on service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -type powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} -func PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType)(v) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Array of fields to group results by. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) []string { + if v == nil { + return nil + } + return v.GroupBies + }).(pulumi.StringArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o +// Name of operation on service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - if v != nil { - return *v +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { +// APM resource. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.ResourceName }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { +// APM service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Service }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Order + return &v.Stat }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute 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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs 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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput +type powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { +// The cloud cost query definition. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput` via: +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The cloud cost query definition. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` +} + +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) +// The compute options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Group by options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) string { return v.Index }).(pulumi.StringOutput) +// An array of index names to query in the stream. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The search options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput struct{ *pulumi.OutputState } +// Storage location (private beta). +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillLogQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { +// The compute options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) + return v.Computes + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Group by options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { +// An array of index names to query in the stream. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []string { if v == nil { return nil } - return &v.Index + return v.Indexes + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { +// The search options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) + return v.Search + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { +// Storage location (private beta). +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.SearchQuery + return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery struct { - // The aggregation method. +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs struct { - // The aggregation method. +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// nil -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput } -type powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput -func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The measurable attribute to compute. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The event facet. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The number of groups to return. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery struct { - // The aggregation method. +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs struct { - // The aggregation method. +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + // The metric used for sorting group by results. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The metric used for sorting group by results. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } @@ -56041,1024 +53822,1119 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOu }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { +// The metric used for sorting group by results. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.Facet + return v.Metric }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return &v.Order + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute 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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs 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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput +type powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The events search string. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` +// The events search string. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput` via: +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` +} + +// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// The metrics query definition. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillProcessQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.FilterBies - }).(pulumi.StringArrayOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *int { +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return v.DataSource + }).(pulumi.StringPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { +// The name of the query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return &v.Metric + return &v.Name }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { +// The metrics query definition. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.SearchBy + return &v.Query }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit *int `pulumi:"limit"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) string { return v.Index }).(pulumi.StringOutput) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) +// The number of hits to return. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The process metric name. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { +// An array of tags to filter by. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillRumQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy { +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *bool { if v == nil { return nil } - return &v.Index + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) +} + +// The number of hits to return. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.SearchQuery + return v.Sort }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery 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"` +// An array of tags to filter by. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) []string { + if v == nil { + return nil + } + return v.TagFilters + }).(pulumi.StringArrayOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput` via: +// The text to use as a filter. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.TextFilter + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` +} + +// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs 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"` +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet +// Additional filters applied to the SLO query. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput -} - -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Background()) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput - -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Background()) +// ID of an SLO to query. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return o +// ID of an SLO to query. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetQueryValueDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs +type powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) PowerpackWidgetQueryValueDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery + var ret PowerpackWidgetQueryValueDefinitionRequestRumQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { if v == nil { return nil } - return v.Facet + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } - return &v.Order + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute struct { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -57067,18 +54943,18 @@ type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -57087,461 +54963,419 @@ type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput - -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput interface { + pulumi.Input -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { - return o -} +type powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { - return o +func PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType)(v) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Background()) -} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) } -type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType)(v) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput struct{ *pulumi.OutputState } +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput interface { + pulumi.Input -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return o +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return o +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) -} +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput interface { + pulumi.Input -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput + +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { - if v == nil { - return nil - } - return &v.Index - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return o } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return o } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery struct { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery 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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs 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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs +type powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) string { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery + var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -57550,8 +55384,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrO } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -57559,315 +55393,351 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrO }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *int { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy struct { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetQueryValueDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } - -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput` via: + +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs +type powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery + var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } - return v.Facet + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } - return &v.Order + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute struct { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -57876,18 +55746,18 @@ type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute struct Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -57896,466 +55766,451 @@ type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs st Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput +type powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { return o } +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) string { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) } -type PowerpackWidgetHostmapDefinitionRequestSize struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - // The query to use for this widget. - RumQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery `pulumi:"securityQuery"` +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeArgs and PowerpackWidgetHostmapDefinitionRequestSizeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeInput` via: +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +} + +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - // The query to use for this widget. - RumQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput `pulumi:"securityQuery"` +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeArray and PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeArray{ PowerpackWidgetHostmapDefinitionRequestSizeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeArray []PowerpackWidgetHostmapDefinitionRequestSizeInput +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestSizeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { return o } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ApmQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { - return v.ApmQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) LogQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { - return v.LogQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) -} - -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ProcessQuery() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) -} - -// The metric query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *string { return v.Q }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) RumQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { - return v.RumQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) SecurityQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSize { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSize)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput -} - -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(context.Background()) +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs +type powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) string { return v.Index }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQuery + var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery struct { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -58364,18 +56219,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -58384,3028 +56239,3457 @@ type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx) +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput + +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) +} + +type PowerpackWidgetQueryValueDefinitionTimeseriesBackground struct { + // Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. + Type string `pulumi:"type"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis `pulumi:"yaxis"` +} + +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput +} + +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs struct { + // Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. + Type pulumi.StringInput `pulumi:"type"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput `pulumi:"yaxis"` +} + +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput).ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs, PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtr and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs +type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs -func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput { + return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) string { return v.Type }).(pulumi.StringOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) Yaxis() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { + return v.Yaxis + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) PowerpackWidgetQueryValueDefinitionTimeseriesBackground { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery + var ret PowerpackWidgetQueryValueDefinitionTimeseriesBackground return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { +// Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *string { if v == nil { return nil } - return &v.Aggregation + return &v.Type }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Yaxis() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { + if v == nil { + return nil + } + return v.Yaxis + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis 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"` +} + +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisInput` via: +// +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs{...} +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput +} + +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs 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 (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput).ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs, PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtr and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput +} + +type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs + +func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput { + return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType)(v) +} + +func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery `pulumi:"sortQuery"` +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput interface { - pulumi.Input +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return o } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return o } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { + return &v + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput +// The label of the axis to display on the graph. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Background()) +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis + return ret + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +// The label of the axis to display on the graph. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetRunWorkflowDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetRunWorkflowDefinitionCustomLink `pulumi:"customLinks"` + // Array of workflow inputs to map to dashboard template variables. + Inputs []PowerpackWidgetRunWorkflowDefinitionInputType `pulumi:"inputs"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` + // Workflow ID + WorkflowId string `pulumi:"workflowId"` } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetRunWorkflowDefinitionInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs and PowerpackWidgetRunWorkflowDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetRunWorkflowDefinitionArgs{...} +type PowerpackWidgetRunWorkflowDefinitionInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput + ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput + ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetRunWorkflowDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // Array of workflow inputs to map to dashboard template variables. + Inputs PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput `pulumi:"inputs"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` + // Workflow ID + WorkflowId pulumi.StringInput `pulumi:"workflowId"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput).ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetRunWorkflowDefinitionPtrInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs, PowerpackWidgetRunWorkflowDefinitionPtr and PowerpackWidgetRunWorkflowDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetRunWorkflowDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetRunWorkflowDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput + ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs +type powerpackWidgetRunWorkflowDefinitionPtrType PowerpackWidgetRunWorkflowDefinitionArgs -func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetRunWorkflowDefinitionPtr(v *PowerpackWidgetRunWorkflowDefinitionArgs) PowerpackWidgetRunWorkflowDefinitionPtrInput { + return (*powerpackWidgetRunWorkflowDefinitionPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetRunWorkflowDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetRunWorkflowDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return o.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetRunWorkflowDefinition) *PowerpackWidgetRunWorkflowDefinition { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetRunWorkflowDefinitionOutput) CustomLinks() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Array of workflow inputs to map to dashboard template variables. +func (o PowerpackWidgetRunWorkflowDefinitionOutput) Inputs() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionInputType { + return v.Inputs + }).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetRunWorkflowDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// The title of the widget. +func (o PowerpackWidgetRunWorkflowDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetRunWorkflowDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetRunWorkflowDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} + +// Workflow ID +func (o PowerpackWidgetRunWorkflowDefinitionOutput) WorkflowId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) string { return v.WorkflowId }).(pulumi.StringOutput) +} + +type PowerpackWidgetRunWorkflowDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetRunWorkflowDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Elem() PowerpackWidgetRunWorkflowDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) PowerpackWidgetRunWorkflowDefinition { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery + var ret PowerpackWidgetRunWorkflowDefinition return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetRunWorkflowDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) CustomLinks() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionCustomLink { if v == nil { return nil } - return &v.Aggregation + return v.CustomLinks + }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) +} + +// Array of workflow inputs to map to dashboard template variables. +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Inputs() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionInputType { + if v == nil { + return nil + } + return v.Inputs + }).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { +// The title of the widget. +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { if v == nil { return nil } - return v.Facet + return v.Title }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { if v == nil { return nil } - return &v.Order + return v.TitleAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute 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"` +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput` via: +// Workflow ID +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) WorkflowId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { + if v == nil { + return nil + } + return &v.WorkflowId + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetRunWorkflowDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` +} + +// PowerpackWidgetRunWorkflowDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs and PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionCustomLinkInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput interface { +// PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} +type PowerpackWidgetRunWorkflowDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs 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"` +type PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionCustomLinkArray and PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetRunWorkflowDefinitionCustomLinkArray{ PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} } +type PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput +type PowerpackWidgetRunWorkflowDefinitionCustomLinkArray []PowerpackWidgetRunWorkflowDefinitionCustomLinkInput -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The URL of the custom link. +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetRunWorkflowDefinitionCustomLink { + return vs[0].([]PowerpackWidgetRunWorkflowDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetRunWorkflowDefinitionInputType struct { + // Name of the workflow input. + Name string `pulumi:"name"` + // Dashboard template variable. Can be suffixed with `.value` or `.key`. + Value string `pulumi:"value"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput` via: +// PowerpackWidgetRunWorkflowDefinitionInputTypeInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArgs and PowerpackWidgetRunWorkflowDefinitionInputTypeOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput interface { +// PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} +type PowerpackWidgetRunWorkflowDefinitionInputTypeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput -} - -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() + ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput + ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(context.Background()) +type PowerpackWidgetRunWorkflowDefinitionInputTypeArgs struct { + // Name of the workflow input. + Name pulumi.StringInput `pulumi:"name"` + // Dashboard template variable. Can be suffixed with `.value` or `.key`. + Value pulumi.StringInput `pulumi:"value"` } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) +func (PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} -// -// or: +// PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArray and PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput` via: // -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput interface { +// PowerpackWidgetRunWorkflowDefinitionInputTypeArray{ PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} } +type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput + ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput + ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput } -type powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType)(v) -} +type PowerpackWidgetRunWorkflowDefinitionInputTypeArray []PowerpackWidgetRunWorkflowDefinitionInputTypeInput -func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetRunWorkflowDefinitionInputTypeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) +// Name of the workflow input. +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionInputType) string { return v.Name }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) +// Dashboard template variable. Can be suffixed with `.value` or `.key`. +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionInputType) string { return v.Value }).(pulumi.StringOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) -} +type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput struct{ *pulumi.OutputState } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) string { return v.Index }).(pulumi.StringOutput) +func (PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return o } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return o } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetRunWorkflowDefinitionInputType { + return vs[0].([]PowerpackWidgetRunWorkflowDefinitionInputType)[vs[1].(int)] + }).(PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return o +type PowerpackWidgetScatterplotDefinition struct { + // List of groups used for colors. + ColorByGroups []string `pulumi:"colorByGroups"` + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetScatterplotDefinitionCustomLink `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. + Request *PowerpackWidgetScatterplotDefinitionRequest `pulumi:"request"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + 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 *PowerpackWidgetScatterplotDefinitionXaxis `pulumi:"xaxis"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis *PowerpackWidgetScatterplotDefinitionYaxis `pulumi:"yaxis"` } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return o -} +// PowerpackWidgetScatterplotDefinitionInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs and PowerpackWidgetScatterplotDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionInput` via: +// +// PowerpackWidgetScatterplotDefinitionArgs{...} +type PowerpackWidgetScatterplotDefinitionInput interface { + pulumi.Input -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) + ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionOutput } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) +type PowerpackWidgetScatterplotDefinitionArgs struct { + // List of groups used for colors. + ColorByGroups pulumi.StringArrayInput `pulumi:"colorByGroups"` + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. + Request PowerpackWidgetScatterplotDefinitionRequestPtrInput `pulumi:"request"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + 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 PowerpackWidgetScatterplotDefinitionXaxisPtrInput `pulumi:"xaxis"` + // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. + Yaxis PowerpackWidgetScatterplotDefinitionYaxisPtrInput `pulumi:"yaxis"` } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) +func (PowerpackWidgetScatterplotDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { - if v == nil { - return nil - } - return &v.Index - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { + return i.ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Background()) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery 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"` +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput).ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs, PowerpackWidgetScatterplotDefinitionPtr and PowerpackWidgetScatterplotDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs 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"` +type powerpackWidgetScatterplotDefinitionPtrType PowerpackWidgetScatterplotDefinitionArgs + +func PowerpackWidgetScatterplotDefinitionPtr(v *PowerpackWidgetScatterplotDefinitionArgs) PowerpackWidgetScatterplotDefinitionPtrInput { + return (*powerpackWidgetScatterplotDefinitionPtrType)(v) } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) +func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) +type PowerpackWidgetScatterplotDefinitionOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { + return o } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput interface { - pulumi.Input +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { + return o +} - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) } -type powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinition { + return &v + }).(PowerpackWidgetScatterplotDefinitionPtrOutput) +} -func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType)(v) +// List of groups used for colors. +func (o PowerpackWidgetScatterplotDefinitionOutput) ColorByGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) []string { return v.ColorByGroups }).(pulumi.StringArrayOutput) } -func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionOutput) CustomLinks() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) []PowerpackWidgetScatterplotDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetScatterplotDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) +// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionOutput) Request() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionRequest { + return v.Request + }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +// The title of the widget. +func (o PowerpackWidgetScatterplotDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetScatterplotDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return o +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetScatterplotDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return o +// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionOutput) Xaxis() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionXaxis { + return v.Xaxis + }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionOutput) Yaxis() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionYaxis { + return v.Yaxis + }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) +type PowerpackWidgetScatterplotDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { + return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { + return o } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) PowerpackWidgetScatterplotDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinition + return ret + }).(PowerpackWidgetScatterplotDefinitionOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// List of groups used for colors. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ColorByGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) []string { + if v == nil { + return nil + } + return v.ColorByGroups + }).(pulumi.StringArrayOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) CustomLinks() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) []PowerpackWidgetScatterplotDefinitionCustomLink { + if v == nil { + return nil + } + return v.CustomLinks + }).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) +} + +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o +// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Request() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionRequest { + if v == nil { + return nil + } + return v.Request + }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o +// The title of the widget. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { - if v != nil { - return *v +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { + if v == nil { + return nil } - var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { if v == nil { return nil } - return &v.Aggregation + return v.TitleSize }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { +// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Xaxis() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionXaxis { if v == nil { return nil } - return v.Facet - }).(pulumi.StringPtrOutput) + return v.Xaxis + }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *int { +// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Yaxis() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionYaxis { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.Yaxis + }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery `pulumi:"sortQuery"` +type PowerpackWidgetScatterplotDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArgs and PowerpackWidgetScatterplotDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} +type PowerpackWidgetScatterplotDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput + ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type PowerpackWidgetScatterplotDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArray and PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionCustomLinkArray{ PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} } +type PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput + ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionCustomLinkArray []PowerpackWidgetScatterplotDefinitionCustomLinkInput -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) +// The URL of the custom link. +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) +func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionCustomLink { + return vs[0].([]PowerpackWidgetScatterplotDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionCustomLinkOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetScatterplotDefinitionRequest struct { + // Scatterplot request containing formulas and functions. + ScatterplotTables []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable `pulumi:"scatterplotTables"` + // The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). + Xes []PowerpackWidgetScatterplotDefinitionRequestX `pulumi:"xes"` + // The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). + Ys []PowerpackWidgetScatterplotDefinitionRequestY `pulumi:"ys"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs and PowerpackWidgetScatterplotDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput + ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetScatterplotDefinitionRequestArgs struct { + // Scatterplot request containing formulas and functions. + ScatterplotTables PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput `pulumi:"scatterplotTables"` + // The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). + Xes PowerpackWidgetScatterplotDefinitionRequestXArrayInput `pulumi:"xes"` + // The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). + Ys PowerpackWidgetScatterplotDefinitionRequestYArrayInput `pulumi:"ys"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput).ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs, PowerpackWidgetScatterplotDefinitionRequestPtr and PowerpackWidgetScatterplotDefinitionRequestPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestPtrType PowerpackWidgetScatterplotDefinitionRequestArgs -func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestPtr(v *PowerpackWidgetScatterplotDefinitionRequestArgs) PowerpackWidgetScatterplotDefinitionRequestPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequest) *PowerpackWidgetScatterplotDefinitionRequest { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// Scatterplot request containing formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ScatterplotTables() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { + return v.ScatterplotTables + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) Xes() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestX { + return v.Xes + }).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) Ys() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestY { + return v.Ys + }).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) PowerpackWidgetScatterplotDefinitionRequest { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequest return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { +// Scatterplot request containing formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ScatterplotTables() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.ScatterplotTables + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { +// The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Xes() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestX { if v == nil { return nil } - return v.Facet - }).(pulumi.StringPtrOutput) + return v.Xes + }).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { +// The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Ys() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestY { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute 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"` -} - -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput -} - -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs 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 (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Background()) + return v.Ys + }).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTable struct { + Formulas []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula `pulumi:"formulas"` + Queries []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery `pulumi:"queries"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput -} - -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput - -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return o +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs struct { + Formulas PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput `pulumi:"formulas"` + Queries PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput `pulumi:"queries"` } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return o +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { + return o } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { + return o } -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput interface { - pulumi.Input +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Formulas() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula { + return v.Formulas + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) +} - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Queries() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery { + return v.Queries + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) } -type powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType)(v) +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return o } -func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return o } -func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // Dimension of the Scatterplot. Valid values are `x`, `y`, `radius`, `color`. + Dimension string `pulumi:"dimension"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` +} -func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return o +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // Dimension of the Scatterplot. Valid values are `x`, `y`, `radius`, `color`. + Dimension pulumi.StringInput `pulumi:"dimension"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return o +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput } -// The max number of items in the filter list. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -// Your chosen metric. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Background()) } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) +// An expression alias. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) +// Dimension of the Scatterplot. Valid values are `x`, `y`, `radius`, `color`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) Dimension() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula) string { return v.Dimension }).(pulumi.StringOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula) string { + return v.FormulaExpression + }).(pulumi.StringOutput) } -// Your chosen metric. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput struct{ *pulumi.OutputState } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { - if v == nil { - return nil - } - return v.SearchBy - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return o } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput interface { - pulumi.Input +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return o +} - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery `pulumi:"sloQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Background()) +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput `pulumi:"sloQuery"` } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput` via: // -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput } -type powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput -func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ApmResourceStatsQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) CloudCostQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) EventQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) string { return v.Index }).(pulumi.StringOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) MetricQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) +// The process query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) SloQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery 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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs 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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.Env + }).(pulumi.StringOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *bool { + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.Name + }).(pulumi.StringOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() +// Name of operation on service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) +} + +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.Service + }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.Stat + }).(pulumi.StringOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { +// APM environment. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Env }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *int { +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *bool { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery `pulumi:"sortQuery"` +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput interface { - pulumi.Input +// Name of operation on service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.OperationName + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput` via: +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` +} + +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` +} -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return o +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return o +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs + +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType)(v) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() } -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Background()) +// APM environment. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { + return v.Env + }).(pulumi.StringOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) +// Array of fields to group results by. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) []string { + return v.GroupBies + }).(pulumi.StringArrayOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { + return v.Name + }).(pulumi.StringOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +// Name of operation on service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -type powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType)(v) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { + return v.Service + }).(pulumi.StringOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { + return v.Stat + }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Array of fields to group results by. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) []string { + if v == nil { + return nil + } + return v.GroupBies + }).(pulumi.StringArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o +// Name of operation on service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - if v != nil { - return *v +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.ResourceName }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Service }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Order + return &v.Stat }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute 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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs 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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType)(v) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { + return v.Aggregator + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) string { + return v.DataSource + }).(pulumi.StringOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +// The name of the query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) string { + return v.Name + }).(pulumi.StringOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { +// The cloud cost query definition. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) string { + return v.Query + }).(pulumi.StringOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput` via: +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The cloud cost query definition. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` +} + +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) +// The compute options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Computes() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) string { + return v.DataSource + }).(pulumi.StringOutput) +} + +// Group by options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +// An array of index names to query in the stream. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []string { + return v.Indexes + }).(pulumi.StringArrayOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) string { + return v.Name + }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The search options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Search() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput struct{ *pulumi.OutputState } +// Storage location (private beta). +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { + return v.Storage + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { +// The compute options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Computes() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) + return v.Computes + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Group by options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { +// An array of index names to query in the stream. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []string { if v == nil { return nil } - return &v.Index + return v.Indexes + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { +// The search options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Search() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) + return v.Search + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { +// Storage location (private beta). +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { if v == nil { return nil } - return v.SearchQuery + return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery struct { - // The aggregation method. +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs struct { - // The aggregation method. +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput` via: // -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput } -type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput -func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) string { +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute) *int { + return v.Interval + }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The measurable attribute to compute. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute) *string { + return v.Metric + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The event facet. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) string { + return v.Facet + }).(pulumi.StringOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The number of groups to return. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *int { + return v.Limit + }).(pulumi.IntPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Sort() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery struct { - // The aggregation method. +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + // The metric used for sorting group by results. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs -func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { - return v.Facet +// The metric used for sorting group by results. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { + return v.Metric }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { return v.Order - }).(pulumi.StringOutput) + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { if v == nil { return nil } @@ -61413,3497 +59697,3561 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { +// The metric used for sorting group by results. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.Facet + return v.Metric }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return &v.Order + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute 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"` -} - -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput -} - -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs 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 (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) -} - -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput -} - -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput - -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) -} - -type PowerpackWidgetHostmapDefinitionStyle struct { - // The max value to use to color the map. - FillMax *string `pulumi:"fillMax"` - // The min value to use to color the map. - FillMin *string `pulumi:"fillMin"` - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette *string `pulumi:"palette"` - // A Boolean indicating whether to flip the palette tones. - PaletteFlip *bool `pulumi:"paletteFlip"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetHostmapDefinitionStyleInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs and PowerpackWidgetHostmapDefinitionStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStyleInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput` via: // -// PowerpackWidgetHostmapDefinitionStyleArgs{...} -type PowerpackWidgetHostmapDefinitionStyleInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput - ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStyleOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput } -type PowerpackWidgetHostmapDefinitionStyleArgs struct { - // The max value to use to color the map. - FillMax pulumi.StringPtrInput `pulumi:"fillMax"` - // The min value to use to color the map. - FillMin pulumi.StringPtrInput `pulumi:"fillMin"` - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // A Boolean indicating whether to flip the palette tones. - PaletteFlip pulumi.BoolPtrInput `pulumi:"paletteFlip"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHostmapDefinitionStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { - return i.ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput).ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionStylePtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs, PowerpackWidgetHostmapDefinitionStylePtr and PowerpackWidgetHostmapDefinitionStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStylePtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetHostmapDefinitionStyleArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionStylePtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput - ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput } -type powerpackWidgetHostmapDefinitionStylePtrType PowerpackWidgetHostmapDefinitionStyleArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs -func PowerpackWidgetHostmapDefinitionStylePtr(v *PowerpackWidgetHostmapDefinitionStyleArgs) PowerpackWidgetHostmapDefinitionStylePtrInput { - return (*powerpackWidgetHostmapDefinitionStylePtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStylePtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetHostmapDefinitionStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionStyle) *PowerpackWidgetHostmapDefinitionStyle { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { return &v - }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) -} - -// The max value to use to color the map. -func (o PowerpackWidgetHostmapDefinitionStyleOutput) FillMax() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *string { return v.FillMax }).(pulumi.StringPtrOutput) -} - -// The min value to use to color the map. -func (o PowerpackWidgetHostmapDefinitionStyleOutput) FillMin() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *string { return v.FillMin }).(pulumi.StringPtrOutput) -} - -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetHostmapDefinitionStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) } -// A Boolean indicating whether to flip the palette tones. -func (o PowerpackWidgetHostmapDefinitionStyleOutput) PaletteFlip() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *bool { return v.PaletteFlip }).(pulumi.BoolPtrOutput) +// The events search string. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) string { + return v.Query + }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionStylePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) Elem() PowerpackWidgetHostmapDefinitionStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) PowerpackWidgetHostmapDefinitionStyle { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionStyle + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch return ret - }).(PowerpackWidgetHostmapDefinitionStyleOutput) -} - -// The max value to use to color the map. -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) FillMax() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *string { - if v == nil { - return nil - } - return v.FillMax - }).(pulumi.StringPtrOutput) -} - -// The min value to use to color the map. -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) FillMin() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *string { - if v == nil { - return nil - } - return v.FillMin - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *string { +// The events search string. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *string { if v == nil { return nil } - return v.Palette + return &v.Query }).(pulumi.StringPtrOutput) } -// A Boolean indicating whether to flip the palette tones. -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) PaletteFlip() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *bool { - if v == nil { - return nil - } - return v.PaletteFlip - }).(pulumi.BoolPtrOutput) -} - -type PowerpackWidgetIframeDefinition struct { - // The URL to use as a data source for the widget. - Url string `pulumi:"url"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetIframeDefinitionInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs and PowerpackWidgetIframeDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput` via: // -// PowerpackWidgetIframeDefinitionArgs{...} -type PowerpackWidgetIframeDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput - ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput } -type PowerpackWidgetIframeDefinitionArgs struct { - // The URL to use as a data source for the widget. - Url pulumi.StringInput `pulumi:"url"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetIframeDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { - return i.ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { - return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput).ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetIframeDefinitionPtrInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs, PowerpackWidgetIframeDefinitionPtr and PowerpackWidgetIframeDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput` via: // -// PowerpackWidgetIframeDefinitionArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetIframeDefinitionPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput - ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput } -type powerpackWidgetIframeDefinitionPtrType PowerpackWidgetIframeDefinitionArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs -func PowerpackWidgetIframeDefinitionPtr(v *PowerpackWidgetIframeDefinitionArgs) PowerpackWidgetIframeDefinitionPtrInput { - return (*powerpackWidgetIframeDefinitionPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetIframeDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { - return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) } -type PowerpackWidgetIframeDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetIframeDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { return o } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { return o } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { - return o.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetIframeDefinition) *PowerpackWidgetIframeDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { return &v - }).(PowerpackWidgetIframeDefinitionPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) } -// The URL to use as a data source for the widget. -func (o PowerpackWidgetIframeDefinitionOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetIframeDefinition) string { return v.Url }).(pulumi.StringOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { + return v.Aggregator + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetIframeDefinitionPtrOutput struct{ *pulumi.OutputState } +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { + return v.DataSource + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetIframeDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() +// The name of the query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) string { + return v.Name + }).(pulumi.StringOutput) } -func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { +// The metrics query definition. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) string { + return v.Query + }).(pulumi.StringOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetIframeDefinitionPtrOutput) Elem() PowerpackWidgetIframeDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetIframeDefinition) PowerpackWidgetIframeDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetIframeDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery return ret - }).(PowerpackWidgetIframeDefinitionOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) } -// The URL to use as a data source for the widget. -func (o PowerpackWidgetIframeDefinitionPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetIframeDefinition) *string { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { if v == nil { return nil } - return &v.Url + return v.Aggregator }).(pulumi.StringPtrOutput) } -type PowerpackWidgetImageDefinition struct { - // Whether to display a background or not. Defaults to `true`. - HasBackground *bool `pulumi:"hasBackground"` - // Whether to display a border or not. Defaults to `true`. - HasBorder *bool `pulumi:"hasBorder"` - // The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. - HorizontalAlign *string `pulumi:"horizontalAlign"` - // The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. - Margin *string `pulumi:"margin"` - // The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. - Sizing *string `pulumi:"sizing"` - // The URL to use as a data source for the widget. - Url string `pulumi:"url"` - // The URL in dark mode to use as a data source for the widget. - UrlDarkTheme *string `pulumi:"urlDarkTheme"` - // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. - VerticalAlign *string `pulumi:"verticalAlign"` +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.DataSource + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetImageDefinitionInput is an input type that accepts PowerpackWidgetImageDefinitionArgs and PowerpackWidgetImageDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetImageDefinitionInput` via: +// The name of the query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The metrics query definition. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit *int `pulumi:"limit"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` +} + +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput` via: // -// PowerpackWidgetImageDefinitionArgs{...} -type PowerpackWidgetImageDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput - ToPowerpackWidgetImageDefinitionOutputWithContext(context.Context) PowerpackWidgetImageDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput } -type PowerpackWidgetImageDefinitionArgs struct { - // Whether to display a background or not. Defaults to `true`. - HasBackground pulumi.BoolPtrInput `pulumi:"hasBackground"` - // Whether to display a border or not. Defaults to `true`. - HasBorder pulumi.BoolPtrInput `pulumi:"hasBorder"` - // The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. - HorizontalAlign pulumi.StringPtrInput `pulumi:"horizontalAlign"` - // The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. - Margin pulumi.StringPtrInput `pulumi:"margin"` - // The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. - Sizing pulumi.StringPtrInput `pulumi:"sizing"` - // The URL to use as a data source for the widget. - Url pulumi.StringInput `pulumi:"url"` - // The URL in dark mode to use as a data source for the widget. - UrlDarkTheme pulumi.StringPtrInput `pulumi:"urlDarkTheme"` - // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. - VerticalAlign pulumi.StringPtrInput `pulumi:"verticalAlign"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` } -func (PowerpackWidgetImageDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { - return i.ToPowerpackWidgetImageDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) } -func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { - return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput).ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetImageDefinitionPtrInput is an input type that accepts PowerpackWidgetImageDefinitionArgs, PowerpackWidgetImageDefinitionPtr and PowerpackWidgetImageDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetImageDefinitionPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput` via: // -// PowerpackWidgetImageDefinitionArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetImageDefinitionPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput - ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetImageDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput } -type powerpackWidgetImageDefinitionPtrType PowerpackWidgetImageDefinitionArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs -func PowerpackWidgetImageDefinitionPtr(v *PowerpackWidgetImageDefinitionArgs) PowerpackWidgetImageDefinitionPtrInput { - return (*powerpackWidgetImageDefinitionPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetImageDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { - return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) } -type PowerpackWidgetImageDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetImageDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { return o } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { return o } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { - return o.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetImageDefinition) *PowerpackWidgetImageDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { return &v - }).(PowerpackWidgetImageDefinitionPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) } -// Whether to display a background or not. Defaults to `true`. -func (o PowerpackWidgetImageDefinitionOutput) HasBackground() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) *bool { return v.HasBackground }).(pulumi.BoolPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Whether to display a border or not. Defaults to `true`. -func (o PowerpackWidgetImageDefinitionOutput) HasBorder() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) *bool { return v.HasBorder }).(pulumi.BoolPtrOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetImageDefinitionOutput) HorizontalAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.HorizontalAlign }).(pulumi.StringPtrOutput) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *bool { + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -// The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. -func (o PowerpackWidgetImageDefinitionOutput) Margin() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.Margin }).(pulumi.StringPtrOutput) +// The number of hits to return. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *int { + return v.Limit + }).(pulumi.IntPtrOutput) } -// The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. -func (o PowerpackWidgetImageDefinitionOutput) Sizing() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.Sizing }).(pulumi.StringPtrOutput) +// The process metric name. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { + return v.Metric + }).(pulumi.StringOutput) } -// The URL to use as a data source for the widget. -func (o PowerpackWidgetImageDefinitionOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) string { return v.Url }).(pulumi.StringOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { + return v.Name + }).(pulumi.StringOutput) } -// The URL in dark mode to use as a data source for the widget. -func (o PowerpackWidgetImageDefinitionOutput) UrlDarkTheme() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.UrlDarkTheme }).(pulumi.StringPtrOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { + return v.Sort + }).(pulumi.StringPtrOutput) } -// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. -func (o PowerpackWidgetImageDefinitionOutput) VerticalAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetImageDefinition) *string { return v.VerticalAlign }).(pulumi.StringPtrOutput) +// An array of tags to filter by. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) []string { + return v.TagFilters + }).(pulumi.StringArrayOutput) } -type PowerpackWidgetImageDefinitionPtrOutput struct{ *pulumi.OutputState } +// The text to use as a filter. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { + return v.TextFilter + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetImageDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetImageDefinitionPtrOutput) Elem() PowerpackWidgetImageDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) PowerpackWidgetImageDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetImageDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery return ret - }).(PowerpackWidgetImageDefinitionOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) } -// Whether to display a background or not. Defaults to `true`. -func (o PowerpackWidgetImageDefinitionPtrOutput) HasBackground() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *bool { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { if v == nil { return nil } - return v.HasBackground - }).(pulumi.BoolPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Whether to display a border or not. Defaults to `true`. -func (o PowerpackWidgetImageDefinitionPtrOutput) HasBorder() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *bool { +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { if v == nil { return nil } - return v.HasBorder + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -// The horizontal alignment for the widget. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetImageDefinitionPtrOutput) HorizontalAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { +// The number of hits to return. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *int { if v == nil { return nil } - return v.HorizontalAlign - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The margins to use around the image. Note: `small` and `large` values are deprecated. Valid values are `sm`, `md`, `lg`, `small`, `large`. -func (o PowerpackWidgetImageDefinitionPtrOutput) Margin() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { +// The process metric name. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { if v == nil { return nil } - return v.Margin + return &v.Metric }).(pulumi.StringPtrOutput) } -// The preferred method to adapt the dimensions of the image. The values are based on the image `object-fit` CSS properties. Note: `zoom`, `fit` and `center` values are deprecated. Valid values are `fill`, `contain`, `cover`, `none`, `scale-down`, `zoom`, `fit`, `center`. -func (o PowerpackWidgetImageDefinitionPtrOutput) Sizing() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { if v == nil { return nil } - return v.Sizing + return &v.Name }).(pulumi.StringPtrOutput) } -// The URL to use as a data source for the widget. -func (o PowerpackWidgetImageDefinitionPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { if v == nil { return nil } - return &v.Url + return v.Sort }).(pulumi.StringPtrOutput) } -// The URL in dark mode to use as a data source for the widget. -func (o PowerpackWidgetImageDefinitionPtrOutput) UrlDarkTheme() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { +// An array of tags to filter by. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) []string { if v == nil { return nil } - return v.UrlDarkTheme - }).(pulumi.StringPtrOutput) + return v.TagFilters + }).(pulumi.StringArrayOutput) } -// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. -func (o PowerpackWidgetImageDefinitionPtrOutput) VerticalAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) *string { +// The text to use as a filter. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { if v == nil { return nil } - return v.VerticalAlign + return v.TextFilter }).(pulumi.StringPtrOutput) } -type PowerpackWidgetListStreamDefinition struct { - // Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. - Requests []PowerpackWidgetListStreamDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title. Default is 16. - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// PowerpackWidgetListStreamDefinitionInput is an input type that accepts PowerpackWidgetListStreamDefinitionArgs and PowerpackWidgetListStreamDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput` via: // -// PowerpackWidgetListStreamDefinitionArgs{...} -type PowerpackWidgetListStreamDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput - ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput } -type PowerpackWidgetListStreamDefinitionArgs struct { - // Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. - Requests PowerpackWidgetListStreamDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title. Default is 16. - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetListStreamDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { - return i.ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) } -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput).ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx) } - -// PowerpackWidgetListStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetListStreamDefinitionArgs, PowerpackWidgetListStreamDefinitionPtr and PowerpackWidgetListStreamDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionPtrInput` via: + +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput` via: // -// PowerpackWidgetListStreamDefinitionArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} // // or: // // nil -type PowerpackWidgetListStreamDefinitionPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput - ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput } -type powerpackWidgetListStreamDefinitionPtrType PowerpackWidgetListStreamDefinitionArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs -func PowerpackWidgetListStreamDefinitionPtr(v *PowerpackWidgetListStreamDefinitionArgs) PowerpackWidgetListStreamDefinitionPtrInput { - return (*powerpackWidgetListStreamDefinitionPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType)(v) } -func (*powerpackWidgetListStreamDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() } -func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) } -type PowerpackWidgetListStreamDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { return o } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { return o } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { - return o.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinition) *PowerpackWidgetListStreamDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { return &v - }).(PowerpackWidgetListStreamDefinitionPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) } -// Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. -func (o PowerpackWidgetListStreamDefinitionOutput) Requests() PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) []PowerpackWidgetListStreamDefinitionRequest { - return v.Requests - }).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetListStreamDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetListStreamDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + return v.GroupMode + }).(pulumi.StringPtrOutput) } -// The size of the widget's title. Default is 16. -func (o PowerpackWidgetListStreamDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) string { + return v.Measure + }).(pulumi.StringOutput) } -type PowerpackWidgetListStreamDefinitionPtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + return v.Name + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetListStreamDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() +// ID of an SLO to query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) string { + return v.SloId + }).(pulumi.StringOutput) } -func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + return v.SloQueryType + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionPtrOutput) Elem() PowerpackWidgetListStreamDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) PowerpackWidgetListStreamDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { if v != nil { return *v } - var ret PowerpackWidgetListStreamDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery return ret - }).(PowerpackWidgetListStreamDefinitionOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) } -// Nested block describing the requests to use when displaying the widget. Multiple `request` blocks are allowed with the structure below. -func (o PowerpackWidgetListStreamDefinitionPtrOutput) Requests() PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) []PowerpackWidgetListStreamDefinitionRequest { +// Additional filters applied to the SLO query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { if v == nil { return nil } - return v.Requests - }).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetListStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { if v == nil { return nil } - return v.Title + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetListStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { if v == nil { return nil } - return v.TitleAlign + return v.GroupMode }).(pulumi.StringPtrOutput) } -// The size of the widget's title. Default is 16. -func (o PowerpackWidgetListStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { if v == nil { return nil } - return v.TitleSize + return &v.Measure }).(pulumi.StringPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequest struct { - // Widget columns. - Columns []PowerpackWidgetListStreamDefinitionRequestColumn `pulumi:"columns"` - // Updated list stream widget. - Query PowerpackWidgetListStreamDefinitionRequestQuery `pulumi:"query"` - // Widget response format. Valid values are `eventList`. - ResponseFormat string `pulumi:"responseFormat"` +// The name of query for use in formulas. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetListStreamDefinitionRequestInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestArgs and PowerpackWidgetListStreamDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestInput` via: +// ID of an SLO to query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestX struct { + // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The query to use for this widget. + ApmQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + // The query to use for this widget. + RumQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery `pulumi:"securityQuery"` +} + +// PowerpackWidgetScatterplotDefinitionRequestXInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXArgs and PowerpackWidgetScatterplotDefinitionRequestXOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXInput` via: // -// PowerpackWidgetListStreamDefinitionRequestArgs{...} -type PowerpackWidgetListStreamDefinitionRequestInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput - ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestOutput + ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput + ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput } -type PowerpackWidgetListStreamDefinitionRequestArgs struct { - // Widget columns. - Columns PowerpackWidgetListStreamDefinitionRequestColumnArrayInput `pulumi:"columns"` - // Updated list stream widget. - Query PowerpackWidgetListStreamDefinitionRequestQueryInput `pulumi:"query"` - // Widget response format. Valid values are `eventList`. - ResponseFormat pulumi.StringInput `pulumi:"responseFormat"` +type PowerpackWidgetScatterplotDefinitionRequestXArgs struct { + // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The query to use for this widget. + ApmQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + // The query to use for this widget. + RumQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput `pulumi:"securityQuery"` } -func (PowerpackWidgetListStreamDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXOutput) } -// PowerpackWidgetListStreamDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestArray and PowerpackWidgetListStreamDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXArray and PowerpackWidgetScatterplotDefinitionRequestXArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXArrayInput` via: // -// PowerpackWidgetListStreamDefinitionRequestArray{ PowerpackWidgetListStreamDefinitionRequestArgs{...} } -type PowerpackWidgetListStreamDefinitionRequestArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXArray{ PowerpackWidgetScatterplotDefinitionRequestXArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXArrayInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput - ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput } -type PowerpackWidgetListStreamDefinitionRequestArray []PowerpackWidgetListStreamDefinitionRequestInput +type PowerpackWidgetScatterplotDefinitionRequestXArray []PowerpackWidgetScatterplotDefinitionRequestXInput -func (PowerpackWidgetListStreamDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) } -type PowerpackWidgetListStreamDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { return o } -// Widget columns. -func (o PowerpackWidgetListStreamDefinitionRequestOutput) Columns() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) []PowerpackWidgetListStreamDefinitionRequestColumn { - return v.Columns - }).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) -} - -// Updated list stream widget. -func (o PowerpackWidgetListStreamDefinitionRequestOutput) Query() PowerpackWidgetListStreamDefinitionRequestQueryOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) PowerpackWidgetListStreamDefinitionRequestQuery { - return v.Query - }).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) +// Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// Widget response format. Valid values are `eventList`. -func (o PowerpackWidgetListStreamDefinitionRequestOutput) ResponseFormat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) string { return v.ResponseFormat }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { + return v.ApmQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetListStreamDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { + return v.LogQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) } -func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return o +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) } -func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return o +// The metric query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *string { return v.Q }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetListStreamDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetListStreamDefinitionRequest { - return vs[0].([]PowerpackWidgetListStreamDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetListStreamDefinitionRequestOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { + return v.RumQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestColumn struct { - // Widget column field. - Field string `pulumi:"field"` - // Widget column width. Valid values are `auto`, `compact`, `full`. - Width string `pulumi:"width"` +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) } -// PowerpackWidgetListStreamDefinitionRequestColumnInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestColumnArgs and PowerpackWidgetListStreamDefinitionRequestColumnOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestColumnInput` via: -// -// PowerpackWidgetListStreamDefinitionRequestColumnArgs{...} -type PowerpackWidgetListStreamDefinitionRequestColumnInput interface { - pulumi.Input +type PowerpackWidgetScatterplotDefinitionRequestXArrayOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput - ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput +func (PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -type PowerpackWidgetListStreamDefinitionRequestColumnArgs struct { - // Widget column field. - Field pulumi.StringInput `pulumi:"field"` - // Widget column width. Valid values are `auto`, `compact`, `full`. - Width pulumi.StringInput `pulumi:"width"` +func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return o } -func (PowerpackWidgetListStreamDefinitionRequestColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return o } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestX { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestX)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXOutput) } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnOutput) +type PowerpackWidgetScatterplotDefinitionRequestXApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetListStreamDefinitionRequestColumnArrayInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestColumnArray and PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestColumnArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput` via: // -// PowerpackWidgetListStreamDefinitionRequestColumnArray{ PowerpackWidgetListStreamDefinitionRequestColumnArgs{...} } -type PowerpackWidgetListStreamDefinitionRequestColumnArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput - ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput } -type PowerpackWidgetListStreamDefinitionRequestColumnArray []PowerpackWidgetListStreamDefinitionRequestColumnInput - -func (PowerpackWidgetListStreamDefinitionRequestColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Background()) +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Background()) } -type PowerpackWidgetListStreamDefinitionRequestColumnOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) +} -func (PowerpackWidgetListStreamDefinitionRequestColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { - return o +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { - return o +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput } -// Widget column field. -func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) Field() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestColumn) string { return v.Field }).(pulumi.StringOutput) +type powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs + +func PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType)(v) } -// Widget column width. Valid values are `auto`, `compact`, `full`. -func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) Width() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestColumn) string { return v.Width }).(pulumi.StringOutput) +func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -type PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) } -func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return o +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetListStreamDefinitionRequestColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetListStreamDefinitionRequestColumn { - return vs[0].([]PowerpackWidgetListStreamDefinitionRequestColumn)[vs[1].(int)] - }).(PowerpackWidgetListStreamDefinitionRequestColumnOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { + return o } -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`. - DataSource string `pulumi:"dataSource"` - // Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. - EventSize *string `pulumi:"eventSize"` - // List of indexes. - Indexes []string `pulumi:"indexes"` - // Widget query. - QueryString *string `pulumi:"queryString"` - // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. - Sort *PowerpackWidgetListStreamDefinitionRequestQuerySort `pulumi:"sort"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) } -// PowerpackWidgetListStreamDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQueryArgs and PowerpackWidgetListStreamDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQueryInput` via: -// -// PowerpackWidgetListStreamDefinitionRequestQueryArgs{...} -type PowerpackWidgetListStreamDefinitionRequestQueryInput interface { - pulumi.Input +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) +} - ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput - ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } -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`. - 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"` - // List of indexes. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // Widget query. - QueryString pulumi.StringPtrInput `pulumi:"queryString"` - // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. - Sort PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput `pulumi:"sort"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) } -func (PowerpackWidgetListStreamDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) string { return v.Index }).(pulumi.StringOutput) } -func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Background()) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) } -func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { 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`. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestXApmQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) } -// Size of events displayed in widget. Required if `dataSource` is `eventStream`. Valid values are `s`, `l`. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) EventSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.EventSize }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } -// List of indexes. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) } -// Widget query. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) QueryString() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.QueryString }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -// The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Sort() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *PowerpackWidgetListStreamDefinitionRequestQuerySort { - return v.Sort - }).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) } -// Storage location (private beta). -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestQuerySort struct { - // The facet path for the column. - Column string `pulumi:"column"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery 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"` } -// PowerpackWidgetListStreamDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs and PowerpackWidgetListStreamDefinitionRequestQuerySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput` via: // -// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} -type PowerpackWidgetListStreamDefinitionRequestQuerySortInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput - ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput } -type PowerpackWidgetListStreamDefinitionRequestQuerySortArgs struct { - // The facet path for the column. - Column pulumi.StringInput `pulumi:"column"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs 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 (PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput).ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs, PowerpackWidgetListStreamDefinitionRequestQuerySortPtr and PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput - ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput } -type powerpackWidgetListStreamDefinitionRequestQuerySortPtrType PowerpackWidgetListStreamDefinitionRequestQuerySortArgs +type powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs -func PowerpackWidgetListStreamDefinitionRequestQuerySortPtr(v *PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput { - return (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return o.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinitionRequestQuerySort) *PowerpackWidgetListStreamDefinitionRequestQuerySort { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { return &v - }).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } -// The facet path for the column. -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) Column() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuerySort) string { return v.Column }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuerySort) string { return v.Order }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) PowerpackWidgetListStreamDefinitionRequestQuerySort { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetListStreamDefinitionRequestQuerySort + var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery return ret - }).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) } -// The facet path for the column. -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Column() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { if v == nil { return nil } - return &v.Column + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { if v == nil { return nil } - return &v.Order + return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetLogStreamDefinition struct { - // Stringified list of columns to use, for example: `["column1","column2","column3"]`. - Columns []string `pulumi:"columns"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. - MessageDisplay *string `pulumi:"messageDisplay"` - // The query to use in the widget. - Query *string `pulumi:"query"` - // If the date column should be displayed. - ShowDateColumn *bool `pulumi:"showDateColumn"` - // If the message column should be displayed. - ShowMessageColumn *bool `pulumi:"showMessageColumn"` - // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. - Sort *PowerpackWidgetLogStreamDefinitionSort `pulumi:"sort"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -// PowerpackWidgetLogStreamDefinitionInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs and PowerpackWidgetLogStreamDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionInput` via: +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery `pulumi:"sortQuery"` +} + +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput` via: // -// PowerpackWidgetLogStreamDefinitionArgs{...} -type PowerpackWidgetLogStreamDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput - ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput } -type PowerpackWidgetLogStreamDefinitionArgs struct { - // Stringified list of columns to use, for example: `["column1","column2","column3"]`. - Columns pulumi.StringArrayInput `pulumi:"columns"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. - MessageDisplay pulumi.StringPtrInput `pulumi:"messageDisplay"` - // The query to use in the widget. - Query pulumi.StringPtrInput `pulumi:"query"` - // If the date column should be displayed. - ShowDateColumn pulumi.BoolPtrInput `pulumi:"showDateColumn"` - // If the message column should be displayed. - ShowMessageColumn pulumi.BoolPtrInput `pulumi:"showMessageColumn"` - // The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. - Sort PowerpackWidgetLogStreamDefinitionSortPtrInput `pulumi:"sort"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetLogStreamDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { - return i.ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput).ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx) +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetLogStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs, PowerpackWidgetLogStreamDefinitionPtr and PowerpackWidgetLogStreamDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionPtrInput` via: -// -// PowerpackWidgetLogStreamDefinitionArgs{...} -// -// or: +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { + return o +} + +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput` via: // -// nil -type PowerpackWidgetLogStreamDefinitionPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput - ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput } -type powerpackWidgetLogStreamDefinitionPtrType PowerpackWidgetLogStreamDefinitionArgs - -func PowerpackWidgetLogStreamDefinitionPtr(v *PowerpackWidgetLogStreamDefinitionArgs) PowerpackWidgetLogStreamDefinitionPtrInput { - return (*powerpackWidgetLogStreamDefinitionPtrType)(v) +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (*powerpackWidgetLogStreamDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) } -type PowerpackWidgetLogStreamDefinitionOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetLogStreamDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { - return o +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput } -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { - return o -} +type powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { - return o.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) +func PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType)(v) } -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinition { - return &v - }).(PowerpackWidgetLogStreamDefinitionPtrOutput) +func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -// Stringified list of columns to use, for example: `["column1","column2","column3"]`. -func (o PowerpackWidgetLogStreamDefinitionOutput) Columns() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) []string { return v.Columns }).(pulumi.StringArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// An array of index names to query in the stream. -func (o PowerpackWidgetLogStreamDefinitionOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) []string { return v.Indexes }).(pulumi.StringArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetLogStreamDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -// The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. -func (o PowerpackWidgetLogStreamDefinitionOutput) MessageDisplay() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.MessageDisplay }).(pulumi.StringPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -// The query to use in the widget. -func (o PowerpackWidgetLogStreamDefinitionOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.Query }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return o } -// If the date column should be displayed. -func (o PowerpackWidgetLogStreamDefinitionOutput) ShowDateColumn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *bool { return v.ShowDateColumn }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return o } -// If the message column should be displayed. -func (o PowerpackWidgetLogStreamDefinitionOutput) ShowMessageColumn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *bool { return v.ShowMessageColumn }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. -func (o PowerpackWidgetLogStreamDefinitionOutput) Sort() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinitionSort { return v.Sort }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetLogStreamDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetLogStreamDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetLogStreamDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetLogStreamDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetLogStreamDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) PowerpackWidgetLogStreamDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetLogStreamDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetLogStreamDefinitionOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) } -// Stringified list of columns to use, for example: `["column1","column2","column3"]`. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Columns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) []string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Columns - }).(pulumi.StringArrayOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) []string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Indexes - }).(pulumi.StringArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.LiveSpan + return &v.Order }).(pulumi.StringPtrOutput) } -// The number of log lines to display. Valid values are `inline`, `expanded-md`, `expanded-lg`. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) MessageDisplay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { - if v == nil { - return nil - } - return v.MessageDisplay - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute 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"` } -// The query to use in the widget. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { - if v == nil { - return nil - } - return v.Query - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput } -// If the date column should be displayed. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ShowDateColumn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *bool { - if v == nil { - return nil - } - return v.ShowDateColumn - }).(pulumi.BoolPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs 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"` } -// If the message column should be displayed. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ShowMessageColumn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *bool { - if v == nil { - return nil - } - return v.ShowMessageColumn - }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() } -// The facet and order to sort the data, for example: `{"column": "time", "order": "desc"}`. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Sort() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinitionSort { - if v == nil { - return nil - } - return v.Sort - }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Background()) } -// The title of the widget. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() } -type PowerpackWidgetLogStreamDefinitionSort struct { - // The facet path for the column. - Column string `pulumi:"column"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -// PowerpackWidgetLogStreamDefinitionSortInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs and PowerpackWidgetLogStreamDefinitionSortOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput` via: // -// PowerpackWidgetLogStreamDefinitionSortArgs{...} -type PowerpackWidgetLogStreamDefinitionSortInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput - ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput } -type PowerpackWidgetLogStreamDefinitionSortArgs struct { - // The facet path for the column. - Column pulumi.StringInput `pulumi:"column"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetLogStreamDefinitionSortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { - return i.ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput).ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetLogStreamDefinitionSortPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs, PowerpackWidgetLogStreamDefinitionSortPtr and PowerpackWidgetLogStreamDefinitionSortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput` via: // -// PowerpackWidgetLogStreamDefinitionSortArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetLogStreamDefinitionSortPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput - ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput } -type powerpackWidgetLogStreamDefinitionSortPtrType PowerpackWidgetLogStreamDefinitionSortArgs +type powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs -func PowerpackWidgetLogStreamDefinitionSortPtr(v *PowerpackWidgetLogStreamDefinitionSortArgs) PowerpackWidgetLogStreamDefinitionSortPtrInput { - return (*powerpackWidgetLogStreamDefinitionSortPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType)(v) } -func (*powerpackWidgetLogStreamDefinitionSortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() } -func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) } -type PowerpackWidgetLogStreamDefinitionSortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetLogStreamDefinitionSortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return o.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinitionSort) *PowerpackWidgetLogStreamDefinitionSort { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { return &v - }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) } -// The facet path for the column. -func (o PowerpackWidgetLogStreamDefinitionSortOutput) Column() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinitionSort) string { return v.Column }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetLogStreamDefinitionSortOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinitionSort) string { return v.Order }).(pulumi.StringOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) } -type PowerpackWidgetLogStreamDefinitionSortPtrOutput struct{ *pulumi.OutputState } +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) string { return v.Index }).(pulumi.StringOutput) +} -func (PowerpackWidgetLogStreamDefinitionSortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) } -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionSortOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) PowerpackWidgetLogStreamDefinitionSort { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQuery { if v != nil { return *v } - var ret PowerpackWidgetLogStreamDefinitionSort + var ret PowerpackWidgetScatterplotDefinitionRequestXLogQuery return ret - }).(PowerpackWidgetLogStreamDefinitionSortOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) } -// The facet path for the column. -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Column() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { if v == nil { return nil } - return &v.Column - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) } -type PowerpackWidgetManageStatusDefinition struct { - // Whether to colorize text or background. Valid values are `background`, `text`. - ColorPreference *string `pulumi:"colorPreference"` - // The display setting to use. Valid values are `counts`, `countsAndList`, `list`. - DisplayFormat *string `pulumi:"displayFormat"` - // A Boolean indicating whether to hide empty categories. - HideZeroCounts *bool `pulumi:"hideZeroCounts"` - // The query to use in the widget. - Query string `pulumi:"query"` - // A Boolean indicating whether to show when monitors/groups last triggered. - ShowLastTriggered *bool `pulumi:"showLastTriggered"` - // Whether to show the priorities column. - ShowPriority *bool `pulumi:"showPriority"` - // The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. - Sort *string `pulumi:"sort"` - // The summary type to use. Valid values are `monitors`, `groups`, `combined`. - SummaryType *string `pulumi:"summaryType"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) } -// PowerpackWidgetManageStatusDefinitionInput is an input type that accepts PowerpackWidgetManageStatusDefinitionArgs and PowerpackWidgetManageStatusDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetManageStatusDefinitionInput` via: +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery 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"` +} + +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput` via: // -// PowerpackWidgetManageStatusDefinitionArgs{...} -type PowerpackWidgetManageStatusDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput - ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput } -type PowerpackWidgetManageStatusDefinitionArgs struct { - // Whether to colorize text or background. Valid values are `background`, `text`. - ColorPreference pulumi.StringPtrInput `pulumi:"colorPreference"` - // The display setting to use. Valid values are `counts`, `countsAndList`, `list`. - DisplayFormat pulumi.StringPtrInput `pulumi:"displayFormat"` - // A Boolean indicating whether to hide empty categories. - HideZeroCounts pulumi.BoolPtrInput `pulumi:"hideZeroCounts"` - // The query to use in the widget. - Query pulumi.StringInput `pulumi:"query"` - // A Boolean indicating whether to show when monitors/groups last triggered. - ShowLastTriggered pulumi.BoolPtrInput `pulumi:"showLastTriggered"` - // Whether to show the priorities column. - ShowPriority pulumi.BoolPtrInput `pulumi:"showPriority"` - // The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // The summary type to use. Valid values are `monitors`, `groups`, `combined`. - SummaryType pulumi.StringPtrInput `pulumi:"summaryType"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs 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 (PowerpackWidgetManageStatusDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { - return i.ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { - return i.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionOutput).ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetManageStatusDefinitionPtrInput is an input type that accepts PowerpackWidgetManageStatusDefinitionArgs, PowerpackWidgetManageStatusDefinitionPtr and PowerpackWidgetManageStatusDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetManageStatusDefinitionPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetManageStatusDefinitionArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetManageStatusDefinitionPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput - ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput } -type powerpackWidgetManageStatusDefinitionPtrType PowerpackWidgetManageStatusDefinitionArgs +type powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs -func PowerpackWidgetManageStatusDefinitionPtr(v *PowerpackWidgetManageStatusDefinitionArgs) PowerpackWidgetManageStatusDefinitionPtrInput { - return (*powerpackWidgetManageStatusDefinitionPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetManageStatusDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { - return i.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetManageStatusDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetManageStatusDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { - return o.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetManageStatusDefinition) *PowerpackWidgetManageStatusDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { return &v - }).(PowerpackWidgetManageStatusDefinitionPtrOutput) -} - -// Whether to colorize text or background. Valid values are `background`, `text`. -func (o PowerpackWidgetManageStatusDefinitionOutput) ColorPreference() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.ColorPreference }).(pulumi.StringPtrOutput) -} - -// The display setting to use. Valid values are `counts`, `countsAndList`, `list`. -func (o PowerpackWidgetManageStatusDefinitionOutput) DisplayFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.DisplayFormat }).(pulumi.StringPtrOutput) -} - -// A Boolean indicating whether to hide empty categories. -func (o PowerpackWidgetManageStatusDefinitionOutput) HideZeroCounts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *bool { return v.HideZeroCounts }).(pulumi.BoolPtrOutput) -} - -// The query to use in the widget. -func (o PowerpackWidgetManageStatusDefinitionOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) string { return v.Query }).(pulumi.StringOutput) -} - -// A Boolean indicating whether to show when monitors/groups last triggered. -func (o PowerpackWidgetManageStatusDefinitionOutput) ShowLastTriggered() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *bool { return v.ShowLastTriggered }).(pulumi.BoolPtrOutput) -} - -// Whether to show the priorities column. -func (o PowerpackWidgetManageStatusDefinitionOutput) ShowPriority() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *bool { return v.ShowPriority }).(pulumi.BoolPtrOutput) -} - -// The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. -func (o PowerpackWidgetManageStatusDefinitionOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.Sort }).(pulumi.StringPtrOutput) -} - -// The summary type to use. Valid values are `monitors`, `groups`, `combined`. -func (o PowerpackWidgetManageStatusDefinitionOutput) SummaryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.SummaryType }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetManageStatusDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetManageStatusDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetManageStatusDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetManageStatusDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetManageStatusDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Elem() PowerpackWidgetManageStatusDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) PowerpackWidgetManageStatusDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetManageStatusDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery return ret - }).(PowerpackWidgetManageStatusDefinitionOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) } -// Whether to colorize text or background. Valid values are `background`, `text`. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ColorPreference() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { if v == nil { return nil } - return v.ColorPreference + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The display setting to use. Valid values are `counts`, `countsAndList`, `list`. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) DisplayFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { if v == nil { return nil } - return v.DisplayFormat + return v.Facet }).(pulumi.StringPtrOutput) } -// A Boolean indicating whether to hide empty categories. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) HideZeroCounts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *bool { +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *int { if v == nil { return nil } - return v.HideZeroCounts - }).(pulumi.BoolPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// The query to use in the widget. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// A Boolean indicating whether to show when monitors/groups last triggered. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ShowLastTriggered() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *bool { - if v == nil { - return nil - } - return v.ShowLastTriggered - }).(pulumi.BoolPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput } -// Whether to show the priorities column. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ShowPriority() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *bool { - if v == nil { - return nil - } - return v.ShowPriority - }).(pulumi.BoolPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -// The method to sort the monitors. Valid values are `name`, `group`, `status`, `tags`, `triggered`, `group,asc`, `group,desc`, `name,asc`, `name,desc`, `status,asc`, `status,desc`, `tags,asc`, `tags,desc`, `triggered,asc`, `triggered,desc`, `priority,asc`, `priority,desc`. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { - if v == nil { - return nil - } - return v.Sort - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -// The summary type to use. Valid values are `monitors`, `groups`, `combined`. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) SummaryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { - if v == nil { - return nil - } - return v.SummaryType - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Background()) } -// The title of the widget. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput + +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetNoteDefinition struct { - // The background color of the note. - BackgroundColor *string `pulumi:"backgroundColor"` - // The content of the note. - Content string `pulumi:"content"` - // The size of the text. - FontSize *string `pulumi:"fontSize"` - // Whether to add padding or not. Defaults to `true`. - HasPadding *bool `pulumi:"hasPadding"` - // Whether to show a tick or not. - ShowTick *bool `pulumi:"showTick"` - // The alignment of the widget's text. Valid values are `center`, `left`, `right`. - TextAlign *string `pulumi:"textAlign"` - // When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. - TickEdge *string `pulumi:"tickEdge"` - // When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. - TickPos *string `pulumi:"tickPos"` - // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. - VerticalAlign *string `pulumi:"verticalAlign"` +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Background()) } -// PowerpackWidgetNoteDefinitionInput is an input type that accepts PowerpackWidgetNoteDefinitionArgs and PowerpackWidgetNoteDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetNoteDefinitionInput` via: -// -// PowerpackWidgetNoteDefinitionArgs{...} -type PowerpackWidgetNoteDefinitionInput interface { - pulumi.Input +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) +} - ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput - ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionOutput +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetNoteDefinitionArgs struct { - // The background color of the note. - BackgroundColor pulumi.StringPtrInput `pulumi:"backgroundColor"` - // The content of the note. - Content pulumi.StringInput `pulumi:"content"` - // The size of the text. - FontSize pulumi.StringPtrInput `pulumi:"fontSize"` - // Whether to add padding or not. Defaults to `true`. - HasPadding pulumi.BoolPtrInput `pulumi:"hasPadding"` - // Whether to show a tick or not. - ShowTick pulumi.BoolPtrInput `pulumi:"showTick"` - // The alignment of the widget's text. Valid values are `center`, `left`, `right`. - TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` - // When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. - TickEdge pulumi.StringPtrInput `pulumi:"tickEdge"` - // When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. - TickPos pulumi.StringPtrInput `pulumi:"tickPos"` - // The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. - VerticalAlign pulumi.StringPtrInput `pulumi:"verticalAlign"` +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { + return o } -func (PowerpackWidgetNoteDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { + return o } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { - return i.ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { - return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput).ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx) +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetNoteDefinitionPtrInput is an input type that accepts PowerpackWidgetNoteDefinitionArgs, PowerpackWidgetNoteDefinitionPtr and PowerpackWidgetNoteDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetNoteDefinitionPtrInput` via: -// -// PowerpackWidgetNoteDefinitionArgs{...} -// -// or: +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput` via: // -// nil -type PowerpackWidgetNoteDefinitionPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput - ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput } -type powerpackWidgetNoteDefinitionPtrType PowerpackWidgetNoteDefinitionArgs - -func PowerpackWidgetNoteDefinitionPtr(v *PowerpackWidgetNoteDefinitionArgs) PowerpackWidgetNoteDefinitionPtrInput { - return (*powerpackWidgetNoteDefinitionPtrType)(v) +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (*powerpackWidgetNoteDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { - return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) } -type PowerpackWidgetNoteDefinitionOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetNoteDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { - return o +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput } -func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { - return o +type powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs + +func PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType)(v) } -func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { - return o.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetNoteDefinition) *PowerpackWidgetNoteDefinition { - return &v - }).(PowerpackWidgetNoteDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The background color of the note. -func (o PowerpackWidgetNoteDefinitionOutput) BackgroundColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.BackgroundColor }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) } -// The content of the note. -func (o PowerpackWidgetNoteDefinitionOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) string { return v.Content }).(pulumi.StringOutput) +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -// The size of the text. -func (o PowerpackWidgetNoteDefinitionOutput) FontSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.FontSize }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return o } -// Whether to add padding or not. Defaults to `true`. -func (o PowerpackWidgetNoteDefinitionOutput) HasPadding() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *bool { return v.HasPadding }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return o } -// Whether to show a tick or not. -func (o PowerpackWidgetNoteDefinitionOutput) ShowTick() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *bool { return v.ShowTick }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The alignment of the widget's text. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetNoteDefinitionOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) } -// When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. -func (o PowerpackWidgetNoteDefinitionOutput) TickEdge() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.TickEdge }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. -func (o PowerpackWidgetNoteDefinitionOutput) TickPos() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.TickPos }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. -func (o PowerpackWidgetNoteDefinitionOutput) VerticalAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.VerticalAlign }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetNoteDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetNoteDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetNoteDefinitionPtrOutput) Elem() PowerpackWidgetNoteDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) PowerpackWidgetNoteDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetNoteDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetNoteDefinitionOutput) -} - -// The background color of the note. -func (o PowerpackWidgetNoteDefinitionPtrOutput) BackgroundColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { - if v == nil { - return nil - } - return v.BackgroundColor - }).(pulumi.StringPtrOutput) -} - -// The content of the note. -func (o PowerpackWidgetNoteDefinitionPtrOutput) Content() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { - if v == nil { - return nil - } - return &v.Content - }).(pulumi.StringPtrOutput) -} - -// The size of the text. -func (o PowerpackWidgetNoteDefinitionPtrOutput) FontSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { - if v == nil { - return nil - } - return v.FontSize - }).(pulumi.StringPtrOutput) -} - -// Whether to add padding or not. Defaults to `true`. -func (o PowerpackWidgetNoteDefinitionPtrOutput) HasPadding() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *bool { - if v == nil { - return nil - } - return v.HasPadding - }).(pulumi.BoolPtrOutput) -} - -// Whether to show a tick or not. -func (o PowerpackWidgetNoteDefinitionPtrOutput) ShowTick() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *bool { - if v == nil { - return nil - } - return v.ShowTick - }).(pulumi.BoolPtrOutput) -} - -// The alignment of the widget's text. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetNoteDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { - if v == nil { - return nil - } - return v.TextAlign - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) } -// When `tick = true`, a string indicating on which side of the widget the tick should be displayed. Valid values are `bottom`, `left`, `right`, `top`. -func (o PowerpackWidgetNoteDefinitionPtrOutput) TickEdge() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.TickEdge + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// When `tick = true`, a string with a percent sign indicating the position of the tick, for example: `tickPos = "50%"` is centered alignment. -func (o PowerpackWidgetNoteDefinitionPtrOutput) TickPos() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.TickPos + return v.Facet }).(pulumi.StringPtrOutput) } -// The vertical alignment for the widget. Valid values are `center`, `top`, `bottom`. -func (o PowerpackWidgetNoteDefinitionPtrOutput) VerticalAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.VerticalAlign + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetQueryTableDefinitionCustomLink `pulumi:"customLinks"` - // Controls the display of the search bar. Valid values are `always`, `never`, `auto`. - HasSearchBar *string `pulumi:"hasSearchBar"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). - Requests []PowerpackWidgetQueryTableDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute 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"` } -// PowerpackWidgetQueryTableDefinitionInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs and PowerpackWidgetQueryTableDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionArgs{...} -type PowerpackWidgetQueryTableDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput - ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionOutput -} - -type PowerpackWidgetQueryTableDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // Controls the display of the search bar. Valid values are `always`, `never`, `auto`. - HasSearchBar pulumi.StringPtrInput `pulumi:"hasSearchBar"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). - Requests PowerpackWidgetQueryTableDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` -} - -func (PowerpackWidgetQueryTableDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput } -func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { - return i.ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Background()) +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs 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 (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput).ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) } -// PowerpackWidgetQueryTableDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs, PowerpackWidgetQueryTableDefinitionPtr and PowerpackWidgetQueryTableDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput - ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput } -type powerpackWidgetQueryTableDefinitionPtrType PowerpackWidgetQueryTableDefinitionArgs - -func PowerpackWidgetQueryTableDefinitionPtr(v *PowerpackWidgetQueryTableDefinitionArgs) PowerpackWidgetQueryTableDefinitionPtrInput { - return (*powerpackWidgetQueryTableDefinitionPtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput -func (*powerpackWidgetQueryTableDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryTableDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinition) *PowerpackWidgetQueryTableDefinition { - return &v - }).(PowerpackWidgetQueryTableDefinitionPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionOutput) CustomLinks() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// Controls the display of the search bar. Valid values are `always`, `never`, `auto`. -func (o PowerpackWidgetQueryTableDefinitionOutput) HasSearchBar() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.HasSearchBar }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetQueryTableDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). -func (o PowerpackWidgetQueryTableDefinitionOutput) Requests() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionRequest { - return v.Requests - }).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return o } -// The title of the widget. -func (o PowerpackWidgetQueryTableDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return o } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetQueryTableDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetQueryTableDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -type PowerpackWidgetQueryTableDefinitionPtrOutput struct{ *pulumi.OutputState } +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput interface { + pulumi.Input -func (PowerpackWidgetQueryTableDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput } -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { - return o +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { - return o +func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) PowerpackWidgetQueryTableDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinition - return ret - }).(PowerpackWidgetQueryTableDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Background()) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) CustomLinks() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) } -// Controls the display of the search bar. Valid values are `always`, `never`, `auto`. -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) HasSearchBar() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { - if v == nil { - return nil - } - return v.HasSearchBar - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx) } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the `request` block). -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Requests() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) -} +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput interface { + pulumi.Input -// The title of the widget. -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) -} +type powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) +func PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType)(v) } -type PowerpackWidgetQueryTableDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +func (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArgs and PowerpackWidgetQueryTableDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkInput` via: -// -// PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} -type PowerpackWidgetQueryTableDefinitionCustomLinkInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput - ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput +func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) } -func (PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return o } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return o } -// PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArray and PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput` via: -// -// PowerpackWidgetQueryTableDefinitionCustomLinkArray{ PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} } -type PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput interface { - pulumi.Input +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) +} - ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput - ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionCustomLinkArray []PowerpackWidgetQueryTableDefinitionCustomLinkInput +// A list of processes. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +} -func (PowerpackWidgetQueryTableDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +// The max number of items in the filter list. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Background()) +// Your chosen metric. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) +// Your chosen search term. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestXProcessQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) } -// The label for the custom link URL. -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +// A list of processes. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) []string { + if v == nil { + return nil + } + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// The URL of the custom link. -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// Your chosen metric. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +// Your chosen search term. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { + if v == nil { + return nil + } + return v.SearchBy + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return o +type PowerpackWidgetScatterplotDefinitionRequestXRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return o -} +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput interface { + pulumi.Input -func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionCustomLink { - return vs[0].([]PowerpackWidgetQueryTableDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionCustomLinkOutput) + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequest struct { - // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The alias for the column name (defaults to metric name). - Alias *string `pulumi:"alias"` - // The query to use for this widget. - ApmQuery *PowerpackWidgetQueryTableDefinitionRequestApmQuery `pulumi:"apmQuery"` - ApmStatsQuery *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery `pulumi:"apmStatsQuery"` - // A list of display modes for each table cell. List items one of `number`, `bar`. Valid values are `number`, `bar`. - CellDisplayModes []string `pulumi:"cellDisplayModes"` - // Conditional formats allow you to set the color of your widget content or background, depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetQueryTableDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` - Formulas []PowerpackWidgetQueryTableDefinitionRequestFormula `pulumi:"formulas"` - // The number of lines to show in the table. - Limit *int `pulumi:"limit"` - // The query to use for this widget. - LogQuery *PowerpackWidgetQueryTableDefinitionRequestLogQuery `pulumi:"logQuery"` - // The sort order for the rows. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetQueryTableDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetQueryTableDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetQueryTableDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery `pulumi:"securityQuery"` +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// PowerpackWidgetQueryTableDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestArgs and PowerpackWidgetQueryTableDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput - ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -type PowerpackWidgetQueryTableDefinitionRequestArgs struct { - // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The alias for the column name (defaults to metric name). - Alias pulumi.StringPtrInput `pulumi:"alias"` - // The query to use for this widget. - ApmQuery PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - ApmStatsQuery PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput `pulumi:"apmStatsQuery"` - // A list of display modes for each table cell. List items one of `number`, `bar`. Valid values are `number`, `bar`. - CellDisplayModes pulumi.StringArrayInput `pulumi:"cellDisplayModes"` - // Conditional formats allow you to set the color of your widget content or background, depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` - Formulas PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The number of lines to show in the table. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The query to use for this widget. - LogQuery PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The sort order for the rows. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetQueryTableDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestArray and PowerpackWidgetQueryTableDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestArray{ PowerpackWidgetQueryTableDefinitionRequestArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestArray []PowerpackWidgetQueryTableDefinitionRequestInput +type powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { - return o -} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { - return o +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -// The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return o } -// The alias for the column name (defaults to metric name). -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return o } -// The query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmStatsQuery() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { - return v.ApmStatsQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) } -// A list of display modes for each table cell. List items one of `number`, `bar`. Valid values are `number`, `bar`. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) CellDisplayModes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []string { return v.CellDisplayModes }).(pulumi.StringArrayOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } -// Conditional formats allow you to set the color of your widget content or background, depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ConditionalFormats() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Formulas() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) string { return v.Index }).(pulumi.StringOutput) } -// The number of lines to show in the table. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *int { return v.Limit }).(pulumi.IntPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -// The sort order for the rows. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Order }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput struct{ *pulumi.OutputState } -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ProcessQuery() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -// The metric query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Queries() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o } -// The query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestXRumQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return o +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return o +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequest { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery 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"` } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs 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 (PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) PowerpackWidgetQueryTableDefinitionRequestApmQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestApmQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *int { if v == nil { return nil } - return &v.Index - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +} + +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) +} + +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput +} + +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput + +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { + return o +} + +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery 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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs 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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -64912,8 +63260,8 @@ func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -64921,311 +63269,351 @@ func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *int { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return o } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput` via: +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { if v == nil { return nil } - return v.Facet + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { + if v == nil { + return nil + } + return &v.Index }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { if v == nil { return nil } - return &v.Order + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -65234,18 +63622,18 @@ type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -65254,1493 +63642,1419 @@ type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput - -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput interface { + pulumi.Input -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return o -} +type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return o +func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType)(v) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) -} - -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery struct { - // Column properties used by the front end for display. - Columns []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn `pulumi:"columns"` - // The environment name. - Env string `pulumi:"env"` - // The operation name associated with the service. - Name string `pulumi:"name"` - // The organization's host group name and value. - PrimaryTag string `pulumi:"primaryTag"` - // The resource name. - Resource *string `pulumi:"resource"` - // The level of detail for the request. Valid values are `service`, `resource`, `span`. - RowType string `pulumi:"rowType"` - // The service name. - Service string `pulumi:"service"` +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs struct { - // Column properties used by the front end for display. - Columns PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput `pulumi:"columns"` - // The environment name. - Env pulumi.StringInput `pulumi:"env"` - // The operation name associated with the service. - Name pulumi.StringInput `pulumi:"name"` - // The organization's host group name and value. - PrimaryTag pulumi.StringInput `pulumi:"primaryTag"` - // The resource name. - Resource pulumi.StringPtrInput `pulumi:"resource"` - // The level of detail for the request. Valid values are `service`, `resource`, `span`. - RowType pulumi.StringInput `pulumi:"rowType"` - // The service name. - Service pulumi.StringInput `pulumi:"service"` +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Background()) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) -} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o } -type powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType)(v) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) } -func (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return o -} +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput interface { + pulumi.Input -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return o + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -// Column properties used by the front end for display. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Columns() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn { - return v.Columns - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Background()) } -// The environment name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) } -// The operation name associated with the service. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput interface { + pulumi.Input -// The organization's host group name and value. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) PrimaryTag() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.PrimaryTag }).(pulumi.StringOutput) + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput } -// The resource name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { return v.Resource }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput + +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -// The level of detail for the request. Valid values are `service`, `resource`, `span`. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) RowType() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.RowType }).(pulumi.StringOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -// The service name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Column properties used by the front end for display. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Columns() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn { - if v == nil { - return nil - } - return v.Columns - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The environment name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) } -// The operation name associated with the service. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// The organization's host group name and value. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) PrimaryTag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.PrimaryTag - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -// The resource name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return v.Resource - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return o } -// The level of detail for the request. Valid values are `service`, `resource`, `span`. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) RowType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.RowType - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return o } -// The service name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn struct { - // A user-assigned alias for the column. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // The column name. - Name string `pulumi:"name"` +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` // Widget sorting methods. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` + Order string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs struct { - // A user-assigned alias for the column. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // The column name. - Name pulumi.StringInput `pulumi:"name"` +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray{ PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput +type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { return o } -// A user-assigned alias for the column. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) *string { - return v.CellDisplayMode - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) } -// The column name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) string { return v.Name }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) *string { return v.Order }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) -} - -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` -} - -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Background()) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute 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"` } -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs 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 (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput interface { + pulumi.Input -func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { - return o -} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { - return o +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -// Setting this to True hides values. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -// Displays an image as the background. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { + return o } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { + return o } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestConditionalFormat { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle `pulumi:"style"` +type PowerpackWidgetScatterplotDefinitionRequestY struct { + // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The query to use for this widget. + ApmQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + // The query to use for this widget. + RumQuery *PowerpackWidgetScatterplotDefinitionRequestYRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery `pulumi:"securityQuery"` } -// PowerpackWidgetQueryTableDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYArgs and PowerpackWidgetScatterplotDefinitionRequestYOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestFormulaInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput + ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput + ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput } -type PowerpackWidgetQueryTableDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +type PowerpackWidgetScatterplotDefinitionRequestYArgs struct { + // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The query to use for this widget. + ApmQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + LogQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + // The query to use for this widget. + RumQuery PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput `pulumi:"securityQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYOutput) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaArray and PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYArray and PowerpackWidgetScatterplotDefinitionRequestYArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaArray{ PowerpackWidgetQueryTableDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYArray{ PowerpackWidgetScatterplotDefinitionRequestYArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestFormulaArray []PowerpackWidgetQueryTableDefinitionRequestFormulaInput +type PowerpackWidgetScatterplotDefinitionRequestYArray []PowerpackWidgetScatterplotDefinitionRequestYInput -func (PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { return o } -// An expression alias. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +// Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { + return v.ApmQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) } -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { + return v.LogQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) } -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) } -// The options for limiting results returned. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Limit() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *string { return v.Q }).(pulumi.StringPtrOutput) } -// Styling options for widget formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Style() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { + return v.RumQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestYArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestY { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestY)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` +type PowerpackWidgetScatterplotDefinitionRequestYApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput +type powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { return o } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } -// Setting this to True hides values. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) } -// Displays an image as the background. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -// A value for the comparator. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o +} -func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestYApmQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput` via: +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery 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"` +} + +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs 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 (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs +type powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestFormulaLimit + var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *int { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { if v == nil { return nil } - return v.Count - }).(pulumi.IntPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { if v == nil { return nil } - return v.Order + return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` -} +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput interface { + pulumi.Input -func (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput } -type powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs - -func PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput -func (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestFormulaStyle - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) -} - -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *int { - if v == nil { - return nil - } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) PowerpackWidgetQueryTableDefinitionRequestLogQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestLogQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -66749,18 +65063,18 @@ type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -66769,419 +65083,459 @@ type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput + +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) } -type powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType)(v) +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Background()) +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +type powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs + +func PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType)(v) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return o } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return o } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) string { return v.Index }).(pulumi.StringOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestYLogQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return o +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { if v == nil { return nil } @@ -67190,8 +65544,8 @@ func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOut } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { if v == nil { return nil } @@ -67199,1965 +65553,2089 @@ func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOut }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *int { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` - // Define the time interval in seconds. - Interval *int `pulumi:"interval"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) } -type PowerpackWidgetQueryTableDefinitionRequestProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestProcessQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Your chosen metric. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) PowerpackWidgetQueryTableDefinitionRequestProcessQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestProcessQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) -} - -// A list of processes. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *int { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Metric + return v.Facet }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.SearchBy + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute 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"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput -} - -type PowerpackWidgetQueryTableDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` -} - -func (PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryOutput) + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput } -// PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryArray and PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryArray{ PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs 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"` } -type PowerpackWidgetQueryTableDefinitionRequestQueryArray []PowerpackWidgetQueryTableDefinitionRequestQueryInput - -func (PowerpackWidgetQueryTableDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput interface { + pulumi.Input -func (PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { - return o +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput + +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { - return o +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) } -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { + return o } -// A timeseries formula and functions events query. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { + return o } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The process query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The SLO query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestQueryOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` +type PowerpackWidgetScatterplotDefinitionRequestYProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *bool { - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// A list of processes. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// APM resource. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// The max number of items in the filter list. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// APM service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) +// Your chosen metric. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// Your chosen search term. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYProcessQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { +// A list of processes. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) []string { if v == nil { return nil } - return &v.DataSource - }).(pulumi.StringPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// APM environment. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The max number of items in the filter list. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *int { if v == nil { return nil } - return &v.Env - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *bool { +// Your chosen metric. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { if v == nil { return nil } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) + return &v.Metric + }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { +// Your chosen search term. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { if v == nil { return nil } - return &v.Name + return v.SearchBy }).(pulumi.StringPtrOutput) } -// Name of operation on service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// APM resource. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.ResourceName - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() } -// APM service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Background()) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) } -// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` +type powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs + +func PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType)(v) } -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return o } -// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { - pulumi.Input +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return o +} - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) } -type powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) +} -func PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestYRumQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery 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"` +} + +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput +} + +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs 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 (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return o +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return o +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +type powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs + +func PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType)(v) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -// APM environment. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) } -// Array of fields to group results by. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) []string { - return v.GroupBies - }).(pulumi.StringArrayOutput) +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return o } -// Name of operation on service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return o } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) } -// APM resource. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { if v == nil { return nil } - return &v.Env + return v.Facet }).(pulumi.StringPtrOutput) } -// Array of fields to group results by. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) []string { +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *int { if v == nil { return nil } - return v.GroupBies - }).(pulumi.StringArrayOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// Name of operation on service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() } -// APM resource. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Background()) } -// APM service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { + return o +} + +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Aggregator + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.DataSource + return v.Facet }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Order }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute 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"` } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput` via: +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) +} + +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { + return o } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { + return o } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput` via: +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput +} + +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) } -// Group by options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -// The search options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) } -// Storage location (private beta). -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) -} - -// The compute options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { if v == nil { return nil } - return &v.DataSource - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) } -// Group by options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil - } - return v.Indexes - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Index }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { if v == nil { return nil } - return v.Search - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) } -// Storage location (private beta). -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { if v == nil { return nil } - return v.Storage + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery struct { + // The aggregation method. Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet *string `pulumi:"facet"` + // Define the time interval in seconds. Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs struct { + // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Define the time interval in seconds. Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput +type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { return o } -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -// A time interval in milliseconds. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) +} + +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { return o } -// The event facet. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The number of groups to return. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery struct { + // The aggregation method. Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -69165,832 +67643,780 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrO }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Metric + return v.Facet }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Order + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute 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"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput -} - -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs 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 (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput -func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The events search string. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) -} - -// The events search string. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` +type PowerpackWidgetScatterplotDefinitionXaxis 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"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetScatterplotDefinitionXaxisInput is an input type that accepts PowerpackWidgetScatterplotDefinitionXaxisArgs and PowerpackWidgetScatterplotDefinitionXaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionXaxisInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetScatterplotDefinitionXaxisArgs{...} +type PowerpackWidgetScatterplotDefinitionXaxisInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput + ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetScatterplotDefinitionXaxisArgs 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 (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionXaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { + return i.ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput).ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionXaxisPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionXaxisArgs, PowerpackWidgetScatterplotDefinitionXaxisPtr and PowerpackWidgetScatterplotDefinitionXaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionXaxisPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionXaxisArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionXaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput + ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetScatterplotDefinitionXaxisPtrType PowerpackWidgetScatterplotDefinitionXaxisArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionXaxisPtr(v *PowerpackWidgetScatterplotDefinitionXaxisArgs) PowerpackWidgetScatterplotDefinitionXaxisPtrInput { + return (*powerpackWidgetScatterplotDefinitionXaxisPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionXaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionXaxisOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionXaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionXaxis) *PowerpackWidgetScatterplotDefinitionXaxis { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +// The label of the axis to display on the graph. +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Label }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Max }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Min }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionXaxisPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionXaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) PowerpackWidgetScatterplotDefinitionXaxis { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetScatterplotDefinitionXaxis return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionXaxisOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *bool { if v == nil { return nil } - return v.Aggregator + return v.IncludeZero + }).(pulumi.BoolPtrOutput) +} + +// The label of the axis to display on the graph. +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { + if v == nil { + return nil + } + return v.Label }).(pulumi.StringPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { if v == nil { return nil } - return v.DataSource + return v.Max }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { if v == nil { return nil } - return &v.Name + return v.Min }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { if v == nil { return nil } - return &v.Query + return v.Scale }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` +type PowerpackWidgetScatterplotDefinitionYaxis 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"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetScatterplotDefinitionYaxisInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs and PowerpackWidgetScatterplotDefinitionYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} +type PowerpackWidgetScatterplotDefinitionYaxisInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput + ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +type PowerpackWidgetScatterplotDefinitionYaxisArgs 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 (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { + return i.ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput).ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs, PowerpackWidgetScatterplotDefinitionYaxisPtr and PowerpackWidgetScatterplotDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionYaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput + ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetScatterplotDefinitionYaxisPtrType PowerpackWidgetScatterplotDefinitionYaxisArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionYaxisPtr(v *PowerpackWidgetScatterplotDefinitionYaxisArgs) PowerpackWidgetScatterplotDefinitionYaxisPtrInput { + return (*powerpackWidgetScatterplotDefinitionYaxisPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionYaxisOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionYaxis) *PowerpackWidgetScatterplotDefinitionYaxis { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) } -// The process metric name. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +// The label of the axis to display on the graph. +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) PowerpackWidgetScatterplotDefinitionYaxis { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetScatterplotDefinitionYaxis return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionYaxisOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *bool { +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *bool { if v == nil { return nil } - return v.IsNormalizedCpu + return v.IncludeZero }).(pulumi.BoolPtrOutput) } -// The number of hits to return. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// The process metric name. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { +// The label of the axis to display on the graph. +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { if v == nil { return nil } - return &v.Metric + return v.Label }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { if v == nil { return nil } - return &v.Name + return v.Max }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { if v == nil { return nil } - return v.Sort + return v.Min }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) -} - -// The text to use as a filter. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { if v == nil { return nil } - return v.TextFilter + return v.Scale }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery struct { +type PowerpackWidgetServiceLevelObjectiveDefinition struct { // Additional filters applied to the SLO query. AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. + // The global time target of the widget. + GlobalTimeTarget *string `pulumi:"globalTimeTarget"` + // Whether to show the error budget or not. + ShowErrorBudget *bool `pulumi:"showErrorBudget"` + // The ID of the service level objective used by the widget. SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` + // A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. + TimeWindows []string `pulumi:"timeWindows"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` + // The view mode for the widget. Valid values are `overall`, `component`, `both`. + ViewMode string `pulumi:"viewMode"` + // The type of view to use when displaying the widget. Only `detail` is supported. + ViewType string `pulumi:"viewType"` } -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetServiceLevelObjectiveDefinitionInput is an input type that accepts PowerpackWidgetServiceLevelObjectiveDefinitionArgs and PowerpackWidgetServiceLevelObjectiveDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetServiceLevelObjectiveDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetServiceLevelObjectiveDefinitionArgs{...} +type PowerpackWidgetServiceLevelObjectiveDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput + ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput } -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs struct { +type PowerpackWidgetServiceLevelObjectiveDefinitionArgs struct { // Additional filters applied to the SLO query. AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. + // The global time target of the widget. + GlobalTimeTarget pulumi.StringPtrInput `pulumi:"globalTimeTarget"` + // Whether to show the error budget or not. + ShowErrorBudget pulumi.BoolPtrInput `pulumi:"showErrorBudget"` + // The ID of the service level objective used by the widget. SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` + // A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. + TimeWindows pulumi.StringArrayInput `pulumi:"timeWindows"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` + // The view mode for the widget. Valid values are `overall`, `component`, `both`. + ViewMode pulumi.StringInput `pulumi:"viewMode"` + // The type of view to use when displaying the widget. Only `detail` is supported. + ViewType pulumi.StringInput `pulumi:"viewType"` } -func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { + return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput).ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput is an input type that accepts PowerpackWidgetServiceLevelObjectiveDefinitionArgs, PowerpackWidgetServiceLevelObjectiveDefinitionPtr and PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetServiceLevelObjectiveDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput + ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs +type powerpackWidgetServiceLevelObjectiveDefinitionPtrType PowerpackWidgetServiceLevelObjectiveDefinitionArgs -func PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetServiceLevelObjectiveDefinitionPtr(v *PowerpackWidgetServiceLevelObjectiveDefinitionArgs) PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput { + return (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetServiceLevelObjectiveDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return o.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServiceLevelObjectiveDefinition) *PowerpackWidgetServiceLevelObjectiveDefinition { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) + }).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) } // Additional filters applied to the SLO query. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The global time target of the widget. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) GlobalTimeTarget() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.GlobalTimeTarget }).(pulumi.StringPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +// Whether to show the error budget or not. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ShowErrorBudget() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *bool { return v.ShowErrorBudget }).(pulumi.BoolPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +// The ID of the service level objective used by the widget. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) string { return v.SloId }).(pulumi.StringOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +// A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) TimeWindows() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) []string { return v.TimeWindows }).(pulumi.StringArrayOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// The title of the widget. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +// The view mode for the widget. Valid values are `overall`, `component`, `both`. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ViewMode() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) string { return v.ViewMode }).(pulumi.StringOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { +// The type of view to use when displaying the widget. Only `detail` is supported. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ViewType() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) string { return v.ViewType }).(pulumi.StringOutput) +} + +type PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) Elem() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) PowerpackWidgetServiceLevelObjectiveDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery + var ret PowerpackWidgetServiceLevelObjectiveDefinition return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) } // Additional filters applied to the SLO query. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { if v == nil { return nil } @@ -69998,2526 +68424,3066 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Additi }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// The global time target of the widget. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) GlobalTimeTarget() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { if v == nil { return nil } - return &v.DataSource + return v.GlobalTimeTarget }).(pulumi.StringPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// Whether to show the error budget or not. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ShowErrorBudget() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *bool { if v == nil { return nil } - return v.GroupMode + return v.ShowErrorBudget + }).(pulumi.BoolPtrOutput) +} + +// The ID of the service level objective used by the widget. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { + if v == nil { + return nil + } + return &v.SloId }).(pulumi.StringPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) TimeWindows() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) []string { if v == nil { return nil } - return &v.Measure + return v.TimeWindows + }).(pulumi.StringArrayOutput) +} + +// The title of the widget. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { + if v == nil { + return nil + } + return v.Title }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { if v == nil { return nil } - return v.Name + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { if v == nil { return nil } - return &v.SloId + return v.TitleSize }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// The view mode for the widget. Valid values are `overall`, `component`, `both`. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ViewMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { if v == nil { return nil } - return v.SloQueryType + return &v.ViewMode }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// The type of view to use when displaying the widget. Only `detail` is supported. +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ViewType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { + if v == nil { + return nil + } + return &v.ViewType + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryInput` via: +type PowerpackWidgetServicemapDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetServicemapDefinitionCustomLink `pulumi:"customLinks"` + // Your environment and primary tag (or `*` if enabled for your account). + Filters []string `pulumi:"filters"` + // The ID of the service to map. + Service string `pulumi:"service"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` +} + +// PowerpackWidgetServicemapDefinitionInput is an input type that accepts PowerpackWidgetServicemapDefinitionArgs and PowerpackWidgetServicemapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryInput interface { +// PowerpackWidgetServicemapDefinitionArgs{...} +type PowerpackWidgetServicemapDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput + ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput + ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetServicemapDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetServicemapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // Your environment and primary tag (or `*` if enabled for your account). + Filters pulumi.StringArrayInput `pulumi:"filters"` + // The ID of the service to map. + Service pulumi.StringInput `pulumi:"service"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetServicemapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { + return i.ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { + return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput).ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetServicemapDefinitionPtrInput is an input type that accepts PowerpackWidgetServicemapDefinitionArgs, PowerpackWidgetServicemapDefinitionPtr and PowerpackWidgetServicemapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetServicemapDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetServicemapDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput + ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs +type powerpackWidgetServicemapDefinitionPtrType PowerpackWidgetServicemapDefinitionArgs -func PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetServicemapDefinitionPtr(v *PowerpackWidgetServicemapDefinitionArgs) PowerpackWidgetServicemapDefinitionPtrInput { + return (*powerpackWidgetServicemapDefinitionPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetServicemapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { + return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetServicemapDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetServicemapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { + return o.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServicemapDefinition) *PowerpackWidgetServicemapDefinition { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetServicemapDefinitionPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetServicemapDefinitionOutput) CustomLinks() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) []PowerpackWidgetServicemapDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) +// Your environment and primary tag (or `*` if enabled for your account). +func (o PowerpackWidgetServicemapDefinitionOutput) Filters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) []string { return v.Filters }).(pulumi.StringArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) +// The ID of the service to map. +func (o PowerpackWidgetServicemapDefinitionOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) string { return v.Service }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) +// The title of the widget. +func (o PowerpackWidgetServicemapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetServicemapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetServicemapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +type PowerpackWidgetServicemapDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetServicemapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) PowerpackWidgetQueryTableDefinitionRequestRumQuery { +func (o PowerpackWidgetServicemapDefinitionPtrOutput) Elem() PowerpackWidgetServicemapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) PowerpackWidgetServicemapDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestRumQuery + var ret PowerpackWidgetServicemapDefinition return ret - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetServicemapDefinitionOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetServicemapDefinitionPtrOutput) CustomLinks() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) []PowerpackWidgetServicemapDefinitionCustomLink { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { +// Your environment and primary tag (or `*` if enabled for your account). +func (o PowerpackWidgetServicemapDefinitionPtrOutput) Filters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) []string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) + return v.Filters + }).(pulumi.StringArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { +// The ID of the service to map. +func (o PowerpackWidgetServicemapDefinitionPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { if v == nil { return nil } - return &v.Index + return &v.Service }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { +// The title of the widget. +func (o PowerpackWidgetServicemapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) + return v.Title + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetServicemapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { if v == nil { return nil } - return v.SearchQuery + return v.TitleAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery 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"` +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetServicemapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput` via: +type PowerpackWidgetServicemapDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` +} + +// PowerpackWidgetServicemapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetServicemapDefinitionCustomLinkArgs and PowerpackWidgetServicemapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionCustomLinkInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetServicemapDefinitionCustomLinkArgs{...} +type PowerpackWidgetServicemapDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput + ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs 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"` +type PowerpackWidgetServicemapDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetServicemapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetServicemapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetServicemapDefinitionCustomLinkArray and PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionCustomLinkArrayInput` via: +// +// PowerpackWidgetServicemapDefinitionCustomLinkArray{ PowerpackWidgetServicemapDefinitionCustomLinkArgs{...} } +type PowerpackWidgetServicemapDefinitionCustomLinkArrayInput interface { + pulumi.Input + + ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +type PowerpackWidgetServicemapDefinitionCustomLinkArray []PowerpackWidgetServicemapDefinitionCustomLinkInput + +func (PowerpackWidgetServicemapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput` via: +func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) +} + +type PowerpackWidgetServicemapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetServicemapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() +} + +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { + return o +} + +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { + return o +} + +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +} + +// The label for the custom link URL. +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// The URL of the custom link. +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +} + +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() +} + +func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return o +} + +func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return o +} + +func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetServicemapDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetServicemapDefinitionCustomLink { + return vs[0].([]PowerpackWidgetServicemapDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetServicemapDefinitionCustomLinkOutput) +} + +type PowerpackWidgetSloListDefinition struct { + // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. + Request PowerpackWidgetSloListDefinitionRequest `pulumi:"request"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize *string `pulumi:"titleSize"` +} + +// PowerpackWidgetSloListDefinitionInput is an input type that accepts PowerpackWidgetSloListDefinitionArgs and PowerpackWidgetSloListDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetSloListDefinitionArgs{...} +type PowerpackWidgetSloListDefinitionInput interface { + pulumi.Input + + ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput + ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionOutput +} + +type PowerpackWidgetSloListDefinitionArgs struct { + // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. + Request PowerpackWidgetSloListDefinitionRequestInput `pulumi:"request"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title (defaults to 16). + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +} + +func (PowerpackWidgetSloListDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() +} + +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { + return i.ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput) +} + +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput).ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx) +} + +// PowerpackWidgetSloListDefinitionPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionArgs, PowerpackWidgetSloListDefinitionPtr and PowerpackWidgetSloListDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionPtrInput` via: +// +// PowerpackWidgetSloListDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetSloListDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput + ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetSloListDefinitionPtrType PowerpackWidgetSloListDefinitionArgs -func PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetSloListDefinitionPtr(v *PowerpackWidgetSloListDefinitionArgs) PowerpackWidgetSloListDefinitionPtrInput { + return (*powerpackWidgetSloListDefinitionPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSloListDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSloListDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { + return o.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinition) *PowerpackWidgetSloListDefinition { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSloListDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. +func (o PowerpackWidgetSloListDefinitionOutput) Request() PowerpackWidgetSloListDefinitionRequestOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinition) PowerpackWidgetSloListDefinitionRequest { return v.Request }).(PowerpackWidgetSloListDefinitionRequestOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The title of the widget. +func (o PowerpackWidgetSloListDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetSloListDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetSloListDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetSloListDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSloListDefinitionPtrOutput) Elem() PowerpackWidgetSloListDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) PowerpackWidgetSloListDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetSloListDefinition return ret - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetSloListDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { +// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. +func (o PowerpackWidgetSloListDefinitionPtrOutput) Request() PowerpackWidgetSloListDefinitionRequestPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *PowerpackWidgetSloListDefinitionRequest { if v == nil { return nil } - return &v.Aggregation + return &v.Request + }).(PowerpackWidgetSloListDefinitionRequestPtrOutput) +} + +// The title of the widget. +func (o PowerpackWidgetSloListDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *string { + if v == nil { + return nil + } + return v.Title }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetSloListDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *string { if v == nil { return nil } - return v.Facet + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *int { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetSloListDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.TitleSize + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` +type PowerpackWidgetSloListDefinitionRequest struct { + // Updated SLO List widget. + Query PowerpackWidgetSloListDefinitionRequestQuery `pulumi:"query"` + // The request type for the SLO List request. Valid values are `sloList`. + RequestType string `pulumi:"requestType"` } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetSloListDefinitionRequestInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestArgs and PowerpackWidgetSloListDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetSloListDefinitionRequestArgs{...} +type PowerpackWidgetSloListDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput + ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type PowerpackWidgetSloListDefinitionRequestArgs struct { + // Updated SLO List widget. + Query PowerpackWidgetSloListDefinitionRequestQueryInput `pulumi:"query"` + // The request type for the SLO List request. Valid values are `sloList`. + RequestType pulumi.StringInput `pulumi:"requestType"` } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestOutput) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput` via: +func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestOutput).ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx) +} + +// PowerpackWidgetSloListDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestArgs, PowerpackWidgetSloListDefinitionRequestPtr and PowerpackWidgetSloListDefinitionRequestPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetSloListDefinitionRequestArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSloListDefinitionRequestPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput + ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput +type powerpackWidgetSloListDefinitionRequestPtrType PowerpackWidgetSloListDefinitionRequestArgs -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func PowerpackWidgetSloListDefinitionRequestPtr(v *PowerpackWidgetSloListDefinitionRequestArgs) PowerpackWidgetSloListDefinitionRequestPtrInput { + return (*powerpackWidgetSloListDefinitionRequestPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSloListDefinitionRequestPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) +func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { + return o.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) } -// The maximum number of items in the group. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequest) *PowerpackWidgetSloListDefinitionRequest { + return &v + }).(PowerpackWidgetSloListDefinitionRequestPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +// Updated SLO List widget. +func (o PowerpackWidgetSloListDefinitionRequestOutput) Query() PowerpackWidgetSloListDefinitionRequestQueryOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequestQuery { + return v.Query + }).(PowerpackWidgetSloListDefinitionRequestQueryOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The request type for the SLO List request. Valid values are `sloList`. +func (o PowerpackWidgetSloListDefinitionRequestOutput) RequestType() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequest) string { return v.RequestType }).(pulumi.StringOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequest { + if v != nil { + return *v + } + var ret PowerpackWidgetSloListDefinitionRequest + return ret + }).(PowerpackWidgetSloListDefinitionRequestOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +// Updated SLO List widget. +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) Query() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) *PowerpackWidgetSloListDefinitionRequestQuery { + if v == nil { + return nil + } + return &v.Query + }).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput` via: +// The request type for the SLO List request. Valid values are `sloList`. +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) RequestType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) *string { + if v == nil { + return nil + } + return &v.RequestType + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetSloListDefinitionRequestQuery struct { + // Maximum number of results to display in the table. Defaults to `100`. + Limit *int `pulumi:"limit"` + // Widget query. + QueryString string `pulumi:"queryString"` + // The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. + Sort *PowerpackWidgetSloListDefinitionRequestQuerySort `pulumi:"sort"` +} + +// PowerpackWidgetSloListDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQueryArgs and PowerpackWidgetSloListDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} +type PowerpackWidgetSloListDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput + ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetSloListDefinitionRequestQueryArgs struct { + // Maximum number of results to display in the table. Defaults to `100`. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Widget query. + QueryString pulumi.StringInput `pulumi:"queryString"` + // The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. + Sort PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput).ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSloListDefinitionRequestQueryPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQueryArgs, PowerpackWidgetSloListDefinitionRequestQueryPtr and PowerpackWidgetSloListDefinitionRequestQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSloListDefinitionRequestQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput + ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetSloListDefinitionRequestQueryPtrType PowerpackWidgetSloListDefinitionRequestQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSloListDefinitionRequestQueryPtr(v *PowerpackWidgetSloListDefinitionRequestQueryArgs) PowerpackWidgetSloListDefinitionRequestQueryPtrInput { + return (*powerpackWidgetSloListDefinitionRequestQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSloListDefinitionRequestQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSloListDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return o.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequestQuery) *PowerpackWidgetSloListDefinitionRequestQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// Maximum number of results to display in the table. Defaults to `100`. +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Widget query. +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) QueryString() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuery) string { return v.QueryString }).(pulumi.StringOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) Sort() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuery) *PowerpackWidgetSloListDefinitionRequestQuerySort { + return v.Sort + }).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSloListDefinitionRequestQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) PowerpackWidgetSloListDefinitionRequestQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetSloListDefinitionRequestQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSloListDefinitionRequestQueryOutput) } - -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { + +// Maximum number of results to display in the table. Defaults to `100`. +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) *int { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { +// Widget query. +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) QueryString() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) *string { if v == nil { return nil } - return v.Facet + return &v.QueryString }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { +// The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) Sort() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) *PowerpackWidgetSloListDefinitionRequestQuerySort { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) + return v.Sort + }).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute 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"` +type PowerpackWidgetSloListDefinitionRequestQuerySort struct { + // The facet path for the column. + Column string `pulumi:"column"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetSloListDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQuerySortArgs and PowerpackWidgetSloListDefinitionRequestQuerySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQuerySortInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} +type PowerpackWidgetSloListDefinitionRequestQuerySortInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs 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"` +type PowerpackWidgetSloListDefinitionRequestQuerySortArgs struct { + // The facet path for the column. + Column pulumi.StringInput `pulumi:"column"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput).ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx) +} + +// PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQuerySortArgs, PowerpackWidgetSloListDefinitionRequestQuerySortPtr and PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput +type powerpackWidgetSloListDefinitionRequestQuerySortPtrType PowerpackWidgetSloListDefinitionRequestQuerySortArgs -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetSloListDefinitionRequestQuerySortPtr(v *PowerpackWidgetSloListDefinitionRequestQuerySortArgs) PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput { + return (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return o.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequestQuerySort) *PowerpackWidgetSloListDefinitionRequestQuerySort { + return &v + }).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The facet path for the column. +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) Column() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuerySort) string { return v.Column }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuerySort) string { return v.Order }).(pulumi.StringOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) PowerpackWidgetSloListDefinitionRequestQuerySort { + if v != nil { + return *v + } + var ret PowerpackWidgetSloListDefinitionRequestQuerySort + return ret + }).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// The facet path for the column. +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Column() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) *string { + if v == nil { + return nil + } + return &v.Column + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput` via: +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetSunburstDefinition struct { + // Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. + CustomLinks []PowerpackWidgetSunburstDefinitionCustomLink `pulumi:"customLinks"` + // Whether or not to show the total value in the widget. + HideTotal *bool `pulumi:"hideTotal"` + // Used to configure the inline legend. Cannot be used in conjunction with legend*table. + LegendInline *PowerpackWidgetSunburstDefinitionLegendInline `pulumi:"legendInline"` + // Used to configure the table legend. Cannot be used in conjunction with legend*inline. + LegendTable *PowerpackWidgetSunburstDefinitionLegendTable `pulumi:"legendTable"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan *string `pulumi:"liveSpan"` + // Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). + Requests []PowerpackWidgetSunburstDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` + // The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. + TitleAlign *string `pulumi:"titleAlign"` + // The size of the widget's title. Default is 16. + TitleSize *string `pulumi:"titleSize"` +} + +// PowerpackWidgetSunburstDefinitionInput is an input type that accepts PowerpackWidgetSunburstDefinitionArgs and PowerpackWidgetSunburstDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetSunburstDefinitionArgs{...} +type PowerpackWidgetSunburstDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput + ToPowerpackWidgetSunburstDefinitionOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetSunburstDefinitionArgs struct { + // Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. + CustomLinks PowerpackWidgetSunburstDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // Whether or not to show the total value in the widget. + HideTotal pulumi.BoolPtrInput `pulumi:"hideTotal"` + // Used to configure the inline legend. Cannot be used in conjunction with legend*table. + LegendInline PowerpackWidgetSunburstDefinitionLegendInlinePtrInput `pulumi:"legendInline"` + // Used to configure the table legend. Cannot be used in conjunction with legend*inline. + LegendTable PowerpackWidgetSunburstDefinitionLegendTablePtrInput `pulumi:"legendTable"` + // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. + LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). + Requests PowerpackWidgetSunburstDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` + // The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. + TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` + // The size of the widget's title. Default is 16. + TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { + return i.ToPowerpackWidgetSunburstDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput).ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionArgs, PowerpackWidgetSunburstDefinitionPtr and PowerpackWidgetSunburstDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetSunburstDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput + ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs +type powerpackWidgetSunburstDefinitionPtrType PowerpackWidgetSunburstDefinitionArgs -func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionPtr(v *PowerpackWidgetSunburstDefinitionArgs) PowerpackWidgetSunburstDefinitionPtrInput { + return (*powerpackWidgetSunburstDefinitionPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinition { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) +// Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. +func (o PowerpackWidgetSunburstDefinitionOutput) CustomLinks() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) +// Whether or not to show the total value in the widget. +func (o PowerpackWidgetSunburstDefinitionOutput) HideTotal() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *bool { return v.HideTotal }).(pulumi.BoolPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +// Used to configure the inline legend. Cannot be used in conjunction with legend*table. +func (o PowerpackWidgetSunburstDefinitionOutput) LegendInline() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendInline { + return v.LegendInline + }).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) +// Used to configure the table legend. Cannot be used in conjunction with legend*inline. +func (o PowerpackWidgetSunburstDefinitionOutput) LegendTable() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendTable { + return v.LegendTable + }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetSunburstDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +// Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). +func (o PowerpackWidgetSunburstDefinitionOutput) Requests() PowerpackWidgetSunburstDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionRequest { + return v.Requests + }).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetSunburstDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { +// The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetSunburstDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title. Default is 16. +func (o PowerpackWidgetSunburstDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionPtrOutput) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionPtrOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { +func (o PowerpackWidgetSunburstDefinitionPtrOutput) Elem() PowerpackWidgetSunburstDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) PowerpackWidgetSunburstDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQuery + var ret PowerpackWidgetSunburstDefinition return ret - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetSunburstDefinitionOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { +// Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) CustomLinks() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionCustomLink { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { +// Whether or not to show the total value in the widget. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) HideTotal() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *bool { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) + return v.HideTotal + }).(pulumi.BoolPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { +// Used to configure the inline legend. Cannot be used in conjunction with legend*table. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) LegendInline() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendInline { if v == nil { return nil } - return &v.Index - }).(pulumi.StringPtrOutput) + return v.LegendInline + }).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { +// Used to configure the table legend. Cannot be used in conjunction with legend*inline. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) LegendTable() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendTable { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return v.LegendTable + }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { +// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { if v == nil { return nil } - return v.SearchQuery + return v.LiveSpan }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery 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"` +// Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). +func (o PowerpackWidgetSunburstDefinitionPtrOutput) Requests() PowerpackWidgetSunburstDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput interface { - pulumi.Input +// The title of the widget. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput +// The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { + if v == nil { + return nil + } + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs 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"` +// The size of the widget's title. Default is 16. +func (o PowerpackWidgetSunburstDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionCustomLink struct { + // The flag for toggling context menu link visibility. + IsHidden *bool `pulumi:"isHidden"` + // The label for the custom link URL. + Label *string `pulumi:"label"` + // The URL of the custom link. + Link *string `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel *string `pulumi:"overrideLabel"` } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +// PowerpackWidgetSunburstDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetSunburstDefinitionCustomLinkArgs and PowerpackWidgetSunburstDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionCustomLinkInput` via: +// +// PowerpackWidgetSunburstDefinitionCustomLinkArgs{...} +type PowerpackWidgetSunburstDefinitionCustomLinkInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput + ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) +type PowerpackWidgetSunburstDefinitionCustomLinkArgs struct { + // The flag for toggling context menu link visibility. + IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` + // The label for the custom link URL. + Label pulumi.StringPtrInput `pulumi:"label"` + // The URL of the custom link. + Link pulumi.StringPtrInput `pulumi:"link"` + // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. + OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (PowerpackWidgetSunburstDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionCustomLinkArgs) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(context.Background()) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: +func (i PowerpackWidgetSunburstDefinitionCustomLinkArgs) ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionCustomLinkOutput) +} + +// PowerpackWidgetSunburstDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionCustomLinkArray and PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionCustomLinkArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionCustomLinkArray{ PowerpackWidgetSunburstDefinitionCustomLinkArgs{...} } +type PowerpackWidgetSunburstDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput + ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput } -type powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionCustomLinkArray []PowerpackWidgetSunburstDefinitionCustomLinkInput -func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The label for the custom link URL. +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The URL of the custom link. +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) +func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionCustomLink { + return vs[0].([]PowerpackWidgetSunburstDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionCustomLinkOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionLegendInline struct { + // Whether to hide the percentages of the groups. + HidePercent *bool `pulumi:"hidePercent"` + // Whether to hide the values of the groups. + HideValue *bool `pulumi:"hideValue"` + // The type of legend (inline or automatic). Valid values are `inline`, `automatic`. + Type string `pulumi:"type"` } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetSunburstDefinitionLegendInlineInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendInlineArgs and PowerpackWidgetSunburstDefinitionLegendInlineOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendInlineInput` via: +// +// PowerpackWidgetSunburstDefinitionLegendInlineArgs{...} +type PowerpackWidgetSunburstDefinitionLegendInlineInput interface { + pulumi.Input -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) + ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput + ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +type PowerpackWidgetSunburstDefinitionLegendInlineArgs struct { + // Whether to hide the percentages of the groups. + HidePercent pulumi.BoolPtrInput `pulumi:"hidePercent"` + // Whether to hide the values of the groups. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // The type of legend (inline or automatic). Valid values are `inline`, `automatic`. + Type pulumi.StringInput `pulumi:"type"` } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput +func (PowerpackWidgetSunburstDefinitionLegendInlineArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Background()) } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput).ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionLegendInlinePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendInlineArgs, PowerpackWidgetSunburstDefinitionLegendInlinePtr and PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendInlinePtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionLegendInlineArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionLegendInlinePtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput + ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput +type powerpackWidgetSunburstDefinitionLegendInlinePtrType PowerpackWidgetSunburstDefinitionLegendInlineArgs -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionLegendInlinePtr(v *PowerpackWidgetSunburstDefinitionLegendInlineArgs) PowerpackWidgetSunburstDefinitionLegendInlinePtrInput { + return (*powerpackWidgetSunburstDefinitionLegendInlinePtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionLegendInlinePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionLegendInlineOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionLegendInlineOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) } -// The maximum number of items in the group. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionLegendInline) *PowerpackWidgetSunburstDefinitionLegendInline { + return &v + }).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// Whether to hide the percentages of the groups. +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) HidePercent() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendInline) *bool { return v.HidePercent }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// Whether to hide the values of the groups. +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendInline) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// The type of legend (inline or automatic). Valid values are `inline`, `automatic`. +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendInline) string { return v.Type }).(pulumi.StringOutput) +} + +type PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendInlineOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) PowerpackWidgetSunburstDefinitionLegendInline { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionLegendInline + return ret + }).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) +// Whether to hide the percentages of the groups. +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) HidePercent() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *bool { + if v == nil { + return nil + } + return v.HidePercent + }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +// Whether to hide the values of the groups. +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *bool { + if v == nil { + return nil + } + return v.HideValue + }).(pulumi.BoolPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// The type of legend (inline or automatic). Valid values are `inline`, `automatic`. +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionLegendTable struct { + // The type of legend (table or none). Valid values are `table`, `none`. + Type string `pulumi:"type"` +} + +// PowerpackWidgetSunburstDefinitionLegendTableInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendTableArgs and PowerpackWidgetSunburstDefinitionLegendTableOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendTableInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionLegendTableArgs{...} +type PowerpackWidgetSunburstDefinitionLegendTableInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput + ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetSunburstDefinitionLegendTableArgs struct { + // The type of legend (table or none). Valid values are `table`, `none`. + Type pulumi.StringInput `pulumi:"type"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionLegendTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput).ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionLegendTablePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendTableArgs, PowerpackWidgetSunburstDefinitionLegendTablePtr and PowerpackWidgetSunburstDefinitionLegendTablePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendTablePtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionLegendTableArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionLegendTablePtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput + ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput } -type powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionLegendTablePtrType PowerpackWidgetSunburstDefinitionLegendTableArgs -func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionLegendTablePtr(v *PowerpackWidgetSunburstDefinitionLegendTableArgs) PowerpackWidgetSunburstDefinitionLegendTablePtrInput { + return (*powerpackWidgetSunburstDefinitionLegendTablePtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionLegendTablePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionLegendTableOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionLegendTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionLegendTable) *PowerpackWidgetSunburstDefinitionLegendTable { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The type of legend (table or none). Valid values are `table`, `none`. +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendTable) string { return v.Type }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionLegendTablePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendTableOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendTable) PowerpackWidgetSunburstDefinitionLegendTable { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionLegendTable return ret - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetSunburstDefinitionLegendTableOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// The type of legend (table or none). Valid values are `table`, `none`. +func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendTable) *string { if v == nil { return nil } - return &v.Order + return &v.Type }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute 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"` +type PowerpackWidgetSunburstDefinitionRequest struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetSunburstDefinitionRequestApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery *PowerpackWidgetSunburstDefinitionRequestAuditQuery `pulumi:"auditQuery"` + Formulas []PowerpackWidgetSunburstDefinitionRequestFormula `pulumi:"formulas"` + // The query to use for this widget. + LogQuery *PowerpackWidgetSunburstDefinitionRequestLogQuery `pulumi:"logQuery"` + // The query to use for this widget. + NetworkQuery *PowerpackWidgetSunburstDefinitionRequestNetworkQuery `pulumi:"networkQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetSunburstDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetSunburstDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetSunburstDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQuery `pulumi:"securityQuery"` + // Define style for the widget's request. + Style *PowerpackWidgetSunburstDefinitionRequestStyle `pulumi:"style"` } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestArgs and PowerpackWidgetSunburstDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestArgs{...} +type PowerpackWidgetSunburstDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput + ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs 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"` +type PowerpackWidgetSunburstDefinitionRequestArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` + Formulas PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The query to use for this widget. + LogQuery PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The query to use for this widget. + NetworkQuery PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput `pulumi:"networkQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetSunburstDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` + // Define style for the widget's request. + Style PowerpackWidgetSunburstDefinitionRequestStylePtrInput `pulumi:"style"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestOutput) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestArray and PowerpackWidgetSunburstDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestArray{ PowerpackWidgetSunburstDefinitionRequestArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput +type PowerpackWidgetSunburstDefinitionRequestArray []PowerpackWidgetSunburstDefinitionRequestInput -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) ApmQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) AuditQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { + return v.AuditQuery + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestOutput) Formulas() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) LogQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) NetworkQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestNetworkQuery { + return v.NetworkQuery + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) ProcessQuery() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) +} + +// The metric query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +} + +func (o PowerpackWidgetSunburstDefinitionRequestOutput) Queries() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) RumQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) SecurityQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) +} + +// Define style for the widget's request. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) Style() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestStyle { + return v.Style + }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) +func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequest { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestOutput) } -type PowerpackWidgetQueryValueDefinition struct { - // A Boolean indicating whether to automatically scale the tile. - Autoscale *bool `pulumi:"autoscale"` - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetQueryValueDefinitionCustomLink `pulumi:"customLinks"` - // The unit for the value displayed in the widget. - CustomUnit *string `pulumi:"customUnit"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // The precision to use when displaying the tile. - Precision *int `pulumi:"precision"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). - Requests []PowerpackWidgetQueryValueDefinitionRequest `pulumi:"requests"` - // The alignment of the widget's text. Valid values are `center`, `left`, `right`. - TextAlign *string `pulumi:"textAlign"` - // Set a timeseries on the widget background. - TimeseriesBackground *PowerpackWidgetQueryValueDefinitionTimeseriesBackground `pulumi:"timeseriesBackground"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` +type PowerpackWidgetSunburstDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetQueryValueDefinitionInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs and PowerpackWidgetQueryValueDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionArgs{...} -type PowerpackWidgetQueryValueDefinitionInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput - ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput } -type PowerpackWidgetQueryValueDefinitionArgs struct { - // A Boolean indicating whether to automatically scale the tile. - Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The unit for the value displayed in the widget. - CustomUnit pulumi.StringPtrInput `pulumi:"customUnit"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // The precision to use when displaying the tile. - Precision pulumi.IntPtrInput `pulumi:"precision"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). - Requests PowerpackWidgetQueryValueDefinitionRequestArrayInput `pulumi:"requests"` - // The alignment of the widget's text. Valid values are `center`, `left`, `right`. - TextAlign pulumi.StringPtrInput `pulumi:"textAlign"` - // Set a timeseries on the widget background. - TimeseriesBackground PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput `pulumi:"timeseriesBackground"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` +type PowerpackWidgetSunburstDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryValueDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { - return i.ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput).ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs, PowerpackWidgetQueryValueDefinitionPtr and PowerpackWidgetQueryValueDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionArgs{...} +// PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput - ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionPtrType PowerpackWidgetQueryValueDefinitionArgs +type powerpackWidgetSunburstDefinitionRequestApmQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryArgs -func PowerpackWidgetQueryValueDefinitionPtr(v *PowerpackWidgetQueryValueDefinitionArgs) PowerpackWidgetQueryValueDefinitionPtrInput { - return (*powerpackWidgetQueryValueDefinitionPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestApmQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinition { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionPtrOutput) -} - -// A Boolean indicating whether to automatically scale the tile. -func (o PowerpackWidgetQueryValueDefinitionOutput) Autoscale() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionOutput) CustomLinks() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) } -// The unit for the value displayed in the widget. -func (o PowerpackWidgetQueryValueDefinitionOutput) CustomUnit() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.CustomUnit }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetQueryValueDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) } -// The precision to use when displaying the tile. -func (o PowerpackWidgetQueryValueDefinitionOutput) Precision() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *int { return v.Precision }).(pulumi.IntPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). -func (o PowerpackWidgetQueryValueDefinitionOutput) Requests() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionRequest { - return v.Requests - }).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) } -// The alignment of the widget's text. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetQueryValueDefinitionOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.TextAlign }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -// Set a timeseries on the widget background. -func (o PowerpackWidgetQueryValueDefinitionOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { - return v.TimeseriesBackground - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) -} +type PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -// The title of the widget. -func (o PowerpackWidgetQueryValueDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetQueryValueDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetQueryValueDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o } -type PowerpackWidgetQueryValueDefinitionPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) PowerpackWidgetSunburstDefinitionRequestApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestApmQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) } -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { - return o +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { - return o +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) } -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) PowerpackWidgetQueryValueDefinition { - if v != nil { - return *v +// The name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetQueryValueDefinition - return ret - }).(PowerpackWidgetQueryValueDefinitionOutput) + return &v.Index + }).(pulumi.StringPtrOutput) } -// A Boolean indicating whether to automatically scale the tile. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Autoscale() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *bool { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute { if v == nil { return nil } - return v.Autoscale - }).(pulumi.BoolPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) CustomLinks() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionCustomLink { +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) *string { if v == nil { return nil } - return v.CustomLinks - }).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery 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"` +} + +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput +} + +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput +} + +type powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs + +func PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType)(v) +} + +func (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -// The unit for the value displayed in the widget. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) CustomUnit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { - if v == nil { - return nil - } - return v.CustomUnit - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The precision to use when displaying the tile. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Precision() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *int { - if v == nil { - return nil - } - return v.Precision - }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery` or `processQuery` is required within the `request` block). -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Requests() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) []PowerpackWidgetQueryValueDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The alignment of the widget's text. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TextAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { - if v == nil { - return nil - } - return v.TextAlign - }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -// Set a timeseries on the widget background. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { - if v == nil { - return nil +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { + if v != nil { + return *v } - return v.TimeseriesBackground - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) + var ret PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.Title + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.TitleAlign + return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *int { if v == nil { return nil } - return v.TitleSize - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryValueDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArgs and PowerpackWidgetQueryValueDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} -type PowerpackWidgetQueryValueDefinitionCustomLinkInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput - ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArray and PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionCustomLinkArray{ PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} } -type PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput - ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionCustomLinkArray []PowerpackWidgetQueryValueDefinitionCustomLinkInput +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The URL of the custom link. -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionCustomLink { - return vs[0].([]PowerpackWidgetQueryValueDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionCustomLinkOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) } -type PowerpackWidgetQueryValueDefinitionRequest struct { - // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The query to use for this widget. - ApmQuery *PowerpackWidgetQueryValueDefinitionRequestApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery *PowerpackWidgetQueryValueDefinitionRequestAuditQuery `pulumi:"auditQuery"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetQueryValueDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` - Formulas []PowerpackWidgetQueryValueDefinitionRequestFormula `pulumi:"formulas"` - // The query to use for this widget. - LogQuery *PowerpackWidgetQueryValueDefinitionRequestLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetQueryValueDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetQueryValueDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetQueryValueDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery `pulumi:"securityQuery"` +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetQueryValueDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArgs and PowerpackWidgetQueryValueDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput - ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestArgs struct { - // The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The query to use for this widget. - ApmQuery PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` - Formulas PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The query to use for this widget. - LogQuery PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArray and PowerpackWidgetQueryValueDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestArrayInput` via: +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestArray{ PowerpackWidgetQueryValueDefinitionRequestArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestArray []PowerpackWidgetQueryValueDefinitionRequestInput +type powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs -func (PowerpackWidgetQueryValueDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -// The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) AuditQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { - return v.AuditQuery - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ConditionalFormats() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Formulas() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ProcessQuery() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o } -// The metric query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o } -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Queries() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute 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"` } -func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput +} + +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) +} + +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput +} + +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequest { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQuery struct { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestAuditQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs +type powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) PowerpackWidgetQueryValueDefinitionRequestApmQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) PowerpackWidgetSunburstDefinitionRequestAuditQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestApmQuery + var ret PowerpackWidgetSunburstDefinitionRequestAuditQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *string { if v == nil { return nil } @@ -72526,18 +71492,18 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Index() pul } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *string { if v == nil { return nil } @@ -72545,7 +71511,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -72554,18 +71520,18 @@ type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -72574,125 +71540,125 @@ type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -72701,8 +71667,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -72711,8 +71677,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *int { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *int { if v == nil { return nil } @@ -72720,124 +71686,124 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -72846,18 +71812,18 @@ type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -72866,127 +71832,127 @@ type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs stru Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -72995,8 +71961,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOut } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -73005,8 +71971,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOut } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -73014,7 +71980,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOut }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -73023,18 +71989,18 @@ type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -73043,1889 +72009,1718 @@ type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetSunburstDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetSunburstDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetSunburstDefinitionRequestFormulaStyle `pulumi:"style"` } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaArgs and PowerpackWidgetSunburstDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() + ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Background()) +type PowerpackWidgetSunburstDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) +func (PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaOutput) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaArray and PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput` via: // -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaArray{ PowerpackWidgetSunburstDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput -} - -type powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType)(v) -} - -func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) + ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) -} +type PowerpackWidgetSunburstDefinitionRequestFormulaArray []PowerpackWidgetSunburstDefinitionRequestFormulaInput -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) +func (PowerpackWidgetSunburstDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() -} +type PowerpackWidgetSunburstDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return o +func (PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestAuditQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *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 PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery 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"` -} - -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs 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 (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput -} - -type powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { - return o +// An expression alias. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The options for limiting results returned. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Limit() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Styling options for widget formulas. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Style() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *PowerpackWidgetSunburstDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestFormulaOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput` via: +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) +} + +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput interface { - pulumi.Input +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { + return o +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { + return o } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +// Setting this to True hides values. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return o +// Displays an image as the background. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return o +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +// A value for the comparator. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetSunburstDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order *string `pulumi:"order"` } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs and PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs, PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtr and PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs -func PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The number of results to return. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) PowerpackWidgetSunburstDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionRequestFormulaLimit return ret - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { +// The number of results to return. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *int { if v == nil { return nil } - return v.Facet - }).(pulumi.StringPtrOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *string { if v == nil { return nil } - return &v.Order + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute 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"` +type PowerpackWidgetSunburstDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs and PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs 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"` +type PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs, PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr and PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput +type powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *PowerpackWidgetSunburstDefinitionRequestFormulaStyle { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// Index specifying which color to use within the palette. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) PowerpackWidgetSunburstDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestFormulaStyle + return ret + }).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput` via: +// Index specifying which color to use within the palette. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *int { + if v == nil { + return nil + } + return v.PaletteIndex + }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetSunburstDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +type PowerpackWidgetSunburstDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray and PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput` via: +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray{ PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput +type powerpackWidgetSunburstDefinitionRequestLogQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryArgs -func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestLogQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { return o } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) } -// Setting this to True hides values. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) } -// Displays an image as the background. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +} + +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o } -// Defines the displayed timeframe. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o } -// A value for the comparator. -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) PowerpackWidgetSunburstDefinitionRequestLogQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestLogQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { - return o +// The name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { - return o +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestConditionalFormat { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle `pulumi:"style"` +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery 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"` } -// PowerpackWidgetQueryValueDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaInput` via: +// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestFormulaInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArray and PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput` via: +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestFormulaArray []PowerpackWidgetQueryValueDefinitionRequestFormulaInput +type powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs -func (PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { - return o +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { return o } -// An expression alias. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { + return o } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) } -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The options for limiting results returned. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Limit() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Styling options for widget formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Style() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` -} - -// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +} -func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput interface { + pulumi.Input -func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return o -} +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return o +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -// Setting this to True hides values. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// Displays an image as the background. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return o } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return o } -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs +type powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestFormulaLimit + var ret PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *int { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Count - }).(pulumi.IntPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *string { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Order + return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput +type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute 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"` } -type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` -} +// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput interface { + pulumi.Input -func (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() + ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs 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 (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) +func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput -} - -type powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs - -func PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType)(v) + ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput } -func (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() -} +type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { - return o +type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { + return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestFormulaStyle - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) -} - -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *int { - if v == nil { - return nil - } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQuery struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs +type powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) PowerpackWidgetQueryValueDefinitionRequestLogQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestLogQuery + var ret PowerpackWidgetSunburstDefinitionRequestNetworkQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { if v == nil { return nil } @@ -74934,18 +73729,18 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) Index() pul } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { if v == nil { return nil } @@ -74953,7 +73748,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -74962,18 +73757,18 @@ type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -74982,125 +73777,125 @@ type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { if v == nil { return nil } @@ -75109,8 +73904,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { if v == nil { return nil } @@ -75119,8 +73914,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *int { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *int { if v == nil { return nil } @@ -75128,124 +73923,124 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -75254,18 +74049,18 @@ type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -75274,127 +74069,127 @@ type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs stru Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -75403,8 +74198,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOut } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -75413,8 +74208,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOut } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -75422,7 +74217,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOut }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -75431,18 +74226,18 @@ type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs struct { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -75451,93 +74246,93 @@ type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) } -type PowerpackWidgetQueryValueDefinitionRequestProcessQuery struct { +type PowerpackWidgetSunburstDefinitionRequestProcessQuery struct { // A list of processes. FilterBies []string `pulumi:"filterBies"` // The max number of items in the filter list. @@ -75548,18 +74343,18 @@ type PowerpackWidgetQueryValueDefinitionRequestProcessQuery struct { SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs and PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs struct { // A list of processes. FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` // The max number of items in the filter list. @@ -75570,130 +74365,130 @@ type PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs struct { SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs +type powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *PowerpackWidgetSunburstDefinitionRequestProcessQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) } // A list of processes. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } // The max number of items in the filter list. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } // Your chosen metric. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } // Your chosen search term. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) PowerpackWidgetQueryValueDefinitionRequestProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) PowerpackWidgetSunburstDefinitionRequestProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestProcessQuery + var ret PowerpackWidgetSunburstDefinitionRequestProcessQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) } // A list of processes. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []string { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) []string { if v == nil { return nil } @@ -75702,8 +74497,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) FilterB } // The max number of items in the filter list. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *int { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) *int { if v == nil { return nil } @@ -75712,8 +74507,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Limit() } // Your chosen metric. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) *string { if v == nil { return nil } @@ -75722,8 +74517,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Metric( } // Your chosen search term. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) *string { if v == nil { return nil } @@ -75731,172 +74526,172 @@ func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) SearchB }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQuery struct { // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + ApmDependencyStatsQuery *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + ApmResourceStatsQuery *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + CloudCostQuery *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + EventQuery *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + MetricQuery *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + ProcessQuery *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` + SloQuery *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryArgs struct { // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + ApmDependencyStatsQuery PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + ApmResourceStatsQuery PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + CloudCostQuery PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` // A timeseries formula and functions events query. - EventQuery PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + EventQuery PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + MetricQuery PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` // The process query using formulas and functions. - ProcessQuery PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + ProcessQuery PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` // The SLO query using formulas and functions. - SloQuery PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` + SloQuery PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArray and PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryArray and PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryArray{ PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryArray{ PowerpackWidgetSunburstDefinitionRequestQueryArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryArray []PowerpackWidgetQueryValueDefinitionRequestQueryInput +type PowerpackWidgetSunburstDefinitionRequestQueryArray []PowerpackWidgetSunburstDefinitionRequestQueryInput -func (PowerpackWidgetQueryValueDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { return o } // The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { return v.ApmDependencyStatsQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } // The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { return v.ApmResourceStatsQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } // The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { return v.CloudCostQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) } // A timeseries formula and functions events query. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { return v.EventQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) } // A timeseries formula and functions metrics query. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { return v.MetricQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) } // The process query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { return v.ProcessQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) } // The SLO query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { return v.SloQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestQueryOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestQueryOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery struct { // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. DataSource string `pulumi:"dataSource"` // APM environment. @@ -75919,18 +74714,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery stru Stat string `pulumi:"stat"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs struct { // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. DataSource pulumi.StringInput `pulumi:"dataSource"` // APM environment. @@ -75953,174 +74748,172 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } // APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } // Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *bool { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } // Name of operation on service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.OperationName }).(pulumi.StringOutput) } // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { return v.PrimaryTagName }).(pulumi.StringPtrOutput) } // Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } // APM resource. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.ResourceName }).(pulumi.StringOutput) } // APM service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) } // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) } // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76129,8 +74922,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76139,8 +74932,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *bool { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *bool { if v == nil { return nil } @@ -76149,8 +74942,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76159,8 +74952,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // Name of operation on service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76169,8 +74962,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76179,8 +74972,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76189,8 +74982,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // APM resource. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76199,8 +74992,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // APM service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76209,8 +75002,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt } // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -76218,7 +75011,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPt }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery struct { // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. DataSource string `pulumi:"dataSource"` // APM environment. @@ -76241,18 +75034,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery struct Stat string `pulumi:"stat"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs struct { // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. DataSource pulumi.StringInput `pulumi:"dataSource"` // APM environment. @@ -76275,172 +75068,170 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs st Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } // APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } // Array of fields to group results by. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) []string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } // Name of operation on service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { return v.OperationName }).(pulumi.StringPtrOutput) } // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { return v.PrimaryTagName }).(pulumi.StringPtrOutput) } // Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } // APM resource. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { return v.ResourceName }).(pulumi.StringPtrOutput) } // APM service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) } // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) } // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76449,8 +75240,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76459,8 +75250,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // Array of fields to group results by. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) []string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) []string { if v == nil { return nil } @@ -76469,8 +75260,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76479,8 +75270,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // Name of operation on service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76489,8 +75280,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76499,8 +75290,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76509,8 +75300,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // APM resource. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76519,8 +75310,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // APM service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76529,8 +75320,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO } // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } @@ -76538,7 +75329,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery struct { // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. Aggregator *string `pulumi:"aggregator"` // The data source for cloud cost queries. Valid values are `cloudCost`. @@ -76549,18 +75340,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery struct { Query string `pulumi:"query"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs struct { // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` // The data source for cloud cost queries. Valid values are `cloudCost`. @@ -76571,130 +75362,130 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs struct { Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) } // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } // The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) } // The name of the query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } // The cloud cost query definition. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) } // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -76703,8 +75494,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) } // The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -76713,8 +75504,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) } // The name of the query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -76723,8 +75514,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) } // The cloud cost query definition. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -76732,206 +75523,206 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuery struct { // The compute options. - Computes []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + Computes []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource string `pulumi:"dataSource"` // Group by options. - GroupBies []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes []string `pulumi:"indexes"` // The name of query for use in formulas. Name string `pulumi:"name"` // The search options. - Search *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + Search *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch `pulumi:"search"` // Storage location (private beta). Storage *string `pulumi:"storage"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs struct { // The compute options. - Computes PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + Computes PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. DataSource pulumi.StringInput `pulumi:"dataSource"` // Group by options. - GroupBies PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` // An array of index names to query in the stream. Indexes pulumi.StringArrayInput `pulumi:"indexes"` // The name of query for use in formulas. Name pulumi.StringInput `pulumi:"name"` // The search options. - Search PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + Search PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` // Storage location (private beta). Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) } // The compute options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { return v.Computes - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) } // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } // Group by options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) } // An array of index names to query in the stream. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } // The search options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { return v.Search - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) } // Storage location (private beta). -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) } // The compute options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } return v.Computes - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) } // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -76940,18 +75731,18 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Data } // Group by options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) } // An array of index names to query in the stream. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []string { if v == nil { return nil } @@ -76960,8 +75751,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Inde } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -76970,18 +75761,18 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Name } // The search options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } return v.Search - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) } // Storage location (private beta). -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -76989,7 +75780,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Stor }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute struct { // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` // A time interval in milliseconds. @@ -76998,18 +75789,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute struct { Metric *string `pulumi:"metric"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs struct { // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` // A time interval in milliseconds. @@ -77018,210 +75809,210 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs struct Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { return o } // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // A time interval in milliseconds. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } // The measurable attribute to compute. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy struct { // The event facet. Facet string `pulumi:"facet"` // The number of groups to return. Limit *int `pulumi:"limit"` // The options for sorting group by results. - Sort *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` + Sort *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs struct { // The event facet. Facet pulumi.StringInput `pulumi:"facet"` // The number of groups to return. Limit pulumi.IntPtrInput `pulumi:"limit"` // The options for sorting group by results. - Sort PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` + Sort PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { return o } // The event facet. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } // The number of groups to return. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // The options for sorting group by results. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { return v.Sort - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort struct { // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` // The metric used for sorting group by results. @@ -77230,18 +76021,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort struct Order *string `pulumi:"order"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs struct { // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The metric used for sorting group by results. @@ -77250,127 +76041,127 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs st Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } // The metric used for sorting group by results. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } // Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) } // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } @@ -77379,8 +76170,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrO } // The metric used for sorting group by results. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } @@ -77389,8 +76180,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrO } // Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } @@ -77398,136 +76189,136 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch struct { // The events search string. Query string `pulumi:"query"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs struct { // The events search string. Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs +type powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) } // The events search string. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch + var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) } // The events search string. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *string { if v == nil { return nil } @@ -77535,7 +76326,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery struct { // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. Aggregator *string `pulumi:"aggregator"` // The data source for metrics queries. Defaults to `"metrics"`. @@ -77546,18 +76337,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery struct { Query string `pulumi:"query"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs struct { // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` // The data source for metrics queries. Defaults to `"metrics"`. @@ -77568,130 +76359,130 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs struct { Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) } // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } // The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } // The name of the query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } // The metrics query definition. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) } // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } @@ -77700,8 +76491,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Agg } // The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } @@ -77710,8 +76501,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Dat } // The name of the query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } @@ -77720,8 +76511,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Nam } // The metrics query definition. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } @@ -77729,7 +76520,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Que }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery struct { // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. Aggregator *string `pulumi:"aggregator"` // The data source for process queries. Valid values are `process`, `container`. @@ -77750,18 +76541,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery struct { TextFilter *string `pulumi:"textFilter"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs struct { // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` // The data source for process queries. Valid values are `process`, `container`. @@ -77782,155 +76573,155 @@ type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs struct { TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) } // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } // The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } // Whether to normalize the CPU percentages. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } // The number of hits to return. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } // The process metric name. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) } // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) } // An array of tags to filter by. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) } // The text to use as a filter. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) } // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } @@ -77939,8 +76730,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Ag } // The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } @@ -77949,8 +76740,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Da } // Whether to normalize the CPU percentages. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *bool { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *bool { if v == nil { return nil } @@ -77959,8 +76750,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Is } // The number of hits to return. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *int { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *int { if v == nil { return nil } @@ -77969,8 +76760,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Li } // The process metric name. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } @@ -77979,8 +76770,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Me } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } @@ -77989,8 +76780,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Na } // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } @@ -77999,8 +76790,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) So } // An array of tags to filter by. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) []string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) []string { if v == nil { return nil } @@ -78009,8 +76800,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Ta } // The text to use as a filter. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } @@ -78018,7 +76809,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Te }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery struct { +type PowerpackWidgetSunburstDefinitionRequestQuerySloQuery struct { // Additional filters applied to the SLO query. AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` // The data source for SLO queries. Valid values are `slo`. @@ -78035,18 +76826,18 @@ type PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery struct { SloQueryType *string `pulumi:"sloQueryType"` } -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs and PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs struct { // Additional filters applied to the SLO query. AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` // The data source for SLO queries. Valid values are `slo`. @@ -78063,147 +76854,145 @@ type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs struct { SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs, PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtr and PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs +type powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) } // Additional filters applied to the SLO query. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } // The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) } // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) } // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) } // ID of an SLO to query. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) } // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery + var ret PowerpackWidgetSunburstDefinitionRequestQuerySloQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) } // Additional filters applied to the SLO query. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } @@ -78212,8 +77001,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Additi } // The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } @@ -78222,8 +77011,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) DataSo } // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } @@ -78232,8 +77021,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) GroupM } // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } @@ -78242,8 +77031,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Measur } // The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } @@ -78252,8 +77041,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Name() } // ID of an SLO to query. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } @@ -78262,8 +77051,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloId( } // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } @@ -78271,198 +77060,198 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQuery struct { +type PowerpackWidgetSunburstDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs +type powerpackWidgetSunburstDefinitionRequestRumQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestRumQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) PowerpackWidgetQueryValueDefinitionRequestRumQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) PowerpackWidgetSunburstDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestRumQuery + var ret PowerpackWidgetSunburstDefinitionRequestRumQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -78471,18 +77260,18 @@ func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Index() pul } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -78490,7 +77279,7 @@ func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -78499,18 +77288,18 @@ type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -78519,125 +77308,125 @@ type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -78646,8 +77435,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -78656,8 +77445,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *int { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *int { if v == nil { return nil } @@ -78665,124 +77454,124 @@ func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -78791,18 +77580,18 @@ type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -78811,489 +77600,153 @@ type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs stru Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute 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"` -} - -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs 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 (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) -} - -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput - -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs +type powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQuery + var ret PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Index + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -79302,18 +77755,18 @@ type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery struct Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -79322,423 +77775,459 @@ type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs str Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput } -type powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput -func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput interface { + pulumi.Input -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput +type powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -// The maximum number of items in the group. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestSecurityQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery struct { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -79747,8 +78236,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryP } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -79756,712 +78245,869 @@ func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryP }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } - return &v.Order - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` - // Define the time interval in seconds. - Interval *int `pulumi:"interval"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { return o } - -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) -} - -type PowerpackWidgetQueryValueDefinitionTimeseriesBackground struct { - // Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. - Type string `pulumi:"type"` - // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. - Yaxis *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis `pulumi:"yaxis"` + +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput` via: +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs struct { - // Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. - Type pulumi.StringInput `pulumi:"type"` - // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. - Yaxis PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput `pulumi:"yaxis"` +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput).ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs, PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtr and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs +type powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput { - return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) string { return v.Type }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) Yaxis() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { - return v.Yaxis - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) PowerpackWidgetQueryValueDefinitionTimeseriesBackground { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionTimeseriesBackground + var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// Whether the Timeseries is made using an area or bars. Valid values are `bars`, `area`. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Type + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Yaxis() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Yaxis - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis 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"` +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisInput` via: +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute 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"` +} + +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs{...} -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs 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"` +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs 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 (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput).ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx) +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput + +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs, PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtr and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput interface { - pulumi.Input +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput { - return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType)(v) +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { - return &v - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestStyle struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette *string `pulumi:"palette"` } -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) +// PowerpackWidgetSunburstDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestStyleArgs and PowerpackWidgetSunburstDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestStyleInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestStyleArgs{...} +type PowerpackWidgetSunburstDefinitionRequestStyleInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput + ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput } -// The label of the axis to display on the graph. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestStyleArgs struct { + // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. + Palette pulumi.StringPtrInput `pulumi:"palette"` } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +func (PowerpackWidgetSunburstDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() } -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Background()) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx) } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { +// PowerpackWidgetSunburstDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestStyleArgs, PowerpackWidgetSunburstDefinitionRequestStylePtr and PowerpackWidgetSunburstDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestStylePtrInput` via: +// +// PowerpackWidgetSunburstDefinitionRequestStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestStylePtrInput interface { + pulumi.Input + + ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput + ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput +} + +type powerpackWidgetSunburstDefinitionRequestStylePtrType PowerpackWidgetSunburstDefinitionRequestStyleArgs + +func PowerpackWidgetSunburstDefinitionRequestStylePtr(v *PowerpackWidgetSunburstDefinitionRequestStyleArgs) PowerpackWidgetSunburstDefinitionRequestStylePtrInput { + return (*powerpackWidgetSunburstDefinitionRequestStylePtrType)(v) +} + +func (*powerpackWidgetSunburstDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() +} + +func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) +} + +type PowerpackWidgetSunburstDefinitionRequestStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() +} + +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis - return ret - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) } -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *bool { - if v == nil { - return nil - } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestStyle) *PowerpackWidgetSunburstDefinitionRequestStyle { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) } -// The label of the axis to display on the graph. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { - if v == nil { - return nil - } - return v.Max - }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() } -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { - if v == nil { - return nil +func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o +} + +func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestStyle) PowerpackWidgetSunburstDefinitionRequestStyle { + if v != nil { + return *v } - return v.Min - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetSunburstDefinitionRequestStyle + return ret + }).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *string { +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestStyle) *string { if v == nil { return nil } - return v.Scale + return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetRunWorkflowDefinition struct { +type PowerpackWidgetTimeseriesDefinition struct { // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetRunWorkflowDefinitionCustomLink `pulumi:"customLinks"` - // Array of workflow inputs to map to dashboard template variables. - Inputs []PowerpackWidgetRunWorkflowDefinitionInputType `pulumi:"inputs"` + CustomLinks []PowerpackWidgetTimeseriesDefinitionCustomLink `pulumi:"customLinks"` + // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. + Events []PowerpackWidgetTimeseriesDefinitionEvent `pulumi:"events"` + // A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. + LegendColumns []string `pulumi:"legendColumns"` + // The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. + LegendLayout *string `pulumi:"legendLayout"` + // The size of the legend displayed in the widget. + LegendSize *string `pulumi:"legendSize"` // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. LiveSpan *string `pulumi:"liveSpan"` + // A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. + Markers []PowerpackWidgetTimeseriesDefinitionMarker `pulumi:"markers"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). + Requests []PowerpackWidgetTimeseriesDefinitionRequest `pulumi:"requests"` + // A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. + RightYaxis *PowerpackWidgetTimeseriesDefinitionRightYaxis `pulumi:"rightYaxis"` + // Whether or not to show the legend on this widget. + ShowLegend *bool `pulumi:"showLegend"` // The title of the widget. Title *string `pulumi:"title"` // The alignment of the widget's title. Valid values are `center`, `left`, `right`. TitleAlign *string `pulumi:"titleAlign"` // The size of the widget's title (defaults to 16). TitleSize *string `pulumi:"titleSize"` - // Workflow ID - WorkflowId string `pulumi:"workflowId"` + // A nested block describing the Y-Axis Controls. The structure of this block is described below. + Yaxis *PowerpackWidgetTimeseriesDefinitionYaxis `pulumi:"yaxis"` } -// PowerpackWidgetRunWorkflowDefinitionInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs and PowerpackWidgetRunWorkflowDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInput` via: +// PowerpackWidgetTimeseriesDefinitionInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs and PowerpackWidgetTimeseriesDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionInput` via: // -// PowerpackWidgetRunWorkflowDefinitionArgs{...} -type PowerpackWidgetRunWorkflowDefinitionInput interface { +// PowerpackWidgetTimeseriesDefinitionArgs{...} +type PowerpackWidgetTimeseriesDefinitionInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput - ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionOutput + ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput + ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionOutput } -type PowerpackWidgetRunWorkflowDefinitionArgs struct { +type PowerpackWidgetTimeseriesDefinitionArgs struct { // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // Array of workflow inputs to map to dashboard template variables. - Inputs PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput `pulumi:"inputs"` + CustomLinks PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput `pulumi:"customLinks"` + // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. + Events PowerpackWidgetTimeseriesDefinitionEventArrayInput `pulumi:"events"` + // A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. + LegendColumns pulumi.StringArrayInput `pulumi:"legendColumns"` + // The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. + LegendLayout pulumi.StringPtrInput `pulumi:"legendLayout"` + // The size of the legend displayed in the widget. + LegendSize pulumi.StringPtrInput `pulumi:"legendSize"` // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` + // A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. + Markers PowerpackWidgetTimeseriesDefinitionMarkerArrayInput `pulumi:"markers"` + // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). + Requests PowerpackWidgetTimeseriesDefinitionRequestArrayInput `pulumi:"requests"` + // A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. + RightYaxis PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput `pulumi:"rightYaxis"` + // Whether or not to show the legend on this widget. + ShowLegend pulumi.BoolPtrInput `pulumi:"showLegend"` // The title of the widget. Title pulumi.StringPtrInput `pulumi:"title"` // The alignment of the widget's title. Valid values are `center`, `left`, `right`. TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` // The size of the widget's title (defaults to 16). TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` - // Workflow ID - WorkflowId pulumi.StringInput `pulumi:"workflowId"` + // A nested block describing the Y-Axis Controls. The structure of this block is described below. + Yaxis PowerpackWidgetTimeseriesDefinitionYaxisPtrInput `pulumi:"yaxis"` } -func (PowerpackWidgetRunWorkflowDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput) } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput).ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput).ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetRunWorkflowDefinitionPtrInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs, PowerpackWidgetRunWorkflowDefinitionPtr and PowerpackWidgetRunWorkflowDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs, PowerpackWidgetTimeseriesDefinitionPtr and PowerpackWidgetTimeseriesDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionPtrInput` via: // -// PowerpackWidgetRunWorkflowDefinitionArgs{...} +// PowerpackWidgetTimeseriesDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetRunWorkflowDefinitionPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput - ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput + ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput + ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput } -type powerpackWidgetRunWorkflowDefinitionPtrType PowerpackWidgetRunWorkflowDefinitionArgs +type powerpackWidgetTimeseriesDefinitionPtrType PowerpackWidgetTimeseriesDefinitionArgs -func PowerpackWidgetRunWorkflowDefinitionPtr(v *PowerpackWidgetRunWorkflowDefinitionArgs) PowerpackWidgetRunWorkflowDefinitionPtrInput { - return (*powerpackWidgetRunWorkflowDefinitionPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionPtr(v *PowerpackWidgetTimeseriesDefinitionArgs) PowerpackWidgetTimeseriesDefinitionPtrInput { + return (*powerpackWidgetTimeseriesDefinitionPtrType)(v) } -func (*powerpackWidgetRunWorkflowDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionPtrOutput) } -type PowerpackWidgetRunWorkflowDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return o.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetRunWorkflowDefinition) *PowerpackWidgetRunWorkflowDefinition { +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinition { return &v - }).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionPtrOutput) } // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetRunWorkflowDefinitionOutput) CustomLinks() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionCustomLink { +func (o PowerpackWidgetTimeseriesDefinitionOutput) CustomLinks() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionCustomLink { return v.CustomLinks - }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) } -// Array of workflow inputs to map to dashboard template variables. -func (o PowerpackWidgetRunWorkflowDefinitionOutput) Inputs() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionInputType { - return v.Inputs - }).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) +// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionOutput) Events() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionEvent { + return v.Events + }).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) +} + +// A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. +func (o PowerpackWidgetTimeseriesDefinitionOutput) LegendColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []string { return v.LegendColumns }).(pulumi.StringArrayOutput) +} + +// The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. +func (o PowerpackWidgetTimeseriesDefinitionOutput) LegendLayout() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.LegendLayout }).(pulumi.StringPtrOutput) +} + +// The size of the legend displayed in the widget. +func (o PowerpackWidgetTimeseriesDefinitionOutput) LegendSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.LegendSize }).(pulumi.StringPtrOutput) } // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetRunWorkflowDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +} + +// A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. +func (o PowerpackWidgetTimeseriesDefinitionOutput) Markers() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionMarker { + return v.Markers + }).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) +} + +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). +func (o PowerpackWidgetTimeseriesDefinitionOutput) Requests() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionRequest { + return v.Requests + }).(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) +} + +// A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. +func (o PowerpackWidgetTimeseriesDefinitionOutput) RightYaxis() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionRightYaxis { + return v.RightYaxis + }).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) +} + +// Whether or not to show the legend on this widget. +func (o PowerpackWidgetTimeseriesDefinitionOutput) ShowLegend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *bool { return v.ShowLegend }).(pulumi.BoolPtrOutput) } // The title of the widget. -func (o PowerpackWidgetRunWorkflowDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } // The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetRunWorkflowDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } // The size of the widget's title (defaults to 16). -func (o PowerpackWidgetRunWorkflowDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -// Workflow ID -func (o PowerpackWidgetRunWorkflowDefinitionOutput) WorkflowId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) string { return v.WorkflowId }).(pulumi.StringOutput) +// A nested block describing the Y-Axis Controls. The structure of this block is described below. +func (o PowerpackWidgetTimeseriesDefinitionOutput) Yaxis() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionYaxis { return v.Yaxis }).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) } -type PowerpackWidgetRunWorkflowDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Elem() PowerpackWidgetRunWorkflowDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) PowerpackWidgetRunWorkflowDefinition { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) PowerpackWidgetTimeseriesDefinition { if v != nil { return *v } - var ret PowerpackWidgetRunWorkflowDefinition + var ret PowerpackWidgetTimeseriesDefinition return ret - }).(PowerpackWidgetRunWorkflowDefinitionOutput) + }).(PowerpackWidgetTimeseriesDefinitionOutput) } // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) CustomLinks() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionCustomLink { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) CustomLinks() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionCustomLink { if v == nil { return nil } return v.CustomLinks - }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) } -// Array of workflow inputs to map to dashboard template variables. -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Inputs() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionInputType { +// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Events() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionEvent { if v == nil { return nil } - return v.Inputs - }).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) + return v.Events + }).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) +} + +// A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LegendColumns() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []string { + if v == nil { + return nil + } + return v.LegendColumns + }).(pulumi.StringArrayOutput) +} + +// The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LegendLayout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { + if v == nil { + return nil + } + return v.LegendLayout + }).(pulumi.StringPtrOutput) +} + +// The size of the legend displayed in the widget. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LegendSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { + if v == nil { + return nil + } + return v.LegendSize + }).(pulumi.StringPtrOutput) } // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { if v == nil { return nil } @@ -80469,9 +79115,49 @@ func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) LiveSpan() pulumi.StringP }).(pulumi.StringPtrOutput) } +// A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Markers() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionMarker { + if v == nil { + return nil + } + return v.Markers + }).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) +} + +// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Requests() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) +} + +// A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) RightYaxis() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionRightYaxis { + if v == nil { + return nil + } + return v.RightYaxis + }).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) +} + +// Whether or not to show the legend on this widget. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ShowLegend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *bool { + if v == nil { + return nil + } + return v.ShowLegend + }).(pulumi.BoolPtrOutput) +} + // The title of the widget. -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { if v == nil { return nil } @@ -80480,8 +79166,8 @@ func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Title() pulumi.StringPtrO } // The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { if v == nil { return nil } @@ -80490,8 +79176,8 @@ func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) TitleAlign() pulumi.Strin } // The size of the widget's title (defaults to 16). -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { if v == nil { return nil } @@ -80499,17 +79185,17 @@ func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) TitleSize() pulumi.String }).(pulumi.StringPtrOutput) } -// Workflow ID -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) WorkflowId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { +// A nested block describing the Y-Axis Controls. The structure of this block is described below. +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Yaxis() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionYaxis { if v == nil { return nil } - return &v.WorkflowId - }).(pulumi.StringPtrOutput) + return v.Yaxis + }).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) } -type PowerpackWidgetRunWorkflowDefinitionCustomLink struct { +type PowerpackWidgetTimeseriesDefinitionCustomLink struct { // The flag for toggling context menu link visibility. IsHidden *bool `pulumi:"isHidden"` // The label for the custom link URL. @@ -80520,18 +79206,18 @@ type PowerpackWidgetRunWorkflowDefinitionCustomLink struct { OverrideLabel *string `pulumi:"overrideLabel"` } -// PowerpackWidgetRunWorkflowDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs and PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionCustomLinkInput` via: +// PowerpackWidgetTimeseriesDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionCustomLinkArgs and PowerpackWidgetTimeseriesDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionCustomLinkInput` via: // -// PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} -type PowerpackWidgetRunWorkflowDefinitionCustomLinkInput interface { +// PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{...} +type PowerpackWidgetTimeseriesDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput + ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput + ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs struct { +type PowerpackWidgetTimeseriesDefinitionCustomLinkArgs struct { // The flag for toggling context menu link visibility. IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` // The label for the custom link URL. @@ -80542,2730 +79228,2624 @@ type PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs struct { OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` } -func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) } -// PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionCustomLinkArray and PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionCustomLinkArray and PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetRunWorkflowDefinitionCustomLinkArray{ PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionCustomLinkArray{ PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{...} } +type PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput interface { pulumi.Input - - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput + + ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput + ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkArray []PowerpackWidgetRunWorkflowDefinitionCustomLinkInput +type PowerpackWidgetTimeseriesDefinitionCustomLinkArray []PowerpackWidgetTimeseriesDefinitionCustomLinkInput -func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { return o } // The flag for toggling context menu link visibility. -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } // The label for the custom link URL. -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } // The URL of the custom link. -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetRunWorkflowDefinitionCustomLink { - return vs[0].([]PowerpackWidgetRunWorkflowDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionCustomLink { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) } -type PowerpackWidgetRunWorkflowDefinitionInputType struct { - // Name of the workflow input. - Name string `pulumi:"name"` - // Dashboard template variable. Can be suffixed with `.value` or `.key`. - Value string `pulumi:"value"` +type PowerpackWidgetTimeseriesDefinitionEvent struct { + // The event query to use in the widget. + Q string `pulumi:"q"` + // The execution method for multi-value filters. + TagsExecution *string `pulumi:"tagsExecution"` } -// PowerpackWidgetRunWorkflowDefinitionInputTypeInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArgs and PowerpackWidgetRunWorkflowDefinitionInputTypeOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeInput` via: +// PowerpackWidgetTimeseriesDefinitionEventInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArgs and PowerpackWidgetTimeseriesDefinitionEventOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventInput` via: // -// PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} -type PowerpackWidgetRunWorkflowDefinitionInputTypeInput interface { +// PowerpackWidgetTimeseriesDefinitionEventArgs{...} +type PowerpackWidgetTimeseriesDefinitionEventInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput - ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput + ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput + ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput } -type PowerpackWidgetRunWorkflowDefinitionInputTypeArgs struct { - // Name of the workflow input. - Name pulumi.StringInput `pulumi:"name"` - // Dashboard template variable. Can be suffixed with `.value` or `.key`. - Value pulumi.StringInput `pulumi:"value"` +type PowerpackWidgetTimeseriesDefinitionEventArgs struct { + // The event query to use in the widget. + Q pulumi.StringInput `pulumi:"q"` + // The execution method for multi-value filters. + TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` } -func (PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) +func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventOutput) } -// PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArray and PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionEventArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArray and PowerpackWidgetTimeseriesDefinitionEventArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventArrayInput` via: // -// PowerpackWidgetRunWorkflowDefinitionInputTypeArray{ PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} } -type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionEventArray{ PowerpackWidgetTimeseriesDefinitionEventArgs{...} } +type PowerpackWidgetTimeseriesDefinitionEventArrayInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput - ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput + ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput } -type PowerpackWidgetRunWorkflowDefinitionInputTypeArray []PowerpackWidgetRunWorkflowDefinitionInputTypeInput +type PowerpackWidgetTimeseriesDefinitionEventArray []PowerpackWidgetTimeseriesDefinitionEventInput -func (PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) } -type PowerpackWidgetRunWorkflowDefinitionInputTypeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionEventOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { return o } -// Name of the workflow input. -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionInputType) string { return v.Name }).(pulumi.StringOutput) +// The event query to use in the widget. +func (o PowerpackWidgetTimeseriesDefinitionEventOutput) Q() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionEvent) string { return v.Q }).(pulumi.StringOutput) } -// Dashboard template variable. Can be suffixed with `.value` or `.key`. -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionInputType) string { return v.Value }).(pulumi.StringOutput) +// The execution method for multi-value filters. +func (o PowerpackWidgetTimeseriesDefinitionEventOutput) TagsExecution() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionEvent) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) } -type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionEventArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetRunWorkflowDefinitionInputType { - return vs[0].([]PowerpackWidgetRunWorkflowDefinitionInputType)[vs[1].(int)] - }).(PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) +func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionEventOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionEvent { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionEvent)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionEventOutput) } -type PowerpackWidgetScatterplotDefinition struct { - // List of groups used for colors. - ColorByGroups []string `pulumi:"colorByGroups"` - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetScatterplotDefinitionCustomLink `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. - Request *PowerpackWidgetScatterplotDefinitionRequest `pulumi:"request"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - 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 *PowerpackWidgetScatterplotDefinitionXaxis `pulumi:"xaxis"` - // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. - Yaxis *PowerpackWidgetScatterplotDefinitionYaxis `pulumi:"yaxis"` +type PowerpackWidgetTimeseriesDefinitionMarker struct { + // How the marker lines are displayed, options are one of {`error`, `warning`, `info`, `ok`} combined with one of {`dashed`, `solid`, `bold`}. Example: `error dashed`. + DisplayType *string `pulumi:"displayType"` + // A label for the line or range. + Label *string `pulumi:"label"` + // A mathematical expression describing the marker, for example: `y > 1`, `-5 < y < 0`, `y = 19`. + Value string `pulumi:"value"` } -// PowerpackWidgetScatterplotDefinitionInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs and PowerpackWidgetScatterplotDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionInput` via: +// PowerpackWidgetTimeseriesDefinitionMarkerInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArgs and PowerpackWidgetTimeseriesDefinitionMarkerOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerInput` via: // -// PowerpackWidgetScatterplotDefinitionArgs{...} -type PowerpackWidgetScatterplotDefinitionInput interface { +// PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} +type PowerpackWidgetTimeseriesDefinitionMarkerInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput - ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionOutput + ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput + ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput } -type PowerpackWidgetScatterplotDefinitionArgs struct { - // List of groups used for colors. - ColorByGroups pulumi.StringArrayInput `pulumi:"colorByGroups"` - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. - Request PowerpackWidgetScatterplotDefinitionRequestPtrInput `pulumi:"request"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - 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 PowerpackWidgetScatterplotDefinitionXaxisPtrInput `pulumi:"xaxis"` - // A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. - Yaxis PowerpackWidgetScatterplotDefinitionYaxisPtrInput `pulumi:"yaxis"` +type PowerpackWidgetTimeseriesDefinitionMarkerArgs struct { + // How the marker lines are displayed, options are one of {`error`, `warning`, `info`, `ok`} combined with one of {`dashed`, `solid`, `bold`}. Example: `error dashed`. + DisplayType pulumi.StringPtrInput `pulumi:"displayType"` + // A label for the line or range. + Label pulumi.StringPtrInput `pulumi:"label"` + // A mathematical expression describing the marker, for example: `y > 1`, `-5 < y < 0`, `y = 19`. + Value pulumi.StringInput `pulumi:"value"` } -func (PowerpackWidgetScatterplotDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionMarkerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { - return i.ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput) +func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerOutput) } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) +// PowerpackWidgetTimeseriesDefinitionMarkerArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArray and PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionMarkerArray{ PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} } +type PowerpackWidgetTimeseriesDefinitionMarkerArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput + ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput).ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx) +type PowerpackWidgetTimeseriesDefinitionMarkerArray []PowerpackWidgetTimeseriesDefinitionMarkerInput + +func (PowerpackWidgetTimeseriesDefinitionMarkerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() } -// PowerpackWidgetScatterplotDefinitionPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs, PowerpackWidgetScatterplotDefinitionPtr and PowerpackWidgetScatterplotDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionPtrInput interface { - pulumi.Input +func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput - ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput +func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) } -type powerpackWidgetScatterplotDefinitionPtrType PowerpackWidgetScatterplotDefinitionArgs +type PowerpackWidgetTimeseriesDefinitionMarkerOutput struct{ *pulumi.OutputState } -func PowerpackWidgetScatterplotDefinitionPtr(v *PowerpackWidgetScatterplotDefinitionArgs) PowerpackWidgetScatterplotDefinitionPtrInput { - return (*powerpackWidgetScatterplotDefinitionPtrType)(v) +func (PowerpackWidgetTimeseriesDefinitionMarkerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() } -func (*powerpackWidgetScatterplotDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { + return o } -func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { + return o } -func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionPtrOutput) +// How the marker lines are displayed, options are one of {`error`, `warning`, `info`, `ok`} combined with one of {`dashed`, `solid`, `bold`}. Example: `error dashed`. +func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) DisplayType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionMarker) *string { return v.DisplayType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionOutput struct{ *pulumi.OutputState } +// A label for the line or range. +func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionMarker) *string { return v.Label }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() +// A mathematical expression describing the marker, for example: `y > 1`, `-5 < y < 0`, `y = 19`. +func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionMarker) string { return v.Value }).(pulumi.StringOutput) } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { +type PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { +func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionMarkerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionMarker { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionMarker)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionMarkerOutput) } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinition { - return &v - }).(PowerpackWidgetScatterplotDefinitionPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequest struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetTimeseriesDefinitionRequestApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery `pulumi:"auditQuery"` + // How to display the marker lines. Valid values are `area`, `bars`, `line`, `overlay`. + DisplayType *string `pulumi:"displayType"` + Formulas []PowerpackWidgetTimeseriesDefinitionRequestFormula `pulumi:"formulas"` + // The query to use for this widget. + LogQuery *PowerpackWidgetTimeseriesDefinitionRequestLogQuery `pulumi:"logQuery"` + // Used to define expression aliases. Multiple `metadata` blocks are allowed using the structure below. + Metadatas []PowerpackWidgetTimeseriesDefinitionRequestMetadata `pulumi:"metadatas"` + // The query to use for this widget. + NetworkQuery *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery `pulumi:"networkQuery"` + // A Boolean indicating whether the request uses the right or left Y-Axis. + OnRightYaxis *bool `pulumi:"onRightYaxis"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetTimeseriesDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetTimeseriesDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery `pulumi:"securityQuery"` + // The style of the widget graph. Exactly one `style` block is allowed using the structure below. + Style *PowerpackWidgetTimeseriesDefinitionRequestStyle `pulumi:"style"` } -// List of groups used for colors. -func (o PowerpackWidgetScatterplotDefinitionOutput) ColorByGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) []string { return v.ColorByGroups }).(pulumi.StringArrayOutput) +// PowerpackWidgetTimeseriesDefinitionRequestInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestArgs and PowerpackWidgetTimeseriesDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput + ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionOutput) CustomLinks() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) []PowerpackWidgetScatterplotDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) +type PowerpackWidgetTimeseriesDefinitionRequestArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` + // How to display the marker lines. Valid values are `area`, `bars`, `line`, `overlay`. + DisplayType pulumi.StringPtrInput `pulumi:"displayType"` + Formulas PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The query to use for this widget. + LogQuery PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // Used to define expression aliases. Multiple `metadata` blocks are allowed using the structure below. + Metadatas PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput `pulumi:"metadatas"` + // The query to use for this widget. + NetworkQuery PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput `pulumi:"networkQuery"` + // A Boolean indicating whether the request uses the right or left Y-Axis. + OnRightYaxis pulumi.BoolPtrInput `pulumi:"onRightYaxis"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` + // The style of the widget graph. Exactly one `style` block is allowed using the structure below. + Style PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput `pulumi:"style"` } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetScatterplotDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() } -// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionOutput) Request() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionRequest { - return v.Request - }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Background()) } -// The title of the widget. -func (o PowerpackWidgetScatterplotDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetScatterplotDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// PowerpackWidgetTimeseriesDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestArray and PowerpackWidgetTimeseriesDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestArray{ PowerpackWidgetTimeseriesDefinitionRequestArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetScatterplotDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestArray []PowerpackWidgetTimeseriesDefinitionRequestInput + +func (PowerpackWidgetTimeseriesDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() } -// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionOutput) Xaxis() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionXaxis { - return v.Xaxis - }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestArray) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(context.Background()) } -// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionOutput) Yaxis() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionYaxis { - return v.Yaxis - }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestArray) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) } -type PowerpackWidgetScatterplotDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) PowerpackWidgetScatterplotDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinition - return ret - }).(PowerpackWidgetScatterplotDefinitionOutput) +// The query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ApmQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) } -// List of groups used for colors. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ColorByGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) []string { - if v == nil { - return nil - } - return v.ColorByGroups - }).(pulumi.StringArrayOutput) +// The query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) AuditQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { + return v.AuditQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) } -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) CustomLinks() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) []PowerpackWidgetScatterplotDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) +// How to display the marker lines. Valid values are `area`, `bars`, `line`, `overlay`. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) DisplayType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *string { return v.DisplayType }).(pulumi.StringPtrOutput) } -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Formulas() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) } -// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Request() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionRequest { - if v == nil { - return nil - } - return v.Request - }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) LogQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) +// Used to define expression aliases. Multiple `metadata` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Metadatas() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestMetadata { + return v.Metadatas + }).(PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) NetworkQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { + return v.NetworkQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) +// A Boolean indicating whether the request uses the right or left Y-Axis. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) OnRightYaxis() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *bool { return v.OnRightYaxis }).(pulumi.BoolPtrOutput) } -// A nested block describing the X-Axis Controls. Exactly one nested block is allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Xaxis() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionXaxis { - if v == nil { - return nil - } - return v.Xaxis - }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ProcessQuery() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) } -// A nested block describing the Y-Axis Controls. Exactly one nested block is allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Yaxis() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionYaxis { - if v == nil { - return nil - } - return v.Yaxis - }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Queries() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) } -// PowerpackWidgetScatterplotDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArgs and PowerpackWidgetScatterplotDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkInput` via: +// The query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) RumQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) +} + +// The query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) SecurityQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) +} + +// The style of the widget graph. Exactly one `style` block is allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Style() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestStyle { + return v.Style + }).(PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequest { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} -type PowerpackWidgetScatterplotDefinitionCustomLinkInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput - ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput } -type PowerpackWidgetScatterplotDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) } -// PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArray and PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput` via: +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionCustomLinkArray{ PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} } -type PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput - ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput } -type PowerpackWidgetScatterplotDefinitionCustomLinkArray []PowerpackWidgetScatterplotDefinitionCustomLinkInput +type powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs -func (PowerpackWidgetScatterplotDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -// The label for the custom link URL. -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) } -// The URL of the custom link. -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +// The name of the index to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) +} -func (PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionCustomLink { - return vs[0].([]PowerpackWidgetScatterplotDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionCustomLinkOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestApmQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) +} + +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) +} + +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) +} + +// The name of the index to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequest struct { - // Scatterplot request containing formulas and functions. - ScatterplotTables []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable `pulumi:"scatterplotTables"` - // The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). - Xes []PowerpackWidgetScatterplotDefinitionRequestX `pulumi:"xes"` - // The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). - Ys []PowerpackWidgetScatterplotDefinitionRequestY `pulumi:"ys"` +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery 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"` } -// PowerpackWidgetScatterplotDefinitionRequestInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs and PowerpackWidgetScatterplotDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput - ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestArgs struct { - // Scatterplot request containing formulas and functions. - ScatterplotTables PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput `pulumi:"scatterplotTables"` - // The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). - Xes PowerpackWidgetScatterplotDefinitionRequestXArrayInput `pulumi:"xes"` - // The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). - Ys PowerpackWidgetScatterplotDefinitionRequestYArrayInput `pulumi:"ys"` +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput).ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs, PowerpackWidgetScatterplotDefinitionRequestPtr and PowerpackWidgetScatterplotDefinitionRequestPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestPtrType PowerpackWidgetScatterplotDefinitionRequestArgs +type powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestPtr(v *PowerpackWidgetScatterplotDefinitionRequestArgs) PowerpackWidgetScatterplotDefinitionRequestPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequest) *PowerpackWidgetScatterplotDefinitionRequest { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } -// Scatterplot request containing formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ScatterplotTables() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { - return v.ScatterplotTables - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) Xes() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestX { - return v.Xes - }).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) Ys() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestY { - return v.Ys - }).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) PowerpackWidgetScatterplotDefinitionRequest { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequest + var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) } -// Scatterplot request containing formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ScatterplotTables() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.ScatterplotTables - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The query used for the X-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Xes() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestX { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.Xes - }).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The query used for the Y-Axis. Exactly one nested block is allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `securityQuery`, `apmStatsQuery` or `processQuery` is required within the block). -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Ys() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestY { +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *int { if v == nil { return nil } - return v.Ys - }).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTable struct { - Formulas []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula `pulumi:"formulas"` - Queries []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery `pulumi:"queries"` +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs struct { - Formulas PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput `pulumi:"formulas"` - Queries PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput `pulumi:"queries"` +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Formulas() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula { - return v.Formulas - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Queries() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery { - return v.Queries - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput struct{ *pulumi.OutputState } +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // Dimension of the Scatterplot. Valid values are `x`, `y`, `radius`, `color`. - Dimension string `pulumi:"dimension"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // Dimension of the Scatterplot. Valid values are `x`, `y`, `radius`, `color`. - Dimension pulumi.StringInput `pulumi:"dimension"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput` via: +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput +type powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -// An expression alias. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// Dimension of the Scatterplot. Valid values are `x`, `y`, `radius`, `color`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) Dimension() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula) string { return v.Dimension }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula) string { - return v.FormulaExpression +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { + return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return o +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return o -} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery `pulumi:"sloQuery"` +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput interface { - pulumi.Input +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o +} - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput `pulumi:"sloQuery"` +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Background()) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput struct{ *pulumi.OutputState } +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput interface { + pulumi.Input -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { - return o +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { - return o +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) } -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ApmResourceStatsQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) CloudCostQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { + return o } -// A timeseries formula and functions events query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) EventQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { + return o } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) MetricQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The process query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The SLO query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) SloQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` +type PowerpackWidgetTimeseriesDefinitionRequestAuditQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.Env - }).(pulumi.StringOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *bool { - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.Name - }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) } -// APM resource. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.Stat - }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { if v == nil { return nil } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { if v == nil { return nil } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) } -// APM resource. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *string { if v == nil { return nil } - return &v.ResourceName + return &v.Index }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { if v == nil { return nil } - return &v.Service - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *string { if v == nil { return nil } - return &v.Stat + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { - return v.Env - }).(pulumi.StringOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) []string { - return v.GroupBies - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { - return v.Name - }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) } -// APM resource. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { - return v.Stat - }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } - return &v.Env + return v.Facet }).(pulumi.StringPtrOutput) } -// Array of fields to group results by. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) []string { +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *int { if v == nil { return nil } - return v.GroupBies - }).(pulumi.StringArrayOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` } -// Name of operation on service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput } -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -// APM resource. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) } -// APM service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput + +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput` via: +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { + return o +} + +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// The maximum number of items in the group. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { - return v.Aggregator - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) string { - return v.DataSource +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { + return v.Aggregation }).(pulumi.StringOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) string { - return v.Name - }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) string { - return v.Query - }).(pulumi.StringOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Query + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Background()) +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs 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 (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The compute options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Computes() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -// Group by options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -// An array of index names to query in the stream. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []string { - return v.Indexes - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) string { - return v.Name - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o } -// The search options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Search() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) } -// Storage location (private beta). -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - return v.Storage - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestFormula struct { + // An expression alias. + Alias *string `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode *string `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle `pulumi:"style"` } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() -} +// PowerpackWidgetTimeseriesDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaInput interface { + pulumi.Input -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o +type PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs struct { + // An expression alias. + Alias pulumi.StringPtrInput `pulumi:"alias"` + // A list of display modes for each table cell. Valid values are `number`, `bar`. + CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` + // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. + ConditionalFormats PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() } -// The compute options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Computes() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Background()) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) } -// Group by options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) -} +// PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestFormulaArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput interface { + pulumi.Input -// An array of index names to query in the stream. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []string { - if v == nil { - return nil - } - return v.Indexes - }).(pulumi.StringArrayOutput) + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaInput -// The search options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Search() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() } -// Storage location (private beta). -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - if v == nil { - return nil - } - return v.Storage - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput interface { - pulumi.Input +type PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { + return o } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { + return o } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Background()) +// An expression alias. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput +// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Background()) +// The options for limiting results returned. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Limit() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) +// Styling options for widget formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Style() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { return o } -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// A time interval in milliseconds. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute) *int { - return v.Interval - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute) *string { - return v.Metric - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator string `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor *string `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor *string `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue *bool `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl *string `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric *string `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette string `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe *string `pulumi:"timeframe"` + // A value for the comparator. + Value float64 `pulumi:"value"` } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return o +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs struct { + // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. + Comparator pulumi.StringInput `pulumi:"comparator"` + // The color palette to apply to the background, same values available as palette. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The color palette to apply to the foreground, same values available as palette. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Setting this to True hides values. + HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` + // Displays an image as the background. + ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` + // The metric from the request to correlate with this conditional format. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. + Palette pulumi.StringInput `pulumi:"palette"` + // Defines the displayed timeframe. + Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` + // A value for the comparator. + Value pulumi.Float64Input `pulumi:"value"` } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return o +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort `pulumi:"sort"` +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput interface { - pulumi.Input +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { + return o +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { + return o } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +// Setting this to True hides values. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return o +// Displays an image as the background. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return o +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// The event facet. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) string { - return v.Facet - }).(pulumi.StringOutput) +// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// The number of groups to return. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *int { - return v.Limit - }).(pulumi.IntPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Sort() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) +// A value for the comparator. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit struct { + // The number of results to return. + Count *int `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. Order *string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs struct { + // The number of results to return. + Count pulumi.IntPtrInput `pulumi:"count"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs, PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtr and PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs +type powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) } -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - return v.Metric - }).(pulumi.StringPtrOutput) +// The number of results to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - return v.Order - }).(pulumi.StringPtrOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort + var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { +// The number of results to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *int { if v == nil { return nil } - return v.Metric - }).(pulumi.StringPtrOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *string { if v == nil { return nil } @@ -83273,1272 +81853,1263 @@ func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette *string `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex *int `pulumi:"paletteIndex"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs struct { + // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Index specifying which color to use within the palette. + PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs, PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr and PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs +type powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) } -// The events search string. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) string { - return v.Query - }).(pulumi.StringOutput) +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +// Index specifying which color to use within the palette. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch + var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) } -// The events search string. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *string { +// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *string { if v == nil { return nil } - return &v.Query + return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` +// Index specifying which color to use within the palette. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *int { + if v == nil { + return nil + } + return v.PaletteIndex + }).(pulumi.IntPtrOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput` via: +type PowerpackWidgetTimeseriesDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { - return v.Aggregator - }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { - return v.DataSource - }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) string { - return v.Name - }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// The metrics query definition. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) string { - return v.Query - }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestLogQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy { if v == nil { return nil } - return v.DataSource - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Index }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { if v == nil { return nil } - return &v.Query + return v.MultiComputes + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return o -} +type powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return o +func PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - return v.Aggregator - }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) } - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { - return v.DataSource - }).(pulumi.StringOutput) + +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *bool { - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return o } -// The number of hits to return. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *int { - return v.Limit - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return o } -// The process metric name. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { - return v.Metric - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { - return v.Name - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - return v.Sort - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) []string { - return v.TagFilters - }).(pulumi.StringArrayOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - return v.TextFilter - }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.Aggregator + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return v.Facet }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *int { +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *int { if v == nil { return nil } - return v.Limit + return v.Interval }).(pulumi.IntPtrOutput) } -// The process metric name. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy struct { + // The facet name. + Facet *string `pulumi:"facet"` + // The maximum number of items in the group. + Limit *int `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Sort - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -// An array of tags to filter by. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// The text to use as a filter. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.TextFilter - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return o } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return o } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} -// -// or: +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// The maximum number of items in the group. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery struct { + // The aggregation method. + Aggregation string `pulumi:"aggregation"` + // The facet name. + Facet *string `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order string `pulumi:"order"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs struct { + // The aggregation method. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringInput `pulumi:"order"` +} -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType)(v) +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return o +type powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs + +func PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return o +func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) string { - return v.DataSource - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return o } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - return v.GroupMode - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return o } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) string { - return v.Measure - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - return v.Name - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) string { - return v.SloId +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { + return v.Aggregation }).(pulumi.StringOutput) } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - return v.SloQueryType - }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.AdditionalQueryFilters + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.DataSource + return v.Facet }).(pulumi.StringPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.GroupMode + return &v.Order }).(pulumi.StringPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute 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"` } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput } -// ID of an SLO to query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs 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"` } -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestX struct { - // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The query to use for this widget. - ApmQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - // The query to use for this widget. - RumQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery `pulumi:"securityQuery"` +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -// PowerpackWidgetScatterplotDefinitionRequestXInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXArgs and PowerpackWidgetScatterplotDefinitionRequestXOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXInput` via: +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) +} + +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput - ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXArgs struct { - // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The query to use for this widget. - ApmQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - // The query to use for this widget. - RumQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput `pulumi:"securityQuery"` -} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestXArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXArray and PowerpackWidgetScatterplotDefinitionRequestXArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestXArray{ PowerpackWidgetScatterplotDefinitionRequestXArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXArrayInput interface { - pulumi.Input +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestXArray []PowerpackWidgetScatterplotDefinitionRequestXInput +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { + return o +} -func (PowerpackWidgetScatterplotDefinitionRequestXArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { + return o } -func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -// Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) } -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { - return v.ApmQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestMetadata struct { + // The expression alias. + AliasName *string `pulumi:"aliasName"` + // The expression name. + Expression string `pulumi:"expression"` } -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { - return v.LogQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) +// PowerpackWidgetTimeseriesDefinitionRequestMetadataInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs and PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestMetadataInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestMetadataInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput + ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput } -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs struct { + // The expression alias. + AliasName pulumi.StringPtrInput `pulumi:"aliasName"` + // The expression name. + Expression pulumi.StringInput `pulumi:"expression"` } -// The metric query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *string { return v.Q }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() } -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { - return v.RumQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) +} + +// PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestMetadataArray and PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestMetadataArray{ PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput +} + +type PowerpackWidgetTimeseriesDefinitionRequestMetadataArray []PowerpackWidgetTimeseriesDefinitionRequestMetadataInput + +func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { + return o +} + +// The expression alias. +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) AliasName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) *string { return v.AliasName }).(pulumi.StringPtrOutput) +} + +// The expression name. +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) string { return v.Expression }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestX { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestX)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestMetadata { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestMetadata)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXApmQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { if v == nil { return nil } @@ -84547,18 +83118,18 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Index() p } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { if v == nil { return nil } @@ -84566,7 +83137,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -84575,18 +83146,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -84595,125 +83166,127 @@ type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *string { if v == nil { return nil } @@ -84722,8 +83295,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *string { if v == nil { return nil } @@ -84732,8 +83305,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *int { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *int { if v == nil { return nil } @@ -84741,124 +83314,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -84867,18 +83440,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -84887,127 +83460,127 @@ type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -85016,8 +83589,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -85026,8 +83599,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -85035,7 +83608,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -85044,18 +83617,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -85064,2084 +83637,3020 @@ type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit *int `pulumi:"limit"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput +} + +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs struct { + // A list of processes. + FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` + // The max number of items in the filter list. + Limit pulumi.IntPtrInput `pulumi:"limit"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` +} + +func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput +} + +type powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs + +func PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType)(v) +} + +func (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) +} + +// A list of processes. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +} + +// The max number of items in the filter list. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// Your chosen metric. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// Your chosen search term. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestProcessQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) +} + +// A list of processes. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) []string { + if v == nil { + return nil + } + return v.FilterBies + }).(pulumi.StringArrayOutput) +} + +// The max number of items in the filter list. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// Your chosen metric. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) +} + +// Your chosen search term. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return v.SearchBy + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +} + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryArray and PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestQueryArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryArray []PowerpackWidgetTimeseriesDefinitionRequestQueryInput + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { + return o +} + +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +} + +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { - return o +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { - return o +// A timeseries formula and functions events query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The process query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream *bool `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat string `pulumi:"stat"` } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Determines whether stats for upstream or downstream dependencies should be queried. + IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) +// APM environment. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) string { return v.Index }).(pulumi.StringOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *bool { + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Name of operation on service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput struct{ *pulumi.OutputState } +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { +// APM resource. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) +} + +// APM service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.Service + }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXLogQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { +// APM environment. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) + return &v.Env + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *bool { if v == nil { return nil } - return &v.Index + return v.IsUpstream + }).(pulumi.BoolPtrOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { +// Name of operation on service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) + return &v.OperationName + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.SearchQuery + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery 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"` +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput` via: +// APM resource. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource string `pulumi:"dataSource"` + // APM environment. + Env string `pulumi:"env"` + // Array of fields to group results by. + GroupBies []string `pulumi:"groupBies"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // Name of operation on service. + OperationName *string `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName *string `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue *string `pulumi:"primaryTagValue"` + // APM resource. + ResourceName *string `pulumi:"resourceName"` + // APM service. + Service string `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat string `pulumi:"stat"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs 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"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // APM environment. + Env pulumi.StringInput `pulumi:"env"` + // Array of fields to group results by. + GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // Name of operation on service. + OperationName pulumi.StringPtrInput `pulumi:"operationName"` + // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. + PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` + // Filter APM data by the second primary tag. `primaryTagName` must also be specified. + PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` + // APM resource. + ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` + // APM service. + Service pulumi.StringInput `pulumi:"service"` + // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. + Stat pulumi.StringInput `pulumi:"stat"` } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Array of fields to group results by. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) []string { + return v.GroupBies + }).(pulumi.StringArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +// Name of operation on service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { +// APM environment. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Facet + return &v.Env }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *int { +// Array of fields to group results by. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) []string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(pulumi.StringArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery `pulumi:"sortQuery"` +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of operation on service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) +} + +// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for cloud cost queries. Valid values are `cloudCost`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The cloud cost query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput` via: +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput +type powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { return o } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -// The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() +// The name of the query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { +// The cloud cost query definition. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput` via: +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// The name of the query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The cloud cost query definition. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes []string `pulumi:"indexes"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The search options. + Search *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` + // An array of index names to query in the stream. + Indexes pulumi.StringArrayInput `pulumi:"indexes"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The search options. + Search PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// The compute options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Group by options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// An array of index names to query in the stream. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { +// The search options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { +// The compute options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return &v.Aggregation + return v.Computes + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { +// Group by options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } - return v.Facet + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) +} + +// An array of index names to query in the stream. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { +// The search options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } - return &v.Order + return v.Search + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute struct { - // The aggregation method. +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs struct { - // The aggregation method. +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs struct { + // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Define the time interval in seconds. + // A time interval in milliseconds. Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { return o } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The measurable attribute to compute. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy struct { + // The event facet. + Facet string `pulumi:"facet"` + // The number of groups to return. Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` + // The options for sorting group by results. + Sort *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs struct { + // The event facet. + Facet pulumi.StringInput `pulumi:"facet"` + // The number of groups to return. Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` + // The options for sorting group by results. + Sort PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput } -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx) +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput` via: +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { + return o +} + +// The event facet. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +} + +// The number of groups to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// The options for sorting group by results. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation string `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput interface { + pulumi.Input + + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs struct { + // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + Aggregation pulumi.StringInput `pulumi:"aggregation"` + // The metric used for sorting group by results. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` +} + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Your chosen metric. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The metric used for sorting group by results. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXProcessQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) -} - -// A list of processes. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *int { +// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { +// The metric used for sorting group by results. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return &v.Metric + return v.Metric }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.SearchBy + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The events search string. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXRumQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) } -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { +// The events search string. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Query }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery 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"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource *string `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The metrics query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs 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"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for metrics queries. Defaults to `"metrics"`. + DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // The name of the query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The metrics query definition. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// The metrics query definition. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.Facet + return v.DataSource }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *int { +// The name of the query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. +// The metrics query definition. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource string `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` + // The number of hits to return. Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery `pulumi:"sortQuery"` + // The process metric name. + Metric string `pulumi:"metric"` + // The name of query for use in formulas. + Name string `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort *string `pulumi:"sort"` + // An array of tags to filter by. + TagFilters []string `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter *string `pulumi:"textFilter"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The data source for process queries. Valid values are `process`, `container`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Whether to normalize the CPU percentages. + IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` + // The number of hits to return. Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // The process metric name. + Metric pulumi.StringInput `pulumi:"metric"` + // The name of query for use in formulas. + Name pulumi.StringInput `pulumi:"name"` + // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. + Sort pulumi.StringPtrInput `pulumi:"sort"` + // An array of tags to filter by. + TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` + // The text to use as a filter. + TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput` via: +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput +type powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { return o } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -// The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { +// The number of hits to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +} + +// An array of tags to filter by. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) +} + +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) +} + +// The number of hits to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// The process metric name. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Sort + }).(pulumi.StringPtrOutput) +} + +// An array of tags to filter by. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) []string { + if v == nil { + return nil + } + return v.TagFilters + }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.TextFilter + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource string `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode *string `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure string `pulumi:"measure"` + // The name of query for use in formulas. + Name *string `pulumi:"name"` + // ID of an SLO to query. + SloId string `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The data source for SLO queries. Valid values are `slo`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. + GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` + // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. + Measure pulumi.StringInput `pulumi:"measure"` + // The name of query for use in formulas. + Name pulumi.StringPtrInput `pulumi:"name"` + // ID of an SLO to query. + SloId pulumi.StringInput `pulumi:"sloId"` + // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { +// ID of an SLO to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +} + +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { +// Additional filters applied to the SLO query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return v.Facet + return &v.DataSource }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return &v.Order + return v.GroupMode }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput - -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return o +// ID of an SLO to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.SloId + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) +// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.SloQueryType + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestRumQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -87150,18 +86659,18 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Inde } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -87169,7 +86678,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Sear }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -87178,18 +86687,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery struc Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -87198,127 +86707,125 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -87327,8 +86834,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -87337,8 +86844,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *int { if v == nil { return nil } @@ -87346,124 +86853,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` // The maximum number of items in the group. Limit *int `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs struct { // The facet name. Facet pulumi.StringPtrInput `pulumi:"facet"` // The maximum number of items in the group. Limit pulumi.IntPtrInput `pulumi:"limit"` // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -87472,18 +86979,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery s Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -87492,131 +86999,127 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryAr Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -87625,8 +87128,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuer } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -87635,8 +87138,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuer } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -87644,7 +87147,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -87653,18 +87156,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute struc Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -87673,447 +87176,284 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestY struct { - // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The query to use for this widget. - ApmQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - // The query to use for this widget. - RumQuery *PowerpackWidgetScatterplotDefinitionRequestYRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery `pulumi:"securityQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYArgs and PowerpackWidgetScatterplotDefinitionRequestYOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput - ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYArgs struct { - // Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The query to use for this widget. - ApmQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - LogQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - // The query to use for this widget. - RumQuery PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput `pulumi:"securityQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYArray and PowerpackWidgetScatterplotDefinitionRequestYArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYArray{ PowerpackWidgetScatterplotDefinitionRequestYArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYArray []PowerpackWidgetScatterplotDefinitionRequestYInput - -func (PowerpackWidgetScatterplotDefinitionRequestYArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { - return o -} - -// Aggregator used for the request. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { - return v.ApmQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { - return v.LogQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) -} - -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) -} - -// The metric query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *string { return v.Q }).(pulumi.StringPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { - return v.RumQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestY { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestY)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy `pulumi:"groupBies"` + GroupBies []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput `pulumi:"groupBies"` + GroupBies PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYApmQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { if v == nil { return nil } @@ -88122,18 +87462,18 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Index() p } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { if v == nil { return nil } @@ -88141,7 +87481,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -88150,18 +87490,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -88170,125 +87510,127 @@ type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -88297,8 +87639,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -88307,8 +87649,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *int { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } @@ -88316,382 +87658,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) -} - func init() { - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRequestStylePtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRequestStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxisInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRightYaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionRightYaxisPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionRightYaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxisInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionYaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTimeseriesDefinitionYaxisPtrInput)(nil)).Elem(), DashboardWidgetTimeseriesDefinitionYaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionInput)(nil)).Elem(), DashboardWidgetToplistDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLinkInput)(nil)).Elem(), DashboardWidgetToplistDefinitionCustomLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionCustomLinkArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionCustomLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormatInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestConditionalFormatArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestConditionalFormatArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestConditionalFormatArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimitInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStyleInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStylePtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionPtrInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLinkInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionCustomLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLinkArrayInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionCustomLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestArrayInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQueryInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionRequestQueryArrayInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionRequestQueryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTraceServiceDefinitionInput)(nil)).Elem(), DashboardWidgetTraceServiceDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTraceServiceDefinitionPtrInput)(nil)).Elem(), DashboardWidgetTraceServiceDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimitInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStyleInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQueryInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), DashboardWidgetTreemapDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetWidgetLayoutInput)(nil)).Elem(), DashboardWidgetWidgetLayoutArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetWidgetLayoutPtrInput)(nil)).Elem(), DashboardWidgetWidgetLayoutArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeRecurrenceInput)(nil)).Elem(), DowntimeRecurrenceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeRecurrencePtrInput)(nil)).Elem(), DowntimeRecurrenceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleMonitorIdentifierInput)(nil)).Elem(), DowntimeScheduleMonitorIdentifierArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleMonitorIdentifierPtrInput)(nil)).Elem(), DowntimeScheduleMonitorIdentifierArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleOneTimeScheduleInput)(nil)).Elem(), DowntimeScheduleOneTimeScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleOneTimeSchedulePtrInput)(nil)).Elem(), DowntimeScheduleOneTimeScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringScheduleInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringSchedulePtrInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrenceInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleRecurrenceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DowntimeScheduleRecurringScheduleRecurrenceArrayInput)(nil)).Elem(), DowntimeScheduleRecurringScheduleRecurrenceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*IpAllowlistEntryInput)(nil)).Elem(), IpAllowlistEntryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*IpAllowlistEntryArrayInput)(nil)).Elem(), IpAllowlistEntryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveAzureArchiveInput)(nil)).Elem(), LogsArchiveAzureArchiveArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveAzureArchivePtrInput)(nil)).Elem(), LogsArchiveAzureArchiveArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveGcsArchiveInput)(nil)).Elem(), LogsArchiveGcsArchiveArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveGcsArchivePtrInput)(nil)).Elem(), LogsArchiveGcsArchiveArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveS3ArchiveInput)(nil)).Elem(), LogsArchiveS3ArchiveArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsArchiveS3ArchivePtrInput)(nil)).Elem(), LogsArchiveS3ArchiveArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineFilterInput)(nil)).Elem(), LogsCustomPipelineFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineFilterArrayInput)(nil)).Elem(), LogsCustomPipelineFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorArithmeticProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorArithmeticProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorArithmeticProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorAttributeRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorAttributeRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorAttributeRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorCategoryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorCategoryProcessorCategoryFilterInput)(nil)).Elem(), LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorDateRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorDateRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorDateRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParserInput)(nil)).Elem(), LogsCustomPipelineProcessorGeoIpParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGeoIpParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorGeoIpParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrokInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserGrokArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorGrokParserGrokPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorGrokParserGrokArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorMessageRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorMessageRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorMessageRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelinePtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilterInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineFilterArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParserInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorServiceRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorServiceRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorServiceRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorStatusRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStatusRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorStatusRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessorInput)(nil)).Elem(), LogsCustomPipelineProcessorStringBuilderProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorStringBuilderProcessorPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorStringBuilderProcessorArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapperInput)(nil)).Elem(), LogsCustomPipelineProcessorTraceIdRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorTraceIdRemapperPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorTraceIdRemapperArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUrlParserInput)(nil)).Elem(), LogsCustomPipelineProcessorUrlParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUrlParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorUrlParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParserInput)(nil)).Elem(), LogsCustomPipelineProcessorUserAgentParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsCustomPipelineProcessorUserAgentParserPtrInput)(nil)).Elem(), LogsCustomPipelineProcessorUserAgentParserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsIndexDailyLimitResetInput)(nil)).Elem(), LogsIndexDailyLimitResetArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*LogsIndexDailyLimitResetPtrInput)(nil)).Elem(), LogsIndexDailyLimitResetArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LogsIndexExclusionFilterInput)(nil)).Elem(), LogsIndexExclusionFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LogsIndexExclusionFilterArrayInput)(nil)).Elem(), LogsIndexExclusionFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*LogsIndexExclusionFilterFilterInput)(nil)).Elem(), LogsIndexExclusionFilterFilterArgs{}) @@ -89429,264 +88396,266 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestStyleOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRequestStylePtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRightYaxisOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionRightYaxisPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionYaxisOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTimeseriesDefinitionYaxisPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionCustomLinkOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionCustomLinkArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestConditionalFormatOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestConditionalFormatArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaLimitOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaLimitPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaStyleOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestFormulaStylePtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestProcessQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryMetricQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryProcessQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQuerySloQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestStyleOutput{}) - pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestStylePtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionCustomLinkOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionCustomLinkArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionRequestQueryArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTraceServiceDefinitionOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTraceServiceDefinitionPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaLimitOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaLimitPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaStyleOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestFormulaStylePtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQuerySloQueryOutput{}) - pulumi.RegisterOutputType(DashboardWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput{}) - pulumi.RegisterOutputType(DashboardWidgetWidgetLayoutOutput{}) - pulumi.RegisterOutputType(DashboardWidgetWidgetLayoutPtrOutput{}) - pulumi.RegisterOutputType(DowntimeRecurrenceOutput{}) - pulumi.RegisterOutputType(DowntimeRecurrencePtrOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleMonitorIdentifierOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleMonitorIdentifierPtrOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleOneTimeScheduleOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleOneTimeSchedulePtrOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleRecurringScheduleOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleRecurringSchedulePtrOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleRecurringScheduleRecurrenceOutput{}) - pulumi.RegisterOutputType(DowntimeScheduleRecurringScheduleRecurrenceArrayOutput{}) - pulumi.RegisterOutputType(IpAllowlistEntryOutput{}) - pulumi.RegisterOutputType(IpAllowlistEntryArrayOutput{}) - pulumi.RegisterOutputType(LogsArchiveAzureArchiveOutput{}) - pulumi.RegisterOutputType(LogsArchiveAzureArchivePtrOutput{}) - pulumi.RegisterOutputType(LogsArchiveGcsArchiveOutput{}) - pulumi.RegisterOutputType(LogsArchiveGcsArchivePtrOutput{}) - pulumi.RegisterOutputType(LogsArchiveS3ArchiveOutput{}) - pulumi.RegisterOutputType(LogsArchiveS3ArchivePtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineFilterOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineFilterArrayOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorArrayOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorArithmeticProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorArithmeticProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorAttributeRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorAttributeRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorCategoryOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorCategoryArrayOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorDateRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorDateRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorGeoIpParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorGeoIpParserPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserGrokOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorGrokParserGrokPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorLookupProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorLookupProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorMessageRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorMessageRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelinePtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineFilterOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineFilterArrayOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorArrayOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArrayOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorDateRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorDateRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUrlParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUrlParserPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorReferenceTableLookupProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorReferenceTableLookupProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorServiceRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorServiceRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorStatusRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorStatusRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorStringBuilderProcessorOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorStringBuilderProcessorPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorTraceIdRemapperOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorTraceIdRemapperPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorUrlParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorUrlParserPtrOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorUserAgentParserOutput{}) - pulumi.RegisterOutputType(LogsCustomPipelineProcessorUserAgentParserPtrOutput{}) - pulumi.RegisterOutputType(LogsIndexDailyLimitResetOutput{}) - pulumi.RegisterOutputType(LogsIndexDailyLimitResetPtrOutput{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxisInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionXaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxisPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionXaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxisInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxisPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionYaxisArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinitionInput)(nil)).Elem(), PowerpackWidgetServiceLevelObjectiveDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetServiceLevelObjectiveDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionCustomLinkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLinkArrayInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionCustomLinkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQueryInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQueryPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySortInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQuerySortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQuerySortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionCustomLinkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLinkArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionCustomLinkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInlineInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendInlineArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInlinePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendInlineArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTableInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendTableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTablePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendTableArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyleInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStylePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionCustomLinkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEventInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionEventArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEventArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionEventArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarkerInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionMarkerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarkerArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionMarkerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadataInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestMetadataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterOutputType(LogsIndexExclusionFilterOutput{}) pulumi.RegisterOutputType(LogsIndexExclusionFilterArrayOutput{}) pulumi.RegisterOutputType(LogsIndexExclusionFilterFilterOutput{}) @@ -90424,4 +89393,264 @@ func init() { pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput{}) pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionXaxisOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionYaxisOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetServiceLevelObjectiveDefinitionOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionCustomLinkOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQuerySortOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionCustomLinkOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendInlineOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendTableOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestStyleOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionEventOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionEventArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionMarkerOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) } diff --git a/sdk/go/datadog/pulumiTypes2.go b/sdk/go/datadog/pulumiTypes2.go index 0db473d20..73aca0650 100644 --- a/sdk/go/datadog/pulumiTypes2.go +++ b/sdk/go/datadog/pulumiTypes2.go @@ -13,22787 +13,6 @@ import ( var _ = internal.GetEnvOrDefault -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYLogQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYProcessQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) -} - -// A list of processes. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { - if v == nil { - return nil - } - return v.SearchBy - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYRumQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy `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 []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput `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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) -} - -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) -} - -type PowerpackWidgetScatterplotDefinitionXaxis 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"` -} - -// PowerpackWidgetScatterplotDefinitionXaxisInput is an input type that accepts PowerpackWidgetScatterplotDefinitionXaxisArgs and PowerpackWidgetScatterplotDefinitionXaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionXaxisInput` via: -// -// PowerpackWidgetScatterplotDefinitionXaxisArgs{...} -type PowerpackWidgetScatterplotDefinitionXaxisInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput - ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput -} - -type PowerpackWidgetScatterplotDefinitionXaxisArgs 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 (PowerpackWidgetScatterplotDefinitionXaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { - return i.ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput).ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionXaxisPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionXaxisArgs, PowerpackWidgetScatterplotDefinitionXaxisPtr and PowerpackWidgetScatterplotDefinitionXaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionXaxisPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionXaxisArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionXaxisPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput - ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput -} - -type powerpackWidgetScatterplotDefinitionXaxisPtrType PowerpackWidgetScatterplotDefinitionXaxisArgs - -func PowerpackWidgetScatterplotDefinitionXaxisPtr(v *PowerpackWidgetScatterplotDefinitionXaxisArgs) PowerpackWidgetScatterplotDefinitionXaxisPtrInput { - return (*powerpackWidgetScatterplotDefinitionXaxisPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionXaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionXaxisOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionXaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionXaxis) *PowerpackWidgetScatterplotDefinitionXaxis { - return &v - }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) -} - -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Max }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Min }).(pulumi.StringPtrOutput) -} - -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionXaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionXaxisPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionXaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) PowerpackWidgetScatterplotDefinitionXaxis { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionXaxis - return ret - }).(PowerpackWidgetScatterplotDefinitionXaxisOutput) -} - -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *bool { - if v == nil { - return nil - } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { - if v == nil { - return nil - } - return v.Max - }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { - if v == nil { - return nil - } - return v.Min - }).(pulumi.StringPtrOutput) -} - -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { - if v == nil { - return nil - } - return v.Scale - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionYaxis 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"` -} - -// PowerpackWidgetScatterplotDefinitionYaxisInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs and PowerpackWidgetScatterplotDefinitionYaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisInput` via: -// -// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} -type PowerpackWidgetScatterplotDefinitionYaxisInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput - ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput -} - -type PowerpackWidgetScatterplotDefinitionYaxisArgs 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 (PowerpackWidgetScatterplotDefinitionYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { - return i.ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput).ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx) -} - -// PowerpackWidgetScatterplotDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs, PowerpackWidgetScatterplotDefinitionYaxisPtr and PowerpackWidgetScatterplotDefinitionYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionYaxisPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput - ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput -} - -type powerpackWidgetScatterplotDefinitionYaxisPtrType PowerpackWidgetScatterplotDefinitionYaxisArgs - -func PowerpackWidgetScatterplotDefinitionYaxisPtr(v *PowerpackWidgetScatterplotDefinitionYaxisArgs) PowerpackWidgetScatterplotDefinitionYaxisPtrInput { - return (*powerpackWidgetScatterplotDefinitionYaxisPtrType)(v) -} - -func (*powerpackWidgetScatterplotDefinitionYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() -} - -func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionYaxisOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionYaxis) *PowerpackWidgetScatterplotDefinitionYaxis { - return &v - }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) -} - -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) -} - -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionYaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) PowerpackWidgetScatterplotDefinitionYaxis { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionYaxis - return ret - }).(PowerpackWidgetScatterplotDefinitionYaxisOutput) -} - -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *bool { - if v == nil { - return nil - } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Max - }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Min - }).(pulumi.StringPtrOutput) -} - -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Scale - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetServiceLevelObjectiveDefinition struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The global time target of the widget. - GlobalTimeTarget *string `pulumi:"globalTimeTarget"` - // Whether to show the error budget or not. - ShowErrorBudget *bool `pulumi:"showErrorBudget"` - // The ID of the service level objective used by the widget. - SloId string `pulumi:"sloId"` - // A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. - TimeWindows []string `pulumi:"timeWindows"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` - // The view mode for the widget. Valid values are `overall`, `component`, `both`. - ViewMode string `pulumi:"viewMode"` - // The type of view to use when displaying the widget. Only `detail` is supported. - ViewType string `pulumi:"viewType"` -} - -// PowerpackWidgetServiceLevelObjectiveDefinitionInput is an input type that accepts PowerpackWidgetServiceLevelObjectiveDefinitionArgs and PowerpackWidgetServiceLevelObjectiveDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetServiceLevelObjectiveDefinitionInput` via: -// -// PowerpackWidgetServiceLevelObjectiveDefinitionArgs{...} -type PowerpackWidgetServiceLevelObjectiveDefinitionInput interface { - pulumi.Input - - ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput - ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput -} - -type PowerpackWidgetServiceLevelObjectiveDefinitionArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The global time target of the widget. - GlobalTimeTarget pulumi.StringPtrInput `pulumi:"globalTimeTarget"` - // Whether to show the error budget or not. - ShowErrorBudget pulumi.BoolPtrInput `pulumi:"showErrorBudget"` - // The ID of the service level objective used by the widget. - SloId pulumi.StringInput `pulumi:"sloId"` - // A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. - TimeWindows pulumi.StringArrayInput `pulumi:"timeWindows"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` - // The view mode for the widget. Valid values are `overall`, `component`, `both`. - ViewMode pulumi.StringInput `pulumi:"viewMode"` - // The type of view to use when displaying the widget. Only `detail` is supported. - ViewType pulumi.StringInput `pulumi:"viewType"` -} - -func (PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() -} - -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) -} - -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput).ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx) -} - -// PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput is an input type that accepts PowerpackWidgetServiceLevelObjectiveDefinitionArgs, PowerpackWidgetServiceLevelObjectiveDefinitionPtr and PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput` via: -// -// PowerpackWidgetServiceLevelObjectiveDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput interface { - pulumi.Input - - ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput - ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput -} - -type powerpackWidgetServiceLevelObjectiveDefinitionPtrType PowerpackWidgetServiceLevelObjectiveDefinitionArgs - -func PowerpackWidgetServiceLevelObjectiveDefinitionPtr(v *PowerpackWidgetServiceLevelObjectiveDefinitionArgs) PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput { - return (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType)(v) -} - -func (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() -} - -func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) -} - -type PowerpackWidgetServiceLevelObjectiveDefinitionOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return o -} - -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return o -} - -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return o.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServiceLevelObjectiveDefinition) *PowerpackWidgetServiceLevelObjectiveDefinition { - return &v - }).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) -} - -// The global time target of the widget. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) GlobalTimeTarget() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.GlobalTimeTarget }).(pulumi.StringPtrOutput) -} - -// Whether to show the error budget or not. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ShowErrorBudget() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *bool { return v.ShowErrorBudget }).(pulumi.BoolPtrOutput) -} - -// The ID of the service level objective used by the widget. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) string { return v.SloId }).(pulumi.StringOutput) -} - -// A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) TimeWindows() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) []string { return v.TimeWindows }).(pulumi.StringArrayOutput) -} - -// The title of the widget. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) -} - -// The view mode for the widget. Valid values are `overall`, `component`, `both`. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ViewMode() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) string { return v.ViewMode }).(pulumi.StringOutput) -} - -// The type of view to use when displaying the widget. Only `detail` is supported. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ViewType() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetServiceLevelObjectiveDefinition) string { return v.ViewType }).(pulumi.StringOutput) -} - -type PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) Elem() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) PowerpackWidgetServiceLevelObjectiveDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetServiceLevelObjectiveDefinition - return ret - }).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) -} - -// The global time target of the widget. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) GlobalTimeTarget() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return v.GlobalTimeTarget - }).(pulumi.StringPtrOutput) -} - -// Whether to show the error budget or not. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ShowErrorBudget() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *bool { - if v == nil { - return nil - } - return v.ShowErrorBudget - }).(pulumi.BoolPtrOutput) -} - -// The ID of the service level objective used by the widget. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) -} - -// A list of time windows to display in the widget. Valid values are `7d`, `30d`, `90d`, `weekToDate`, `previousWeek`, `monthToDate`, `previousMonth`, `globalTime`. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) TimeWindows() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) []string { - if v == nil { - return nil - } - return v.TimeWindows - }).(pulumi.StringArrayOutput) -} - -// The title of the widget. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) -} - -// The view mode for the widget. Valid values are `overall`, `component`, `both`. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ViewMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return &v.ViewMode - }).(pulumi.StringPtrOutput) -} - -// The type of view to use when displaying the widget. Only `detail` is supported. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ViewType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { - if v == nil { - return nil - } - return &v.ViewType - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetServicemapDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetServicemapDefinitionCustomLink `pulumi:"customLinks"` - // Your environment and primary tag (or `*` if enabled for your account). - Filters []string `pulumi:"filters"` - // The ID of the service to map. - Service string `pulumi:"service"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` -} - -// PowerpackWidgetServicemapDefinitionInput is an input type that accepts PowerpackWidgetServicemapDefinitionArgs and PowerpackWidgetServicemapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionInput` via: -// -// PowerpackWidgetServicemapDefinitionArgs{...} -type PowerpackWidgetServicemapDefinitionInput interface { - pulumi.Input - - ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput - ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionOutput -} - -type PowerpackWidgetServicemapDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetServicemapDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // Your environment and primary tag (or `*` if enabled for your account). - Filters pulumi.StringArrayInput `pulumi:"filters"` - // The ID of the service to map. - Service pulumi.StringInput `pulumi:"service"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` -} - -func (PowerpackWidgetServicemapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() -} - -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { - return i.ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput) -} - -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { - return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput).ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx) -} - -// PowerpackWidgetServicemapDefinitionPtrInput is an input type that accepts PowerpackWidgetServicemapDefinitionArgs, PowerpackWidgetServicemapDefinitionPtr and PowerpackWidgetServicemapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionPtrInput` via: -// -// PowerpackWidgetServicemapDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetServicemapDefinitionPtrInput interface { - pulumi.Input - - ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput - ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionPtrOutput -} - -type powerpackWidgetServicemapDefinitionPtrType PowerpackWidgetServicemapDefinitionArgs - -func PowerpackWidgetServicemapDefinitionPtr(v *PowerpackWidgetServicemapDefinitionArgs) PowerpackWidgetServicemapDefinitionPtrInput { - return (*powerpackWidgetServicemapDefinitionPtrType)(v) -} - -func (*powerpackWidgetServicemapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() -} - -func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { - return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionPtrOutput) -} - -type PowerpackWidgetServicemapDefinitionOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetServicemapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { - return o -} - -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { - return o -} - -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { - return o.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServicemapDefinition) *PowerpackWidgetServicemapDefinition { - return &v - }).(PowerpackWidgetServicemapDefinitionPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetServicemapDefinitionOutput) CustomLinks() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) []PowerpackWidgetServicemapDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) -} - -// Your environment and primary tag (or `*` if enabled for your account). -func (o PowerpackWidgetServicemapDefinitionOutput) Filters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) []string { return v.Filters }).(pulumi.StringArrayOutput) -} - -// The ID of the service to map. -func (o PowerpackWidgetServicemapDefinitionOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) string { return v.Service }).(pulumi.StringOutput) -} - -// The title of the widget. -func (o PowerpackWidgetServicemapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetServicemapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetServicemapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetServicemapDefinitionPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetServicemapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetServicemapDefinitionPtrOutput) Elem() PowerpackWidgetServicemapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) PowerpackWidgetServicemapDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetServicemapDefinition - return ret - }).(PowerpackWidgetServicemapDefinitionOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetServicemapDefinitionPtrOutput) CustomLinks() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) []PowerpackWidgetServicemapDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) -} - -// Your environment and primary tag (or `*` if enabled for your account). -func (o PowerpackWidgetServicemapDefinitionPtrOutput) Filters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) []string { - if v == nil { - return nil - } - return v.Filters - }).(pulumi.StringArrayOutput) -} - -// The ID of the service to map. -func (o PowerpackWidgetServicemapDefinitionPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetServicemapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetServicemapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetServicemapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetServicemapDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` -} - -// PowerpackWidgetServicemapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetServicemapDefinitionCustomLinkArgs and PowerpackWidgetServicemapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionCustomLinkInput` via: -// -// PowerpackWidgetServicemapDefinitionCustomLinkArgs{...} -type PowerpackWidgetServicemapDefinitionCustomLinkInput interface { - pulumi.Input - - ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput - ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput -} - -type PowerpackWidgetServicemapDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` -} - -func (PowerpackWidgetServicemapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkOutput) -} - -// PowerpackWidgetServicemapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetServicemapDefinitionCustomLinkArray and PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionCustomLinkArrayInput` via: -// -// PowerpackWidgetServicemapDefinitionCustomLinkArray{ PowerpackWidgetServicemapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetServicemapDefinitionCustomLinkArrayInput interface { - pulumi.Input - - ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput -} - -type PowerpackWidgetServicemapDefinitionCustomLinkArray []PowerpackWidgetServicemapDefinitionCustomLinkInput - -func (PowerpackWidgetServicemapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) -} - -type PowerpackWidgetServicemapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetServicemapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { - return o -} - -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { - return o -} - -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// The URL of the custom link. -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) -} - -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetServicemapDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetServicemapDefinitionCustomLink { - return vs[0].([]PowerpackWidgetServicemapDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetServicemapDefinitionCustomLinkOutput) -} - -type PowerpackWidgetSloListDefinition struct { - // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. - Request PowerpackWidgetSloListDefinitionRequest `pulumi:"request"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` -} - -// PowerpackWidgetSloListDefinitionInput is an input type that accepts PowerpackWidgetSloListDefinitionArgs and PowerpackWidgetSloListDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionInput` via: -// -// PowerpackWidgetSloListDefinitionArgs{...} -type PowerpackWidgetSloListDefinitionInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput - ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionOutput -} - -type PowerpackWidgetSloListDefinitionArgs struct { - // A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. - Request PowerpackWidgetSloListDefinitionRequestInput `pulumi:"request"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` -} - -func (PowerpackWidgetSloListDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() -} - -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { - return i.ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput) -} - -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput).ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSloListDefinitionPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionArgs, PowerpackWidgetSloListDefinitionPtr and PowerpackWidgetSloListDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionPtrInput` via: -// -// PowerpackWidgetSloListDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSloListDefinitionPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput - ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionPtrOutput -} - -type powerpackWidgetSloListDefinitionPtrType PowerpackWidgetSloListDefinitionArgs - -func PowerpackWidgetSloListDefinitionPtr(v *PowerpackWidgetSloListDefinitionArgs) PowerpackWidgetSloListDefinitionPtrInput { - return (*powerpackWidgetSloListDefinitionPtrType)(v) -} - -func (*powerpackWidgetSloListDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() -} - -func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionPtrOutput) -} - -type PowerpackWidgetSloListDefinitionOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { - return o.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinition) *PowerpackWidgetSloListDefinition { - return &v - }).(PowerpackWidgetSloListDefinitionPtrOutput) -} - -// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. -func (o PowerpackWidgetSloListDefinitionOutput) Request() PowerpackWidgetSloListDefinitionRequestOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinition) PowerpackWidgetSloListDefinitionRequest { return v.Request }).(PowerpackWidgetSloListDefinitionRequestOutput) -} - -// The title of the widget. -func (o PowerpackWidgetSloListDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetSloListDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetSloListDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSloListDefinitionPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionPtrOutput) Elem() PowerpackWidgetSloListDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) PowerpackWidgetSloListDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetSloListDefinition - return ret - }).(PowerpackWidgetSloListDefinitionOutput) -} - -// A nested block describing the request to use when displaying the widget. Exactly one `request` block is allowed. -func (o PowerpackWidgetSloListDefinitionPtrOutput) Request() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *PowerpackWidgetSloListDefinitionRequest { - if v == nil { - return nil - } - return &v.Request - }).(PowerpackWidgetSloListDefinitionRequestPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetSloListDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetSloListDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetSloListDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSloListDefinitionRequest struct { - // Updated SLO List widget. - Query PowerpackWidgetSloListDefinitionRequestQuery `pulumi:"query"` - // The request type for the SLO List request. Valid values are `sloList`. - RequestType string `pulumi:"requestType"` -} - -// PowerpackWidgetSloListDefinitionRequestInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestArgs and PowerpackWidgetSloListDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestInput` via: -// -// PowerpackWidgetSloListDefinitionRequestArgs{...} -type PowerpackWidgetSloListDefinitionRequestInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput - ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestOutput -} - -type PowerpackWidgetSloListDefinitionRequestArgs struct { - // Updated SLO List widget. - Query PowerpackWidgetSloListDefinitionRequestQueryInput `pulumi:"query"` - // The request type for the SLO List request. Valid values are `sloList`. - RequestType pulumi.StringInput `pulumi:"requestType"` -} - -func (PowerpackWidgetSloListDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() -} - -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestOutput) -} - -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestOutput).ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSloListDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestArgs, PowerpackWidgetSloListDefinitionRequestPtr and PowerpackWidgetSloListDefinitionRequestPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestPtrInput` via: -// -// PowerpackWidgetSloListDefinitionRequestArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSloListDefinitionRequestPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput - ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput -} - -type powerpackWidgetSloListDefinitionRequestPtrType PowerpackWidgetSloListDefinitionRequestArgs - -func PowerpackWidgetSloListDefinitionRequestPtr(v *PowerpackWidgetSloListDefinitionRequestArgs) PowerpackWidgetSloListDefinitionRequestPtrInput { - return (*powerpackWidgetSloListDefinitionRequestPtrType)(v) -} - -func (*powerpackWidgetSloListDefinitionRequestPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() -} - -func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestPtrOutput) -} - -type PowerpackWidgetSloListDefinitionRequestOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return o.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequest) *PowerpackWidgetSloListDefinitionRequest { - return &v - }).(PowerpackWidgetSloListDefinitionRequestPtrOutput) -} - -// Updated SLO List widget. -func (o PowerpackWidgetSloListDefinitionRequestOutput) Query() PowerpackWidgetSloListDefinitionRequestQueryOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequestQuery { - return v.Query - }).(PowerpackWidgetSloListDefinitionRequestQueryOutput) -} - -// The request type for the SLO List request. Valid values are `sloList`. -func (o PowerpackWidgetSloListDefinitionRequestOutput) RequestType() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequest) string { return v.RequestType }).(pulumi.StringOutput) -} - -type PowerpackWidgetSloListDefinitionRequestPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionRequestPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequest { - if v != nil { - return *v - } - var ret PowerpackWidgetSloListDefinitionRequest - return ret - }).(PowerpackWidgetSloListDefinitionRequestOutput) -} - -// Updated SLO List widget. -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) Query() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) *PowerpackWidgetSloListDefinitionRequestQuery { - if v == nil { - return nil - } - return &v.Query - }).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) -} - -// The request type for the SLO List request. Valid values are `sloList`. -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) RequestType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) *string { - if v == nil { - return nil - } - return &v.RequestType - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSloListDefinitionRequestQuery struct { - // Maximum number of results to display in the table. Defaults to `100`. - Limit *int `pulumi:"limit"` - // Widget query. - QueryString string `pulumi:"queryString"` - // The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. - Sort *PowerpackWidgetSloListDefinitionRequestQuerySort `pulumi:"sort"` -} - -// PowerpackWidgetSloListDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQueryArgs and PowerpackWidgetSloListDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQueryInput` via: -// -// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} -type PowerpackWidgetSloListDefinitionRequestQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput - ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput -} - -type PowerpackWidgetSloListDefinitionRequestQueryArgs struct { - // Maximum number of results to display in the table. Defaults to `100`. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Widget query. - QueryString pulumi.StringInput `pulumi:"queryString"` - // The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. - Sort PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput `pulumi:"sort"` -} - -func (PowerpackWidgetSloListDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput) -} - -func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput).ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSloListDefinitionRequestQueryPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQueryArgs, PowerpackWidgetSloListDefinitionRequestQueryPtr and PowerpackWidgetSloListDefinitionRequestQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQueryPtrInput` via: -// -// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSloListDefinitionRequestQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput - ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput -} - -type powerpackWidgetSloListDefinitionRequestQueryPtrType PowerpackWidgetSloListDefinitionRequestQueryArgs - -func PowerpackWidgetSloListDefinitionRequestQueryPtr(v *PowerpackWidgetSloListDefinitionRequestQueryArgs) PowerpackWidgetSloListDefinitionRequestQueryPtrInput { - return (*powerpackWidgetSloListDefinitionRequestQueryPtrType)(v) -} - -func (*powerpackWidgetSloListDefinitionRequestQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) -} - -type PowerpackWidgetSloListDefinitionRequestQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return o.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequestQuery) *PowerpackWidgetSloListDefinitionRequestQuery { - return &v - }).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) -} - -// Maximum number of results to display in the table. Defaults to `100`. -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// Widget query. -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) QueryString() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuery) string { return v.QueryString }).(pulumi.StringOutput) -} - -// The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) Sort() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuery) *PowerpackWidgetSloListDefinitionRequestQuerySort { - return v.Sort - }).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) -} - -type PowerpackWidgetSloListDefinitionRequestQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) PowerpackWidgetSloListDefinitionRequestQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSloListDefinitionRequestQuery - return ret - }).(PowerpackWidgetSloListDefinitionRequestQueryOutput) -} - -// Maximum number of results to display in the table. Defaults to `100`. -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// Widget query. -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) QueryString() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) *string { - if v == nil { - return nil - } - return &v.QueryString - }).(pulumi.StringPtrOutput) -} - -// The facet and order to sort the data, for example: `{"column": "status.sli", "order": "desc"}`. -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) Sort() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) *PowerpackWidgetSloListDefinitionRequestQuerySort { - if v == nil { - return nil - } - return v.Sort - }).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) -} - -type PowerpackWidgetSloListDefinitionRequestQuerySort struct { - // The facet path for the column. - Column string `pulumi:"column"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetSloListDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQuerySortArgs and PowerpackWidgetSloListDefinitionRequestQuerySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQuerySortInput` via: -// -// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} -type PowerpackWidgetSloListDefinitionRequestQuerySortInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput - ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput -} - -type PowerpackWidgetSloListDefinitionRequestQuerySortArgs struct { - // The facet path for the column. - Column pulumi.StringInput `pulumi:"column"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() -} - -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) -} - -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput).ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQuerySortArgs, PowerpackWidgetSloListDefinitionRequestQuerySortPtr and PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput` via: -// -// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput - ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput -} - -type powerpackWidgetSloListDefinitionRequestQuerySortPtrType PowerpackWidgetSloListDefinitionRequestQuerySortArgs - -func PowerpackWidgetSloListDefinitionRequestQuerySortPtr(v *PowerpackWidgetSloListDefinitionRequestQuerySortArgs) PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput { - return (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType)(v) -} - -func (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() -} - -func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) -} - -type PowerpackWidgetSloListDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequestQuerySort) *PowerpackWidgetSloListDefinitionRequestQuerySort { - return &v - }).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) -} - -// The facet path for the column. -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) Column() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuerySort) string { return v.Column }).(pulumi.StringOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuerySort) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() -} - -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o -} - -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) PowerpackWidgetSloListDefinitionRequestQuerySort { - if v != nil { - return *v - } - var ret PowerpackWidgetSloListDefinitionRequestQuerySort - return ret - }).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) -} - -// The facet path for the column. -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Column() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) *string { - if v == nil { - return nil - } - return &v.Column - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinition struct { - // Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. - CustomLinks []PowerpackWidgetSunburstDefinitionCustomLink `pulumi:"customLinks"` - // Whether or not to show the total value in the widget. - HideTotal *bool `pulumi:"hideTotal"` - // Used to configure the inline legend. Cannot be used in conjunction with legend*table. - LegendInline *PowerpackWidgetSunburstDefinitionLegendInline `pulumi:"legendInline"` - // Used to configure the table legend. Cannot be used in conjunction with legend*inline. - LegendTable *PowerpackWidgetSunburstDefinitionLegendTable `pulumi:"legendTable"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). - Requests []PowerpackWidgetSunburstDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title. Default is 16. - TitleSize *string `pulumi:"titleSize"` -} - -// PowerpackWidgetSunburstDefinitionInput is an input type that accepts PowerpackWidgetSunburstDefinitionArgs and PowerpackWidgetSunburstDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionInput` via: -// -// PowerpackWidgetSunburstDefinitionArgs{...} -type PowerpackWidgetSunburstDefinitionInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput - ToPowerpackWidgetSunburstDefinitionOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionOutput -} - -type PowerpackWidgetSunburstDefinitionArgs struct { - // Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. - CustomLinks PowerpackWidgetSunburstDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // Whether or not to show the total value in the widget. - HideTotal pulumi.BoolPtrInput `pulumi:"hideTotal"` - // Used to configure the inline legend. Cannot be used in conjunction with legend*table. - LegendInline PowerpackWidgetSunburstDefinitionLegendInlinePtrInput `pulumi:"legendInline"` - // Used to configure the table legend. Cannot be used in conjunction with legend*inline. - LegendTable PowerpackWidgetSunburstDefinitionLegendTablePtrInput `pulumi:"legendTable"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). - Requests PowerpackWidgetSunburstDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. - TitleAlign pulumi.StringPtrInput `pulumi:"titleAlign"` - // The size of the widget's title. Default is 16. - TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` -} - -func (PowerpackWidgetSunburstDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinition)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { - return i.ToPowerpackWidgetSunburstDefinitionOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput) -} - -func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput).ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionArgs, PowerpackWidgetSunburstDefinitionPtr and PowerpackWidgetSunburstDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput - ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionPtrOutput -} - -type powerpackWidgetSunburstDefinitionPtrType PowerpackWidgetSunburstDefinitionArgs - -func PowerpackWidgetSunburstDefinitionPtr(v *PowerpackWidgetSunburstDefinitionArgs) PowerpackWidgetSunburstDefinitionPtrInput { - return (*powerpackWidgetSunburstDefinitionPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinition)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinition { - return &v - }).(PowerpackWidgetSunburstDefinitionPtrOutput) -} - -// Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. -func (o PowerpackWidgetSunburstDefinitionOutput) CustomLinks() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) -} - -// Whether or not to show the total value in the widget. -func (o PowerpackWidgetSunburstDefinitionOutput) HideTotal() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *bool { return v.HideTotal }).(pulumi.BoolPtrOutput) -} - -// Used to configure the inline legend. Cannot be used in conjunction with legend*table. -func (o PowerpackWidgetSunburstDefinitionOutput) LegendInline() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendInline { - return v.LegendInline - }).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) -} - -// Used to configure the table legend. Cannot be used in conjunction with legend*inline. -func (o PowerpackWidgetSunburstDefinitionOutput) LegendTable() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendTable { - return v.LegendTable - }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetSunburstDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} - -// Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). -func (o PowerpackWidgetSunburstDefinitionOutput) Requests() PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionRequest { - return v.Requests - }).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) -} - -// The title of the widget. -func (o PowerpackWidgetSunburstDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetSunburstDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title. Default is 16. -func (o PowerpackWidgetSunburstDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionPtrOutput) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionPtrOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionPtrOutput) Elem() PowerpackWidgetSunburstDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) PowerpackWidgetSunburstDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinition - return ret - }).(PowerpackWidgetSunburstDefinitionOutput) -} - -// Nested block describing a custom link. Multiple `customLink` blocks are allowed with the structure below. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) CustomLinks() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) -} - -// Whether or not to show the total value in the widget. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) HideTotal() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *bool { - if v == nil { - return nil - } - return v.HideTotal - }).(pulumi.BoolPtrOutput) -} - -// Used to configure the inline legend. Cannot be used in conjunction with legend*table. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) LegendInline() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendInline { - if v == nil { - return nil - } - return v.LegendInline - }).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) -} - -// Used to configure the table legend. Cannot be used in conjunction with legend*inline. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) LegendTable() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinitionLegendTable { - if v == nil { - return nil - } - return v.LegendTable - }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) -} - -// Nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed with the structure below (exactly one of `q`, `logQuery` or `rumQuery` is required within the `request` block). -func (o PowerpackWidgetSunburstDefinitionPtrOutput) Requests() PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) []PowerpackWidgetSunburstDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) -} - -// The title of the widget. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. One of `left`, `center`, or `right`. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title. Default is 16. -func (o PowerpackWidgetSunburstDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` -} - -// PowerpackWidgetSunburstDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetSunburstDefinitionCustomLinkArgs and PowerpackWidgetSunburstDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionCustomLinkInput` via: -// -// PowerpackWidgetSunburstDefinitionCustomLinkArgs{...} -type PowerpackWidgetSunburstDefinitionCustomLinkInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput - ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput -} - -type PowerpackWidgetSunburstDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` -} - -func (PowerpackWidgetSunburstDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionCustomLinkArgs) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionCustomLinkArgs) ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionCustomLinkOutput) -} - -// PowerpackWidgetSunburstDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionCustomLinkArray and PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionCustomLinkArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionCustomLinkArray{ PowerpackWidgetSunburstDefinitionCustomLinkArgs{...} } -type PowerpackWidgetSunburstDefinitionCustomLinkArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput - ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput -} - -type PowerpackWidgetSunburstDefinitionCustomLinkArray []PowerpackWidgetSunburstDefinitionCustomLinkInput - -func (PowerpackWidgetSunburstDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionCustomLinkOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput { - return o -} - -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// The URL of the custom link. -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) -} - -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionCustomLink { - return vs[0].([]PowerpackWidgetSunburstDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionCustomLinkOutput) -} - -type PowerpackWidgetSunburstDefinitionLegendInline struct { - // Whether to hide the percentages of the groups. - HidePercent *bool `pulumi:"hidePercent"` - // Whether to hide the values of the groups. - HideValue *bool `pulumi:"hideValue"` - // The type of legend (inline or automatic). Valid values are `inline`, `automatic`. - Type string `pulumi:"type"` -} - -// PowerpackWidgetSunburstDefinitionLegendInlineInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendInlineArgs and PowerpackWidgetSunburstDefinitionLegendInlineOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendInlineInput` via: -// -// PowerpackWidgetSunburstDefinitionLegendInlineArgs{...} -type PowerpackWidgetSunburstDefinitionLegendInlineInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput - ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput -} - -type PowerpackWidgetSunburstDefinitionLegendInlineArgs struct { - // Whether to hide the percentages of the groups. - HidePercent pulumi.BoolPtrInput `pulumi:"hidePercent"` - // Whether to hide the values of the groups. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // The type of legend (inline or automatic). Valid values are `inline`, `automatic`. - Type pulumi.StringInput `pulumi:"type"` -} - -func (PowerpackWidgetSunburstDefinitionLegendInlineArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) -} - -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput).ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionLegendInlinePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendInlineArgs, PowerpackWidgetSunburstDefinitionLegendInlinePtr and PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendInlinePtrInput` via: -// -// PowerpackWidgetSunburstDefinitionLegendInlineArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionLegendInlinePtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput - ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput -} - -type powerpackWidgetSunburstDefinitionLegendInlinePtrType PowerpackWidgetSunburstDefinitionLegendInlineArgs - -func PowerpackWidgetSunburstDefinitionLegendInlinePtr(v *PowerpackWidgetSunburstDefinitionLegendInlineArgs) PowerpackWidgetSunburstDefinitionLegendInlinePtrInput { - return (*powerpackWidgetSunburstDefinitionLegendInlinePtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionLegendInlinePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) -} - -type PowerpackWidgetSunburstDefinitionLegendInlineOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionLegendInlineOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionLegendInline) *PowerpackWidgetSunburstDefinitionLegendInline { - return &v - }).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) -} - -// Whether to hide the percentages of the groups. -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) HidePercent() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendInline) *bool { return v.HidePercent }).(pulumi.BoolPtrOutput) -} - -// Whether to hide the values of the groups. -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendInline) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) -} - -// The type of legend (inline or automatic). Valid values are `inline`, `automatic`. -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendInline) string { return v.Type }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) PowerpackWidgetSunburstDefinitionLegendInline { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionLegendInline - return ret - }).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) -} - -// Whether to hide the percentages of the groups. -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) HidePercent() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *bool { - if v == nil { - return nil - } - return v.HidePercent - }).(pulumi.BoolPtrOutput) -} - -// Whether to hide the values of the groups. -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *bool { - if v == nil { - return nil - } - return v.HideValue - }).(pulumi.BoolPtrOutput) -} - -// The type of legend (inline or automatic). Valid values are `inline`, `automatic`. -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionLegendTable struct { - // The type of legend (table or none). Valid values are `table`, `none`. - Type string `pulumi:"type"` -} - -// PowerpackWidgetSunburstDefinitionLegendTableInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendTableArgs and PowerpackWidgetSunburstDefinitionLegendTableOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendTableInput` via: -// -// PowerpackWidgetSunburstDefinitionLegendTableArgs{...} -type PowerpackWidgetSunburstDefinitionLegendTableInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput - ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput -} - -type PowerpackWidgetSunburstDefinitionLegendTableArgs struct { - // The type of legend (table or none). Valid values are `table`, `none`. - Type pulumi.StringInput `pulumi:"type"` -} - -func (PowerpackWidgetSunburstDefinitionLegendTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput) -} - -func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput).ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionLegendTablePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendTableArgs, PowerpackWidgetSunburstDefinitionLegendTablePtr and PowerpackWidgetSunburstDefinitionLegendTablePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendTablePtrInput` via: -// -// PowerpackWidgetSunburstDefinitionLegendTableArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionLegendTablePtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput - ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput -} - -type powerpackWidgetSunburstDefinitionLegendTablePtrType PowerpackWidgetSunburstDefinitionLegendTableArgs - -func PowerpackWidgetSunburstDefinitionLegendTablePtr(v *PowerpackWidgetSunburstDefinitionLegendTableArgs) PowerpackWidgetSunburstDefinitionLegendTablePtrInput { - return (*powerpackWidgetSunburstDefinitionLegendTablePtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionLegendTablePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) -} - -type PowerpackWidgetSunburstDefinitionLegendTableOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionLegendTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionLegendTable) *PowerpackWidgetSunburstDefinitionLegendTable { - return &v - }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) -} - -// The type of legend (table or none). Valid values are `table`, `none`. -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionLegendTable) string { return v.Type }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionLegendTablePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendTableOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendTable) PowerpackWidgetSunburstDefinitionLegendTable { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionLegendTable - return ret - }).(PowerpackWidgetSunburstDefinitionLegendTableOutput) -} - -// The type of legend (table or none). Valid values are `table`, `none`. -func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendTable) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequest struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetSunburstDefinitionRequestApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery *PowerpackWidgetSunburstDefinitionRequestAuditQuery `pulumi:"auditQuery"` - Formulas []PowerpackWidgetSunburstDefinitionRequestFormula `pulumi:"formulas"` - // The query to use for this widget. - LogQuery *PowerpackWidgetSunburstDefinitionRequestLogQuery `pulumi:"logQuery"` - // The query to use for this widget. - NetworkQuery *PowerpackWidgetSunburstDefinitionRequestNetworkQuery `pulumi:"networkQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetSunburstDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetSunburstDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetSunburstDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQuery `pulumi:"securityQuery"` - // Define style for the widget's request. - Style *PowerpackWidgetSunburstDefinitionRequestStyle `pulumi:"style"` -} - -// PowerpackWidgetSunburstDefinitionRequestInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestArgs and PowerpackWidgetSunburstDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestArgs{...} -type PowerpackWidgetSunburstDefinitionRequestInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput - ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestOutput -} - -type PowerpackWidgetSunburstDefinitionRequestArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` - Formulas PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The query to use for this widget. - LogQuery PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The query to use for this widget. - NetworkQuery PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput `pulumi:"networkQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetSunburstDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` - // Define style for the widget's request. - Style PowerpackWidgetSunburstDefinitionRequestStylePtrInput `pulumi:"style"` -} - -func (PowerpackWidgetSunburstDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestArray and PowerpackWidgetSunburstDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestArray{ PowerpackWidgetSunburstDefinitionRequestArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestArray []PowerpackWidgetSunburstDefinitionRequestInput - -func (PowerpackWidgetSunburstDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { - return o -} - -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) ApmQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) AuditQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { - return v.AuditQuery - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) -} - -func (o PowerpackWidgetSunburstDefinitionRequestOutput) Formulas() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) LogQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) NetworkQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestNetworkQuery { - return v.NetworkQuery - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) -} - -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) ProcessQuery() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) -} - -// The metric query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) -} - -func (o PowerpackWidgetSunburstDefinitionRequestOutput) Queries() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) RumQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) SecurityQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) -} - -// Define style for the widget's request. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) Style() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestStyle { - return v.Style - }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequest { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestApmQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestApmQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) PowerpackWidgetSunburstDefinitionRequestApmQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestApmQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) PowerpackWidgetSunburstDefinitionRequestAuditQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestAuditQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *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 PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs 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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetSunburstDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetSunburstDefinitionRequestFormulaStyle `pulumi:"style"` -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaArgs and PowerpackWidgetSunburstDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaArgs{...} -type PowerpackWidgetSunburstDefinitionRequestFormulaInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput `pulumi:"style"` -} - -func (PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaArray and PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaArray{ PowerpackWidgetSunburstDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaArray []PowerpackWidgetSunburstDefinitionRequestFormulaInput - -func (PowerpackWidgetSunburstDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { - return o -} - -// An expression alias. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) -} - -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) -} - -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) -} - -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) -} - -// The options for limiting results returned. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Limit() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) -} - -// Styling options for widget formulas. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Style() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *PowerpackWidgetSunburstDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestFormulaOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` -} - -func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput - -func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return o -} - -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) -} - -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) -} - -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) -} - -// Setting this to True hides values. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) -} - -// Displays an image as the background. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) -} - -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) -} - -// Defines the displayed timeframe. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) -} - -// A value for the comparator. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs and PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs, PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtr and PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs - -func PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) -} - -// The number of results to return. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) PowerpackWidgetSunburstDefinitionRequestFormulaLimit { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestFormulaLimit - return ret - }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *int { - if v == nil { - return nil - } - return v.Count - }).(pulumi.IntPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs and PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` -} - -func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs, PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr and PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs - -func PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *PowerpackWidgetSunburstDefinitionRequestFormulaStyle { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) -} - -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) PowerpackWidgetSunburstDefinitionRequestFormulaStyle { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestFormulaStyle - return ret - }).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) -} - -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *int { - if v == nil { - return nil - } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestLogQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestLogQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) PowerpackWidgetSunburstDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestLogQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *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 PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs 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 (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestNetworkQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *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 PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs 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 (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` -} - -// PowerpackWidgetSunburstDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs and PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestProcessQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` -} - -func (PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *PowerpackWidgetSunburstDefinitionRequestProcessQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) PowerpackWidgetSunburstDefinitionRequestProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestProcessQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) -} - -// A list of processes. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return v.SearchBy - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryArray and PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryArray{ PowerpackWidgetSunburstDefinitionRequestQueryArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestQueryArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryArray []PowerpackWidgetSunburstDefinitionRequestQueryInput - -func (PowerpackWidgetSunburstDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { - return o -} - -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// A timeseries formula and functions events query. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) -} - -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The process query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The SLO query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestQueryOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *bool { - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) -} - -// APM service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) -} - -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) -} - -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) []string { - return v.GroupBies - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) -} - -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } - return v.GroupBies - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) -} - -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The cloud cost query definition. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The cloud cost query definition. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group by options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The search options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// Storage location (private beta). -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) -} - -// The compute options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Group by options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil - } - return v.Indexes - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The search options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// Storage location (private beta). -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.Storage - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { - return o -} - -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// A time interval in milliseconds. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -// The measurable attribute to compute. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// The events search string. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) -} - -// The events search string. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The metrics query definition. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.DataSource - }).(pulumi.StringPtrOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The metrics query definition. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` -} - -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The process metric name. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) -} - -// An array of tags to filter by. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) -} - -// The text to use as a filter. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// The process metric name. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Sort - }).(pulumi.StringPtrOutput) -} - -// An array of tags to filter by. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) -} - -// The text to use as a filter. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.TextFilter - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` -} - -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs and PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` -} - -func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs, PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtr and PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// ID of an SLO to query. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) -} - -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestQuerySloQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.GroupMode - }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// ID of an SLO to query. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) -} - -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestRumQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestRumQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) PowerpackWidgetSunburstDefinitionRequestRumQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestRumQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *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 PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs 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 (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestSecurityQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute 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"` -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs 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 (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) -} - -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestStyle struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette *string `pulumi:"palette"` -} - -// PowerpackWidgetSunburstDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestStyleArgs and PowerpackWidgetSunburstDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestStyleInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestStyleArgs{...} -type PowerpackWidgetSunburstDefinitionRequestStyleInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput - ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput -} - -type PowerpackWidgetSunburstDefinitionRequestStyleArgs struct { - // A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. - Palette pulumi.StringPtrInput `pulumi:"palette"` -} - -func (PowerpackWidgetSunburstDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() -} - -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) -} - -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx) -} - -// PowerpackWidgetSunburstDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestStyleArgs, PowerpackWidgetSunburstDefinitionRequestStylePtr and PowerpackWidgetSunburstDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestStylePtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestStyleArgs{...} -// -// or: -// -// nil -type PowerpackWidgetSunburstDefinitionRequestStylePtrInput interface { - pulumi.Input - - ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput - ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput -} - -type powerpackWidgetSunburstDefinitionRequestStylePtrType PowerpackWidgetSunburstDefinitionRequestStyleArgs - -func PowerpackWidgetSunburstDefinitionRequestStylePtr(v *PowerpackWidgetSunburstDefinitionRequestStyleArgs) PowerpackWidgetSunburstDefinitionRequestStylePtrInput { - return (*powerpackWidgetSunburstDefinitionRequestStylePtrType)(v) -} - -func (*powerpackWidgetSunburstDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() -} - -func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestStyleOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestStyle) *PowerpackWidgetSunburstDefinitionRequestStyle { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) -} - -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetSunburstDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() -} - -func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o -} - -func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestStyle) PowerpackWidgetSunburstDefinitionRequestStyle { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestStyle - return ret - }).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) -} - -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetTimeseriesDefinitionCustomLink `pulumi:"customLinks"` - // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. - Events []PowerpackWidgetTimeseriesDefinitionEvent `pulumi:"events"` - // A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. - LegendColumns []string `pulumi:"legendColumns"` - // The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. - LegendLayout *string `pulumi:"legendLayout"` - // The size of the legend displayed in the widget. - LegendSize *string `pulumi:"legendSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan *string `pulumi:"liveSpan"` - // A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. - Markers []PowerpackWidgetTimeseriesDefinitionMarker `pulumi:"markers"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). - Requests []PowerpackWidgetTimeseriesDefinitionRequest `pulumi:"requests"` - // A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. - RightYaxis *PowerpackWidgetTimeseriesDefinitionRightYaxis `pulumi:"rightYaxis"` - // Whether or not to show the legend on this widget. - ShowLegend *bool `pulumi:"showLegend"` - // The title of the widget. - Title *string `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - TitleAlign *string `pulumi:"titleAlign"` - // The size of the widget's title (defaults to 16). - TitleSize *string `pulumi:"titleSize"` - // A nested block describing the Y-Axis Controls. The structure of this block is described below. - Yaxis *PowerpackWidgetTimeseriesDefinitionYaxis `pulumi:"yaxis"` -} - -// PowerpackWidgetTimeseriesDefinitionInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs and PowerpackWidgetTimeseriesDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionInput` via: -// -// PowerpackWidgetTimeseriesDefinitionArgs{...} -type PowerpackWidgetTimeseriesDefinitionInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput - ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionOutput -} - -type PowerpackWidgetTimeseriesDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput `pulumi:"customLinks"` - // The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. - Events PowerpackWidgetTimeseriesDefinitionEventArrayInput `pulumi:"events"` - // A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. - LegendColumns pulumi.StringArrayInput `pulumi:"legendColumns"` - // The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. - LegendLayout pulumi.StringPtrInput `pulumi:"legendLayout"` - // The size of the legend displayed in the widget. - LegendSize pulumi.StringPtrInput `pulumi:"legendSize"` - // The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. - LiveSpan pulumi.StringPtrInput `pulumi:"liveSpan"` - // A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. - Markers PowerpackWidgetTimeseriesDefinitionMarkerArrayInput `pulumi:"markers"` - // A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). - Requests PowerpackWidgetTimeseriesDefinitionRequestArrayInput `pulumi:"requests"` - // A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. - RightYaxis PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput `pulumi:"rightYaxis"` - // Whether or not to show the legend on this widget. - ShowLegend pulumi.BoolPtrInput `pulumi:"showLegend"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` - // The alignment of the widget's title. Valid values are `center`, `left`, `right`. - 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 Y-Axis Controls. The structure of this block is described below. - Yaxis PowerpackWidgetTimeseriesDefinitionYaxisPtrInput `pulumi:"yaxis"` -} - -func (PowerpackWidgetTimeseriesDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput).ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs, PowerpackWidgetTimeseriesDefinitionPtr and PowerpackWidgetTimeseriesDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput - ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionPtrType PowerpackWidgetTimeseriesDefinitionArgs - -func PowerpackWidgetTimeseriesDefinitionPtr(v *PowerpackWidgetTimeseriesDefinitionArgs) PowerpackWidgetTimeseriesDefinitionPtrInput { - return (*powerpackWidgetTimeseriesDefinitionPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinition { - return &v - }).(PowerpackWidgetTimeseriesDefinitionPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionOutput) CustomLinks() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) -} - -// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionOutput) Events() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionEvent { - return v.Events - }).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) -} - -// A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. -func (o PowerpackWidgetTimeseriesDefinitionOutput) LegendColumns() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []string { return v.LegendColumns }).(pulumi.StringArrayOutput) -} - -// The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. -func (o PowerpackWidgetTimeseriesDefinitionOutput) LegendLayout() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.LegendLayout }).(pulumi.StringPtrOutput) -} - -// The size of the legend displayed in the widget. -func (o PowerpackWidgetTimeseriesDefinitionOutput) LegendSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.LegendSize }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetTimeseriesDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} - -// A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. -func (o PowerpackWidgetTimeseriesDefinitionOutput) Markers() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionMarker { - return v.Markers - }).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) -} - -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). -func (o PowerpackWidgetTimeseriesDefinitionOutput) Requests() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionRequest { - return v.Requests - }).(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) -} - -// A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. -func (o PowerpackWidgetTimeseriesDefinitionOutput) RightYaxis() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionRightYaxis { - return v.RightYaxis - }).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) -} - -// Whether or not to show the legend on this widget. -func (o PowerpackWidgetTimeseriesDefinitionOutput) ShowLegend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *bool { return v.ShowLegend }).(pulumi.BoolPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetTimeseriesDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetTimeseriesDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetTimeseriesDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) -} - -// A nested block describing the Y-Axis Controls. The structure of this block is described below. -func (o PowerpackWidgetTimeseriesDefinitionOutput) Yaxis() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionYaxis { return v.Yaxis }).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) PowerpackWidgetTimeseriesDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinition - return ret - }).(PowerpackWidgetTimeseriesDefinitionOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) CustomLinks() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) -} - -// The definition of the event to overlay on the graph. Multiple `event` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Events() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionEvent { - if v == nil { - return nil - } - return v.Events - }).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) -} - -// A list of columns to display in the legend. Valid values are `value`, `avg`, `sum`, `min`, `max`. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LegendColumns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []string { - if v == nil { - return nil - } - return v.LegendColumns - }).(pulumi.StringArrayOutput) -} - -// The layout of the legend displayed in the widget. Valid values are `auto`, `horizontal`, `vertical`. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LegendLayout() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { - if v == nil { - return nil - } - return v.LegendLayout - }).(pulumi.StringPtrOutput) -} - -// The size of the legend displayed in the widget. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LegendSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { - if v == nil { - return nil - } - return v.LegendSize - }).(pulumi.StringPtrOutput) -} - -// The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) -} - -// A nested block describing the marker to use when displaying the widget. The structure of this block is described below. Multiple `marker` blocks are allowed within a given `tileDef` block. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Markers() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionMarker { - if v == nil { - return nil - } - return v.Markers - }).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) -} - -// A nested block describing the request to use when displaying the widget. Multiple `request` blocks are allowed using the structure below (exactly one of `q`, `apmQuery`, `logQuery`, `rumQuery`, `networkQuery`, `securityQuery` or `processQuery` is required within the `request` block). -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Requests() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) []PowerpackWidgetTimeseriesDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) -} - -// A nested block describing the right Y-Axis Controls. See the `onRightYaxis` property for which request will use this axis. The structure of this block is described below. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) RightYaxis() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionRightYaxis { - if v == nil { - return nil - } - return v.RightYaxis - }).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) -} - -// Whether or not to show the legend on this widget. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ShowLegend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *bool { - if v == nil { - return nil - } - return v.ShowLegend - }).(pulumi.BoolPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { - if v == nil { - return nil - } - return v.Title - }).(pulumi.StringPtrOutput) -} - -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { - if v == nil { - return nil - } - return v.TitleAlign - }).(pulumi.StringPtrOutput) -} - -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { - if v == nil { - return nil - } - return v.TitleSize - }).(pulumi.StringPtrOutput) -} - -// A nested block describing the Y-Axis Controls. The structure of this block is described below. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Yaxis() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinitionYaxis { - if v == nil { - return nil - } - return v.Yaxis - }).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionCustomLink struct { - // The flag for toggling context menu link visibility. - IsHidden *bool `pulumi:"isHidden"` - // The label for the custom link URL. - Label *string `pulumi:"label"` - // The URL of the custom link. - Link *string `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel *string `pulumi:"overrideLabel"` -} - -// PowerpackWidgetTimeseriesDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionCustomLinkArgs and PowerpackWidgetTimeseriesDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionCustomLinkInput` via: -// -// PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{...} -type PowerpackWidgetTimeseriesDefinitionCustomLinkInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput - ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput -} - -type PowerpackWidgetTimeseriesDefinitionCustomLinkArgs struct { - // The flag for toggling context menu link visibility. - IsHidden pulumi.BoolPtrInput `pulumi:"isHidden"` - // The label for the custom link URL. - Label pulumi.StringPtrInput `pulumi:"label"` - // The URL of the custom link. - Link pulumi.StringPtrInput `pulumi:"link"` - // The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. - OverrideLabel pulumi.StringPtrInput `pulumi:"overrideLabel"` -} - -func (PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) -} - -// PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionCustomLinkArray and PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionCustomLinkArray{ PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{...} } -type PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput - ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionCustomLinkArray []PowerpackWidgetTimeseriesDefinitionCustomLinkInput - -func (PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionCustomLinkOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return o -} - -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// The URL of the custom link. -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) -} - -// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionCustomLink { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) -} - -type PowerpackWidgetTimeseriesDefinitionEvent struct { - // The event query to use in the widget. - Q string `pulumi:"q"` - // The execution method for multi-value filters. - TagsExecution *string `pulumi:"tagsExecution"` -} - -// PowerpackWidgetTimeseriesDefinitionEventInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArgs and PowerpackWidgetTimeseriesDefinitionEventOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventInput` via: -// -// PowerpackWidgetTimeseriesDefinitionEventArgs{...} -type PowerpackWidgetTimeseriesDefinitionEventInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput - ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput -} - -type PowerpackWidgetTimeseriesDefinitionEventArgs struct { - // The event query to use in the widget. - Q pulumi.StringInput `pulumi:"q"` - // The execution method for multi-value filters. - TagsExecution pulumi.StringPtrInput `pulumi:"tagsExecution"` -} - -func (PowerpackWidgetTimeseriesDefinitionEventArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventOutput) -} - -// PowerpackWidgetTimeseriesDefinitionEventArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArray and PowerpackWidgetTimeseriesDefinitionEventArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionEventArray{ PowerpackWidgetTimeseriesDefinitionEventArgs{...} } -type PowerpackWidgetTimeseriesDefinitionEventArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput - ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionEventArray []PowerpackWidgetTimeseriesDefinitionEventInput - -func (PowerpackWidgetTimeseriesDefinitionEventArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionEventOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionEventOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { - return o -} - -// The event query to use in the widget. -func (o PowerpackWidgetTimeseriesDefinitionEventOutput) Q() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionEvent) string { return v.Q }).(pulumi.StringOutput) -} - -// The execution method for multi-value filters. -func (o PowerpackWidgetTimeseriesDefinitionEventOutput) TagsExecution() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionEvent) *string { return v.TagsExecution }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionEventArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionEventOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionEvent { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionEvent)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionEventOutput) -} - -type PowerpackWidgetTimeseriesDefinitionMarker struct { - // How the marker lines are displayed, options are one of {`error`, `warning`, `info`, `ok`} combined with one of {`dashed`, `solid`, `bold`}. Example: `error dashed`. - DisplayType *string `pulumi:"displayType"` - // A label for the line or range. - Label *string `pulumi:"label"` - // A mathematical expression describing the marker, for example: `y > 1`, `-5 < y < 0`, `y = 19`. - Value string `pulumi:"value"` -} - -// PowerpackWidgetTimeseriesDefinitionMarkerInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArgs and PowerpackWidgetTimeseriesDefinitionMarkerOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerInput` via: -// -// PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} -type PowerpackWidgetTimeseriesDefinitionMarkerInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput - ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput -} - -type PowerpackWidgetTimeseriesDefinitionMarkerArgs struct { - // How the marker lines are displayed, options are one of {`error`, `warning`, `info`, `ok`} combined with one of {`dashed`, `solid`, `bold`}. Example: `error dashed`. - DisplayType pulumi.StringPtrInput `pulumi:"displayType"` - // A label for the line or range. - Label pulumi.StringPtrInput `pulumi:"label"` - // A mathematical expression describing the marker, for example: `y > 1`, `-5 < y < 0`, `y = 19`. - Value pulumi.StringInput `pulumi:"value"` -} - -func (PowerpackWidgetTimeseriesDefinitionMarkerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerOutput) -} - -// PowerpackWidgetTimeseriesDefinitionMarkerArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArray and PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionMarkerArray{ PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} } -type PowerpackWidgetTimeseriesDefinitionMarkerArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput - ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionMarkerArray []PowerpackWidgetTimeseriesDefinitionMarkerInput - -func (PowerpackWidgetTimeseriesDefinitionMarkerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionMarkerOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionMarkerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { - return o -} - -// How the marker lines are displayed, options are one of {`error`, `warning`, `info`, `ok`} combined with one of {`dashed`, `solid`, `bold`}. Example: `error dashed`. -func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) DisplayType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionMarker) *string { return v.DisplayType }).(pulumi.StringPtrOutput) -} - -// A label for the line or range. -func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionMarker) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// A mathematical expression describing the marker, for example: `y > 1`, `-5 < y < 0`, `y = 19`. -func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionMarker) string { return v.Value }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionMarkerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionMarker { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionMarker)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionMarkerOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequest struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetTimeseriesDefinitionRequestApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery `pulumi:"auditQuery"` - // How to display the marker lines. Valid values are `area`, `bars`, `line`, `overlay`. - DisplayType *string `pulumi:"displayType"` - Formulas []PowerpackWidgetTimeseriesDefinitionRequestFormula `pulumi:"formulas"` - // The query to use for this widget. - LogQuery *PowerpackWidgetTimeseriesDefinitionRequestLogQuery `pulumi:"logQuery"` - // Used to define expression aliases. Multiple `metadata` blocks are allowed using the structure below. - Metadatas []PowerpackWidgetTimeseriesDefinitionRequestMetadata `pulumi:"metadatas"` - // The query to use for this widget. - NetworkQuery *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery `pulumi:"networkQuery"` - // A Boolean indicating whether the request uses the right or left Y-Axis. - OnRightYaxis *bool `pulumi:"onRightYaxis"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetTimeseriesDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetTimeseriesDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery `pulumi:"securityQuery"` - // The style of the widget graph. Exactly one `style` block is allowed using the structure below. - Style *PowerpackWidgetTimeseriesDefinitionRequestStyle `pulumi:"style"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestArgs and PowerpackWidgetTimeseriesDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput - ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput `pulumi:"auditQuery"` - // How to display the marker lines. Valid values are `area`, `bars`, `line`, `overlay`. - DisplayType pulumi.StringPtrInput `pulumi:"displayType"` - Formulas PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The query to use for this widget. - LogQuery PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // Used to define expression aliases. Multiple `metadata` blocks are allowed using the structure below. - Metadatas PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput `pulumi:"metadatas"` - // The query to use for this widget. - NetworkQuery PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput `pulumi:"networkQuery"` - // A Boolean indicating whether the request uses the right or left Y-Axis. - OnRightYaxis pulumi.BoolPtrInput `pulumi:"onRightYaxis"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` - // The style of the widget graph. Exactly one `style` block is allowed using the structure below. - Style PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput `pulumi:"style"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestArray and PowerpackWidgetTimeseriesDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestArray{ PowerpackWidgetTimeseriesDefinitionRequestArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestArray []PowerpackWidgetTimeseriesDefinitionRequestInput - -func (PowerpackWidgetTimeseriesDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestArray) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestArray) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { - return o -} - -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ApmQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) AuditQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { - return v.AuditQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) -} - -// How to display the marker lines. Valid values are `area`, `bars`, `line`, `overlay`. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) DisplayType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *string { return v.DisplayType }).(pulumi.StringPtrOutput) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Formulas() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) LogQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) -} - -// Used to define expression aliases. Multiple `metadata` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Metadatas() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestMetadata { - return v.Metadatas - }).(PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) NetworkQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { - return v.NetworkQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) -} - -// A Boolean indicating whether the request uses the right or left Y-Axis. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) OnRightYaxis() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *bool { return v.OnRightYaxis }).(pulumi.BoolPtrOutput) -} - -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ProcessQuery() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) -} - -// The metric query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Queries() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) RumQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) SecurityQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) -} - -// The style of the widget graph. Exactly one `style` block is allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Style() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestStyle { - return v.Style - }).(PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequest { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestApmQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormula struct { - // An expression alias. - Alias *string `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode *string `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle `pulumi:"style"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs struct { - // An expression alias. - Alias pulumi.StringPtrInput `pulumi:"alias"` - // A list of display modes for each table cell. Valid values are `number`, `bar`. - CellDisplayMode pulumi.StringPtrInput `pulumi:"cellDisplayMode"` - // Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. - ConditionalFormats PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput `pulumi:"style"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaInput - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { - return o -} - -// An expression alias. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) -} - -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) -} - -// Conditional formats allow you to set the color of your widget content or background depending on the rule applied to your data. Multiple `conditionalFormats` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) -} - -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) -} - -// The options for limiting results returned. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Limit() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) -} - -// Styling options for widget formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Style() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator string `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor *string `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor *string `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue *bool `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl *string `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric *string `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette string `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe *string `pulumi:"timeframe"` - // A value for the comparator. - Value float64 `pulumi:"value"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs struct { - // The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. - Comparator pulumi.StringInput `pulumi:"comparator"` - // The color palette to apply to the background, same values available as palette. - CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` - // The color palette to apply to the foreground, same values available as palette. - CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` - // Setting this to True hides values. - HideValue pulumi.BoolPtrInput `pulumi:"hideValue"` - // Displays an image as the background. - ImageUrl pulumi.StringPtrInput `pulumi:"imageUrl"` - // The metric from the request to correlate with this conditional format. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. - Palette pulumi.StringInput `pulumi:"palette"` - // Defines the displayed timeframe. - Timeframe pulumi.StringPtrInput `pulumi:"timeframe"` - // A value for the comparator. - Value pulumi.Float64Input `pulumi:"value"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { - return o -} - -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) -} - -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) -} - -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) -} - -// Setting this to True hides values. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) -} - -// Displays an image as the background. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) -} - -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// The color palette to apply. Valid values are `blue`, `customBg`, `customImage`, `customText`, `grayOnWhite`, `grey`, `green`, `orange`, `red`, `redOnWhite`, `whiteOnGray`, `whiteOnGreen`, `greenOnWhite`, `whiteOnRed`, `whiteOnYellow`, `yellowOnWhite`, `blackOnLightYellow`, `blackOnLightGreen`, `blackOnLightRed`. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) -} - -// Defines the displayed timeframe. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) -} - -// A value for the comparator. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit struct { - // The number of results to return. - Count *int `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order *string `pulumi:"order"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs struct { - // The number of results to return. - Count pulumi.IntPtrInput `pulumi:"count"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs, PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtr and PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs - -func PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) -} - -// The number of results to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *int { - if v == nil { - return nil - } - return v.Count - }).(pulumi.IntPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs struct { - // The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. - Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs, PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr and PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs - -func PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) -} - -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) -} - -// The color palette used to display the formula. A guide to the available color palettes can be found at https://docs.datadoghq.com/dashboards/guide/widget_colors. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *int { - if v == nil { - return nil - } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestLogQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestMetadata struct { - // The expression alias. - AliasName *string `pulumi:"aliasName"` - // The expression name. - Expression string `pulumi:"expression"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestMetadataInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs and PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestMetadataInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestMetadataInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs struct { - // The expression alias. - AliasName pulumi.StringPtrInput `pulumi:"aliasName"` - // The expression name. - Expression pulumi.StringInput `pulumi:"expression"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestMetadataArray and PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestMetadataArray{ PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArray []PowerpackWidgetTimeseriesDefinitionRequestMetadataInput - -func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { - return o -} - -// The expression alias. -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) AliasName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) *string { return v.AliasName }).(pulumi.StringPtrOutput) -} - -// The expression name. -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) string { return v.Expression }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestMetadata { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestMetadata)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestProcessQuery struct { - // A list of processes. - FilterBies []string `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit *int `pulumi:"limit"` - // Your chosen metric. - Metric string `pulumi:"metric"` - // Your chosen search term. - SearchBy *string `pulumi:"searchBy"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs struct { - // A list of processes. - FilterBies pulumi.StringArrayInput `pulumi:"filterBies"` - // The max number of items in the filter list. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // Your chosen metric. - Metric pulumi.StringInput `pulumi:"metric"` - // Your chosen search term. - SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestProcessQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) -} - -// A list of processes. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) -} - -// The max number of items in the filter list. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return v.SearchBy - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryArray and PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryArray []PowerpackWidgetTimeseriesDefinitionRequestQueryInput - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { - return o -} - -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// A timeseries formula and functions events query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) -} - -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The process query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The SLO query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream *bool `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat string `pulumi:"stat"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Determines whether stats for upstream or downstream dependencies should be queried. - IsUpstream pulumi.BoolPtrInput `pulumi:"isUpstream"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. - Stat pulumi.StringInput `pulumi:"stat"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *bool { - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) -} - -// APM service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) -} - -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) -} - -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource string `pulumi:"dataSource"` - // APM environment. - Env string `pulumi:"env"` - // Array of fields to group results by. - GroupBies []string `pulumi:"groupBies"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // Name of operation on service. - OperationName *string `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName *string `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue *string `pulumi:"primaryTagValue"` - // APM resource. - ResourceName *string `pulumi:"resourceName"` - // APM service. - Service string `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat string `pulumi:"stat"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // APM environment. - Env pulumi.StringInput `pulumi:"env"` - // Array of fields to group results by. - GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // Name of operation on service. - OperationName pulumi.StringPtrInput `pulumi:"operationName"` - // The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. - PrimaryTagName pulumi.StringPtrInput `pulumi:"primaryTagName"` - // Filter APM data by the second primary tag. `primaryTagName` must also be specified. - PrimaryTagValue pulumi.StringPtrInput `pulumi:"primaryTagValue"` - // APM resource. - ResourceName pulumi.StringPtrInput `pulumi:"resourceName"` - // APM service. - Service pulumi.StringInput `pulumi:"service"` - // APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. - Stat pulumi.StringInput `pulumi:"stat"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) []string { - return v.GroupBies - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) -} - -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } - return v.GroupBies - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) -} - -// The name of the second primary tag used within APM; required when `primaryTagValue` is specified. See https://docs.datadoghq.com/tracing/guide/setting*primary*tags*to*scope/#add-a-second-primary-tag-in-datadog. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) -} - -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The cloud cost query definition. - Query string `pulumi:"query"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for cloud cost queries. Valid values are `cloudCost`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The cloud cost query definition. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The cloud cost query definition. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) -} - -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The cloud cost query definition. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes []string `pulumi:"indexes"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The search options. - Search *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput `pulumi:"groupBies"` - // An array of index names to query in the stream. - Indexes pulumi.StringArrayInput `pulumi:"indexes"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The search options. - Search PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group by options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The search options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// Storage location (private beta). -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) -} - -// The compute options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Group by options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil - } - return v.Indexes - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The search options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// Storage location (private beta). -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.Storage - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval *int `pulumi:"interval"` - // The measurable attribute to compute. - Metric *string `pulumi:"metric"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs struct { - // The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // A time interval in milliseconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { - return o -} - -// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// A time interval in milliseconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -// The measurable attribute to compute. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. - Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The options for sorting group by results. - Sort PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The options for sorting group by results. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation string `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs struct { - // The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The metric used for sorting group by results. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The metric used for sorting group by results. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// The events search string. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) -} - -// The events search string. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name string `pulumi:"name"` - // The metrics query definition. - Query string `pulumi:"query"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The metrics query definition. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.DataSource - }).(pulumi.StringPtrOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The metrics query definition. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource string `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu *bool `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit *int `pulumi:"limit"` - // The process metric name. - Metric string `pulumi:"metric"` - // The name of query for use in formulas. - Name string `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort *string `pulumi:"sort"` - // An array of tags to filter by. - TagFilters []string `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter *string `pulumi:"textFilter"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The data source for process queries. Valid values are `process`, `container`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Whether to normalize the CPU percentages. - IsNormalizedCpu pulumi.BoolPtrInput `pulumi:"isNormalizedCpu"` - // The number of hits to return. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // The process metric name. - Metric pulumi.StringInput `pulumi:"metric"` - // The name of query for use in formulas. - Name pulumi.StringInput `pulumi:"name"` - // The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. - Sort pulumi.StringPtrInput `pulumi:"sort"` - // An array of tags to filter by. - TagFilters pulumi.StringArrayInput `pulumi:"tagFilters"` - // The text to use as a filter. - TextFilter pulumi.StringPtrInput `pulumi:"textFilter"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// The process metric name. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) -} - -// An array of tags to filter by. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) -} - -// The text to use as a filter. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) -} - -// The number of hits to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) -} - -// The process metric name. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Sort - }).(pulumi.StringPtrOutput) -} - -// An array of tags to filter by. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) -} - -// The text to use as a filter. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.TextFilter - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource string `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode *string `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure string `pulumi:"measure"` - // The name of query for use in formulas. - Name *string `pulumi:"name"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The data source for SLO queries. Valid values are `slo`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. - GroupMode pulumi.StringPtrInput `pulumi:"groupMode"` - // SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. - Measure pulumi.StringInput `pulumi:"measure"` - // The name of query for use in formulas. - Name pulumi.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// ID of an SLO to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) -} - -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.AdditionalQueryFilters - }).(pulumi.StringPtrOutput) -} - -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.GroupMode - }).(pulumi.StringPtrOutput) -} - -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) -} - -// ID of an SLO to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.SloId - }).(pulumi.StringPtrOutput) -} - -// type of the SLO to query. Valid values are `metric`. Defaults to `"metric"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.SloQueryType - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestRumQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. - Limit *int `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. - Limit pulumi.IntPtrInput `pulumi:"limit"` - // A list of exactly one element describing the sort query to use. - SortQuery PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// The maximum number of items in the group. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} - -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` - // The facet name. - Facet *string `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringInput `pulumi:"order"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { - if v == nil { - return nil - } - return v.SearchQuery - }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery 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"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput -} - -type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} - type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy struct { // The facet name. Facet *string `pulumi:"facet"` @@ -54397,266 +31616,6 @@ func (o GetUsersUserArrayOutput) Index(i pulumi.IntInput) GetUsersUserOutput { } func init() { - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxisInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionXaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxisPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionXaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxisInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionYaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxisPtrInput)(nil)).Elem(), PowerpackWidgetScatterplotDefinitionYaxisArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinitionInput)(nil)).Elem(), PowerpackWidgetServiceLevelObjectiveDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetServiceLevelObjectiveDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionCustomLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLinkArrayInput)(nil)).Elem(), PowerpackWidgetServicemapDefinitionCustomLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQueryInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQueryPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySortInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQuerySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput)(nil)).Elem(), PowerpackWidgetSloListDefinitionRequestQuerySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionCustomLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLinkArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionCustomLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInlineInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendInlineArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInlinePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendInlineArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTableInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendTableArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTablePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionLegendTableArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyleInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStylePtrInput)(nil)).Elem(), PowerpackWidgetSunburstDefinitionRequestStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionCustomLinkArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEventInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionEventArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEventArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionEventArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarkerInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionMarkerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarkerArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionMarkerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadataInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestMetadataArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) @@ -55034,266 +31993,6 @@ 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(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionXaxisOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionYaxisOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetServiceLevelObjectiveDefinitionOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionCustomLinkOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQuerySortOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionCustomLinkOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendInlineOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendTableOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestStyleOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionEventOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionEventArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionMarkerOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput{}) pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput{}) pulumi.RegisterOutputType(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) diff --git a/sdk/java/src/main/java/com/pulumi/datadog/Dashboard.java b/sdk/java/src/main/java/com/pulumi/datadog/Dashboard.java index d3ec6a468..2b93bd008 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/Dashboard.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/Dashboard.java @@ -332,14 +332,14 @@ * .interval(5000) * .build()) * .searchQuery("status:info") - * .groupBies(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs.builder() + * .groupBies(DashboardWidgetGroupByArgs.builder() * .facet("host") * .limit(10) - * .sortQuery(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs.builder() - * .aggregation("avg") - * .order("desc") - * .facet("{@literal @}duration") - * .build()) + * .sortQuery(Map.ofEntries( + * Map.entry("aggregation", "avg"), + * Map.entry("order", "desc"), + * Map.entry("facet", "{@literal @}duration") + * )) * .build()) * .build()) * .displayType("area") @@ -353,14 +353,14 @@ * .interval(5000) * .build()) * .searchQuery("type:web") - * .groupBies(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs.builder() + * .groupBies(DashboardWidgetGroupByArgs.builder() * .facet("resource_name") * .limit(50) - * .sortQuery(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs.builder() - * .aggregation("avg") - * .order("desc") - * .facet("{@literal @}string_query.interval") - * .build()) + * .sortQuery(Map.ofEntries( + * Map.entry("aggregation", "avg"), + * Map.entry("order", "desc"), + * Map.entry("facet", "{@literal @}string_query.interval") + * )) * .build()) * .build()) * .displayType("bars") @@ -681,12 +681,9 @@ * .computes(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs.builder() * .aggregation("count") * .build()) - * .groupBies(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs.builder() + * .groupBies(DashboardWidgetGroupByArgs.builder() * .facet("host") - * .sort(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs.builder() - * .metric("{@literal @}lambda.max_memory_used") - * .aggregation("avg") - * .build()) + * .sort(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference)) * .limit(10) * .build()) * .build()) diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.java index 774f0af27..bb3d89aa8 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestApmQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetChangeDefinitionRequestApmQueryComput * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.java index 2daf720e5..81f623b58 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestLogQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetChangeDefinitionRequestLogQueryComput * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs(DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 128ae8d78..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.java index 5452cdd66..1e492b58d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index 6d0b5f5aa..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.java index 7299cd36e..3f89d4011 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestRumQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetChangeDefinitionRequestRumQueryComput * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs(DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index a12dbd1fa..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.java index 2f73b5d4a..bd120b986 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetChangeDefinitionRequestSecurityQueryC * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index 4875d95b2..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.java index 179dd85d5..a9848369e 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestApmQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetDistributionDefinitionRequestApmQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs() {} - - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index 054de1f6a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.java index b76431857..752985831 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestLogQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetDistributionDefinitionRequestLogQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 14e6be916..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.java index 21ea12c08..c56e80c6d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestRumQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetDistributionDefinitionRequestRumQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index 0906203d6..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.java index 36891381c..859bad8bb 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetDistributionDefinitionRequestSecurity * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index acc558525..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.java index a447a32a7..01bf9e021 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestLogQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetGeomapDefinitionRequestLogQueryComput * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 6a47f156a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.java index 209371049..7062a643f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index 8fe7c22a9..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.java index ee34f8b68..30abf4e33 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestRumQueryArgs.java @@ -6,8 +6,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetGeomapDefinitionRequestRumQueryComput * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index 0b29258b8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGroupByArgs.java similarity index 67% rename from sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs.java rename to sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGroupByArgs.java index 6891b6bc3..d110d2be3 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetGroupByArgs.java @@ -5,7 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import com.pulumi.datadog.inputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs; +import com.pulumi.datadog.inputs.DashboardWidgetGroupBySortQueryArgs; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs extends com.pulumi.resources.ResourceArgs { +public final class DashboardWidgetGroupByArgs extends com.pulumi.resources.ResourceArgs { - public static final DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs Empty = new DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs(); + public static final DashboardWidgetGroupByArgs Empty = new DashboardWidgetGroupByArgs(); /** * The facet name. @@ -52,19 +52,19 @@ public Optional> limit() { * */ @Import(name="sortQuery") - private @Nullable Output sortQuery; + private @Nullable Output sortQuery; /** * @return A list of exactly one element describing the sort query to use. * */ - public Optional> sortQuery() { + public Optional> sortQuery() { return Optional.ofNullable(this.sortQuery); } - private DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs() {} + private DashboardWidgetGroupByArgs() {} - private DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs(DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs $) { + private DashboardWidgetGroupByArgs(DashboardWidgetGroupByArgs $) { this.facet = $.facet; this.limit = $.limit; this.sortQuery = $.sortQuery; @@ -73,19 +73,19 @@ private DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs(DashboardWidge public static Builder builder() { return new Builder(); } - public static Builder builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs defaults) { + public static Builder builder(DashboardWidgetGroupByArgs defaults) { return new Builder(defaults); } public static final class Builder { - private DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs $; + private DashboardWidgetGroupByArgs $; public Builder() { - $ = new DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs(); + $ = new DashboardWidgetGroupByArgs(); } - public Builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); + public Builder(DashboardWidgetGroupByArgs defaults) { + $ = new DashboardWidgetGroupByArgs(Objects.requireNonNull(defaults)); } /** @@ -136,7 +136,7 @@ public Builder limit(Integer limit) { * @return builder * */ - public Builder sortQuery(@Nullable Output sortQuery) { + public Builder sortQuery(@Nullable Output sortQuery) { $.sortQuery = sortQuery; return this; } @@ -147,11 +147,11 @@ public Builder sortQuery(@Nullable Output order() { return this.order; } - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs() {} + private DashboardWidgetGroupBySortQueryArgs() {} - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs $) { + private DashboardWidgetGroupBySortQueryArgs(DashboardWidgetGroupBySortQueryArgs $) { this.aggregation = $.aggregation; this.facet = $.facet; this.order = $.order; @@ -72,19 +72,19 @@ private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs(Dash public static Builder builder() { return new Builder(); } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { + public static Builder builder(DashboardWidgetGroupBySortQueryArgs defaults) { return new Builder(defaults); } public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs $; + private DashboardWidgetGroupBySortQueryArgs $; public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs(); + $ = new DashboardWidgetGroupBySortQueryArgs(); } - public Builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); + public Builder(DashboardWidgetGroupBySortQueryArgs defaults) { + $ = new DashboardWidgetGroupBySortQueryArgs(Objects.requireNonNull(defaults)); } /** @@ -150,12 +150,12 @@ public Builder order(String order) { return order(Output.of(order)); } - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs build() { + public DashboardWidgetGroupBySortQueryArgs build() { if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); + throw new MissingRequiredPropertyException("DashboardWidgetGroupBySortQueryArgs", "aggregation"); } if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); + throw new MissingRequiredPropertyException("DashboardWidgetGroupBySortQueryArgs", "order"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.java index d3f502da6..9e0f04dee 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHeatmapDefinitionRequestApmQueryCompu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.java index 52fcd6f87..9cc2b72f5 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHeatmapDefinitionRequestLogQueryCompu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 57efd7501..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.java index 7b8f49033..800aab8f7 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index a448d10e7..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.java index f274a9e5a..3b82d1c79 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHeatmapDefinitionRequestRumQueryCompu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index f8ce8ef84..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.java index d8efa46f8..0186af0ff 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHeatmapDefinitionRequestSecurityQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index 69925552f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.java index 37f3fc3e0..e2c9c6e95 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestFillApmQueryC * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index f69841a9c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.java index 44178d307..d63b9ea59 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestFillLogQueryC * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 6616fe591..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.java index a9951bcd7..b2689ae81 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestFillRumQueryC * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index 2227144ef..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.java index f55f8edd3..021bb8fb3 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestFillSecurityQ * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index 847716d9d..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.java index d12ad7fdf..0f171fcdf 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestSizeApmQueryC * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index be6e728ae..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.java index a62a7b6cb..65419f81f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestSizeLogQueryC * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index e31a10417..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.java index 138db593c..3a099f4b8 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestSizeRumQueryC * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index a823b31d5..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.java index c93352e16..bd3e1e45d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetHostmapDefinitionRequestSizeSecurityQ * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index f0306e2c9..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.java index c0699f7e7..1bd49c947 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryTableDefinitionRequestApmQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index 35ba50234..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.java index 3e004c85e..e11a3d733 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryTableDefinitionRequestLogQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 260b773b3..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.java index 2d927a29f..4dbc1cd4c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index aceb270c1..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.java index 2549474be..a749b28bb 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryTableDefinitionRequestRumQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index 41842fd0c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.java index f872f485b..dd3b3541a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryTableDefinitionRequestSecurityQu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index b04f7c16a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.java index 4cd36abb4..8ef0bbf3f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryValueDefinitionRequestApmQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index db0e8bd01..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.java index 50e791a4e..64ce78576 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryValueDefinitionRequestAuditQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs.java deleted file mode 100644 index 2d5d9eef8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.java index 2732f985a..49a78169d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryValueDefinitionRequestLogQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 90777586a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.java index f903c5540..0e779ea08 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index fa7a2cd63..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.java index 5487a9259..550a0fc27 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryValueDefinitionRequestRumQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index d6fb01285..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.java index 274e7fb7d..7761b5c0f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetQueryValueDefinitionRequestSecurityQu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index f5cb64024..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.java index 9a90d7c0c..b183aeb7b 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index 1a48081e5..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.java index 1767c6009..62bc3616f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestXApmQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index 859787b50..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.java index 41cdfb351..80b3b9676 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestXLogQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 79528053a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.java index 77795721e..417cb6e43 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestXRumQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index f06b4a623..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.java index 0867b01de..6558f99a8 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestXSecurity * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index 512fe96a6..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.java index 4d7878e11..1d139679f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestYApmQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index 95641edbe..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.java index a64360eae..c8c78b9d4 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestYLogQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index dd8709eac..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.java index 1addb73a2..e016efde4 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestYRumQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index e25739fdb..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.java index 9bc493c10..6bcc40247 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetScatterplotDefinitionRequestYSecurity * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index 311d36633..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.java index 169e36218..ce56f18ca 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetSunburstDefinitionRequestApmQueryComp * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs() {} - - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index 27603c8ec..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.java index 0e2a9fa19..9d556e91f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetSunburstDefinitionRequestAuditQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs() {} - - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs.java deleted file mode 100644 index eb9c27297..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs Empty = new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs() {} - - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.java index 67b46a4cf..a81d35d2d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetSunburstDefinitionRequestLogQueryComp * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 5a3713d22..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.java index 843bf9928..439625643 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetSunburstDefinitionRequestNetworkQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs() {} - - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs.java deleted file mode 100644 index 1a46f7ade..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs Empty = new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs() {} - - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.java index d61680513..030c84e42 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index d0552cd10..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.java index 133a88bf9..1476e828f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetSunburstDefinitionRequestRumQueryComp * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index e1832a71f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.java index 50ede16f3..66718dca5 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetSunburstDefinitionRequestSecurityQuer * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index b9843c1b6..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.java index 560430d1a..a68ab0618 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetTimeseriesDefinitionRequestApmQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index 5076d3174..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.java index 1af75ff63..ebad73f44 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetTimeseriesDefinitionRequestAuditQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs.java deleted file mode 100644 index 998c382fb..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs Empty = new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.java index 48f9b89a2..ffa20bca2 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetTimeseriesDefinitionRequestLogQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index 71a9d29c9..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.java index 1287aecc9..d0a17a3f9 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetTimeseriesDefinitionRequestNetworkQue * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs.java deleted file mode 100644 index 37c0aac01..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs Empty = new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.java index 63e20e9f2..057fd9d28 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index 30039033d..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.java index 2f656471f..7d113a504 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetTimeseriesDefinitionRequestRumQueryCo * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index 34310b2bd..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.java index 935ea1df6..4b9826406 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetTimeseriesDefinitionRequestSecurityQu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index 95a50f0e8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.java index d6db65184..90b01b4dd 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestApmQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetToplistDefinitionRequestApmQueryCompu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs() {} - - private DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs(DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs.java deleted file mode 100644 index 52cfcbfbe..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs Empty = new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs() {} - - private DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.java index b06a6d61e..971da97cd 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestAuditQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetToplistDefinitionRequestAuditQueryCom * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs() {} - - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs.java deleted file mode 100644 index 1a523cdff..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs Empty = new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs() {} - - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.java index eb9fb14ac..22c7af3dc 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestLogQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetToplistDefinitionRequestLogQueryCompu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs() {} - - private DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs(DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs.java deleted file mode 100644 index e57a47885..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs Empty = new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs() {} - - private DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.java index baf0a6948..4e84edc6d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index bb557a531..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.java index 465df06a1..f0be13aa2 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestRumQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetToplistDefinitionRequestRumQueryCompu * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs() {} - - private DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs(DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs.java deleted file mode 100644 index 0def6d0d7..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs Empty = new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs() {} - - private DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.java index 0dbf752e7..f1866dc57 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs; -import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -40,13 +40,13 @@ public Optional> groupBies; + private @Nullable Output> groupBies; /** * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -150,7 +150,7 @@ public Builder computeQuery(DashboardWidgetToplistDefinitionRequestSecurityQuery * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -161,7 +161,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -171,7 +171,7 @@ public Builder groupBies(List facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * The maximum number of items in the group. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The maximum number of items in the group. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * A list of exactly one element describing the sort query to use. - * - */ - @Import(name="sortQuery") - private @Nullable Output sortQuery; - - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional> sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs() {} - - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sortQuery = $.sortQuery; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The maximum number of items in the group. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(@Nullable Output sortQuery) { - $.sortQuery = sortQuery; - return this; - } - - /** - * @param sortQuery A list of exactly one element describing the sort query to use. - * - * @return builder - * - */ - public Builder sortQuery(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs sortQuery) { - return sortQuery(Output.of(sortQuery)); - } - - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs.java deleted file mode 100644 index d189c47a1..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs Empty = new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - - /** - * The aggregation method. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation method. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The facet name. - * - */ - @Import(name="facet") - private @Nullable Output facet; - - /** - * @return The facet name. - * - */ - public Optional> facet() { - return Optional.ofNullable(this.facet); - } - - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - @Import(name="order", required=true) - private Output order; - - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public Output order() { - return this.order; - } - - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs() {} - - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs $) { - this.aggregation = $.aggregation; - this.facet = $.facet; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs $; - - public Builder() { - $ = new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs(); - } - - public Builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs defaults) { - $ = new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation method. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(@Nullable Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The facet name. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(Output order) { - $.order = order; - return this; - } - - /** - * @param order Widget sorting methods. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs", "aggregation"); - } - if ($.order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs", "order"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.java index eea67cd5e..804c19e70 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs.java @@ -5,8 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.datadog.inputs.DashboardWidgetGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs; -import com.pulumi.datadog.inputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs; import com.pulumi.datadog.inputs.DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -55,13 +55,13 @@ public Output dataSource() { * */ @Import(name="groupBies") - private @Nullable Output> groupBies; + private @Nullable Output> groupBies; /** * @return Group by options. * */ - public Optional>> groupBies() { + public Optional>> groupBies() { return Optional.ofNullable(this.groupBies); } @@ -213,7 +213,7 @@ public Builder dataSource(String dataSource) { * @return builder * */ - public Builder groupBies(@Nullable Output> groupBies) { + public Builder groupBies(@Nullable Output> groupBies) { $.groupBies = groupBies; return this; } @@ -224,7 +224,7 @@ public Builder groupBies(@Nullable Output groupBies) { + public Builder groupBies(List groupBies) { return groupBies(Output.of(groupBies)); } @@ -234,7 +234,7 @@ public Builder groupBies(List facet; - - /** - * @return The event facet. - * - */ - public Output facet() { - return this.facet; - } - - /** - * The number of groups to return. - * - */ - @Import(name="limit") - private @Nullable Output limit; - - /** - * @return The number of groups to return. - * - */ - public Optional> limit() { - return Optional.ofNullable(this.limit); - } - - /** - * The options for sorting group by results. - * - */ - @Import(name="sort") - private @Nullable Output sort; - - /** - * @return The options for sorting group by results. - * - */ - public Optional> sort() { - return Optional.ofNullable(this.sort); - } - - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs() {} - - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs $) { - this.facet = $.facet; - this.limit = $.limit; - this.sort = $.sort; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs $; - - public Builder() { - $ = new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs(); - } - - public Builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs defaults) { - $ = new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(Output facet) { - $.facet = facet; - return this; - } - - /** - * @param facet The event facet. - * - * @return builder - * - */ - public Builder facet(String facet) { - return facet(Output.of(facet)); - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(@Nullable Output limit) { - $.limit = limit; - return this; - } - - /** - * @param limit The number of groups to return. - * - * @return builder - * - */ - public Builder limit(Integer limit) { - return limit(Output.of(limit)); - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(@Nullable Output sort) { - $.sort = sort; - return this; - } - - /** - * @param sort The options for sorting group by results. - * - * @return builder - * - */ - public Builder sort(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs sort) { - return sort(Output.of(sort)); - } - - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs build() { - if ($.facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs", "facet"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs.java deleted file mode 100644 index 8583bb8af..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs.java +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs extends com.pulumi.resources.ResourceArgs { - - public static final DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs Empty = new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs(); - - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - @Import(name="aggregation", required=true) - private Output aggregation; - - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public Output aggregation() { - return this.aggregation; - } - - /** - * The metric used for sorting group by results. - * - */ - @Import(name="metric") - private @Nullable Output metric; - - /** - * @return The metric used for sorting group by results. - * - */ - public Optional> metric() { - return Optional.ofNullable(this.metric); - } - - /** - * Direction of sort. Valid values are `asc`, `desc`. - * - */ - @Import(name="order") - private @Nullable Output order; - - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional> order() { - return Optional.ofNullable(this.order); - } - - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs() {} - - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs $) { - this.aggregation = $.aggregation; - this.metric = $.metric; - this.order = $.order; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs $; - - public Builder() { - $ = new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs(); - } - - public Builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs defaults) { - $ = new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(Output aggregation) { - $.aggregation = aggregation; - return this; - } - - /** - * @param aggregation The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - * @return builder - * - */ - public Builder aggregation(String aggregation) { - return aggregation(Output.of(aggregation)); - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(@Nullable Output metric) { - $.metric = metric; - return this; - } - - /** - * @param metric The metric used for sorting group by results. - * - * @return builder - * - */ - public Builder metric(String metric) { - return metric(Output.of(metric)); - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(@Nullable Output order) { - $.order = order; - return this; - } - - /** - * @param order Direction of sort. Valid values are `asc`, `desc`. - * - * @return builder - * - */ - public Builder order(String order) { - return order(Output.of(order)); - } - - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs build() { - if ($.aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs", "aggregation"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQuery.java index 7dd00439e..2e130f2f6 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetChangeDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional comp * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetChangeDefinitionRequestApmQuery def @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetChangeDefinitionRequestApmQ return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetChangeDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index 35864ed1f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQuery.java index e61e44439..d2415171b 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetChangeDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional comp * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetChangeDefinitionRequestLogQuery def @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetChangeDefinitionRequestLogQ return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetChangeDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index d924d4270..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetChangeDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetChangeDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index 5a180bae6..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.java index d26ef946e..027be2e9d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -30,7 +30,7 @@ public final class DashboardWidgetChangeDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetChangeDefinitionRequestQueryEventQu public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index e00620bb1..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index e6117d67a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQuery.java index ecc266ed0..dd1539df7 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetChangeDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional comp * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetChangeDefinitionRequestRumQuery def @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetChangeDefinitionRequestRumQ return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetChangeDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index c66aedd55..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetChangeDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetChangeDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 9d7423bf3..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.java index aa13351e6..914a259f4 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetChangeDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetChangeDefinitionRequestSecurityQuer @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetChangeDefinitionRequestSecu return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index 8d3d04fbb..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index f304dd467..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.java index cb872f21c..2f43b3ae2 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetDistributionDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetDistributionDefinitionRequestApmQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetDistributionDefinitionReque return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.java deleted file mode 100644 index 7743038db..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index ed7055f0f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.java index efdbe1b64..eac4a6a9e 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetDistributionDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetDistributionDefinitionRequestLogQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetDistributionDefinitionReque return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index 6b8eaf660..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index 668ebfdfd..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.java index 60aa1e8d3..6de5c4aa5 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetDistributionDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetDistributionDefinitionRequestRumQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetDistributionDefinitionReque return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index bc29bbc7b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 28c09210a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.java index 7f520cc31..11b945ace 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetDistributionDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetDistributionDefinitionRequestSecuri @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetDistributionDefinitionReque return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index 2f2cbea9c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 31d4a9a2a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.java index a223460e8..1c5fb860a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetGeomapDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional comp * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetGeomapDefinitionRequestLogQuery def @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetGeomapDefinitionRequestLogQ return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index 684ff2abe..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.java index 7e489fe2f..314b02c66 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -30,7 +30,7 @@ public final class DashboardWidgetGeomapDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetGeomapDefinitionRequestQueryEventQu public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index 7e4eae5f5..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index 39c39d95e..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.java index cc12568c9..b77209f8f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQuery.java @@ -5,8 +5,8 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.List; @@ -25,7 +25,7 @@ public final class DashboardWidgetGeomapDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional comp * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetGeomapDefinitionRequestRumQuery def @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetGeomapDefinitionRequestRumQ return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index 7bc849713..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 97a0273a5..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGroupBy.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.java rename to sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGroupBy.java index 5091b0416..20fc17a79 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGroupBy.java @@ -4,7 +4,7 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; -import com.pulumi.datadog.outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBySortQuery; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class DashboardWidgetChangeDefinitionRequestApmQueryGroupBy { +public final class DashboardWidgetGroupBy { /** * @return The facet name. * @@ -27,9 +27,9 @@ public final class DashboardWidgetChangeDefinitionRequestApmQueryGroupBy { * @return A list of exactly one element describing the sort query to use. * */ - private @Nullable DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery sortQuery; + private @Nullable DashboardWidgetGroupBySortQuery sortQuery; - private DashboardWidgetChangeDefinitionRequestApmQueryGroupBy() {} + private DashboardWidgetGroupBy() {} /** * @return The facet name. * @@ -48,7 +48,7 @@ public Optional limit() { * @return A list of exactly one element describing the sort query to use. * */ - public Optional sortQuery() { + public Optional sortQuery() { return Optional.ofNullable(this.sortQuery); } @@ -56,16 +56,16 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupBy defaults) { + public static Builder builder(DashboardWidgetGroupBy defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private @Nullable String facet; private @Nullable Integer limit; - private @Nullable DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery sortQuery; + private @Nullable DashboardWidgetGroupBySortQuery sortQuery; public Builder() {} - public Builder(DashboardWidgetChangeDefinitionRequestApmQueryGroupBy defaults) { + public Builder(DashboardWidgetGroupBy defaults) { Objects.requireNonNull(defaults); this.facet = defaults.facet; this.limit = defaults.limit; @@ -85,13 +85,13 @@ public Builder limit(@Nullable Integer limit) { return this; } @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery sortQuery) { + public Builder sortQuery(@Nullable DashboardWidgetGroupBySortQuery sortQuery) { this.sortQuery = sortQuery; return this; } - public DashboardWidgetChangeDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetChangeDefinitionRequestApmQueryGroupBy(); + public DashboardWidgetGroupBy build() { + final var _resultValue = new DashboardWidgetGroupBy(); _resultValue.facet = facet; _resultValue.limit = limit; _resultValue.sortQuery = sortQuery; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGroupBySortQuery.java similarity index 78% rename from sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery.java rename to sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGroupBySortQuery.java index 8942d6f1a..a6b9877eb 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetGroupBySortQuery.java @@ -11,7 +11,7 @@ import javax.annotation.Nullable; @CustomType -public final class DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { +public final class DashboardWidgetGroupBySortQuery { /** * @return The aggregation method. * @@ -28,7 +28,7 @@ public final class DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuer */ private String order; - private DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery() {} + private DashboardWidgetGroupBySortQuery() {} /** * @return The aggregation method. * @@ -55,7 +55,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery defaults) { + public static Builder builder(DashboardWidgetGroupBySortQuery defaults) { return new Builder(defaults); } @CustomType.Builder @@ -64,7 +64,7 @@ public static final class Builder { private @Nullable String facet; private String order; public Builder() {} - public Builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery defaults) { + public Builder(DashboardWidgetGroupBySortQuery defaults) { Objects.requireNonNull(defaults); this.aggregation = defaults.aggregation; this.facet = defaults.facet; @@ -74,7 +74,7 @@ public Builder(DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery de @CustomType.Setter public Builder aggregation(String aggregation) { if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); + throw new MissingRequiredPropertyException("DashboardWidgetGroupBySortQuery", "aggregation"); } this.aggregation = aggregation; return this; @@ -88,13 +88,13 @@ public Builder facet(@Nullable String facet) { @CustomType.Setter public Builder order(String order) { if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery", "order"); + throw new MissingRequiredPropertyException("DashboardWidgetGroupBySortQuery", "order"); } this.order = order; return this; } - public DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery(); + public DashboardWidgetGroupBySortQuery build() { + final var _resultValue = new DashboardWidgetGroupBySortQuery(); _resultValue.aggregation = aggregation; _resultValue.facet = facet; _resultValue.order = order; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.java index d1756cf50..4e99baf5c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHeatmapDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional com * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHeatmapDefinitionRequestApmQuery de @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestApm return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.java deleted file mode 100644 index 382bb2d91..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index 3c604b172..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.java index 16977a95b..5e087a889 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHeatmapDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional com * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHeatmapDefinitionRequestLogQuery de @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestLog return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index c4cdc4c71..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index d23e520d6..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.java index 61109d651..69684076d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetHeatmapDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQ public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index 8a90f9c74..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index 2a4681e3f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.java index a531f4a8c..8c612d1f6 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHeatmapDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional com * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHeatmapDefinitionRequestRumQuery de @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestRum return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index 2ed55715c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index c128f8163..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.java index d218daf1c..47f7748a0 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHeatmapDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHeatmapDefinitionRequestSecurityQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestSec return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index 811a57cb2..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 04938669f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.java index 54508e0c2..e65cfb033 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestFillApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillApmQuer @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFil return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.java deleted file mode 100644 index d1ef3f2bb..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery.java deleted file mode 100644 index 88c3cc25b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.java index ff770cf85..0c093e819 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestFillLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillLogQuer @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFil return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.java deleted file mode 100644 index f8827cd1a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery.java deleted file mode 100644 index cb2a9bc5a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.java index c273cca39..2e8c284dc 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestFillRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillRumQuer @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFil return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.java deleted file mode 100644 index a5d051770..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery.java deleted file mode 100644 index c2239989b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.java index c59aa25ff..59b6e4029 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestFillSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillSecurit @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFil return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.java deleted file mode 100644 index eaec615a2..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 583a10826..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.java index 226b5b09f..8c6ce085a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestSizeApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeApmQuer @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSiz return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.java deleted file mode 100644 index 0915ad57c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery.java deleted file mode 100644 index 7cc84476d..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.java index de8a169e8..9ad96e286 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestSizeLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeLogQuer @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSiz return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.java deleted file mode 100644 index 850c3b363..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery.java deleted file mode 100644 index c474c7ca2..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.java index 8f04789a2..70db5faf0 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestSizeRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeRumQuer @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSiz return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.java deleted file mode 100644 index ab2f796a2..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery.java deleted file mode 100644 index adf24c8eb..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.java index 677b054f7..1a49215e1 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeSecurit @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSiz return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.java deleted file mode 100644 index ee1878dbb..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 1d10fe6ac..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.java index 05e9bf37b..f0dc3ad7f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryTableDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryTableDefinitionRequestApmQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryTableDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.java deleted file mode 100644 index 36b56cd1b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index b0a4b4b7d..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.java index 3481dae99..a741825a8 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryTableDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryTableDefinitionRequestLogQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryTableDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index 477ee7a8c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index 82e5ed849..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.java index 9524249b8..2641b4435 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetQueryTableDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetQueryTableDefinitionRequestQueryEve public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index 30ce0f53b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index 676121094..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.java index 8aa4c5d16..d82576c22 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryTableDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryTableDefinitionRequestRumQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryTableDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index 49f5448e8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 0acd5d6b1..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.java index 2845b0403..708c9e296 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryTableDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryTableDefinitionRequestSecurity @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryTableDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index b506caa1c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 10e06b449..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.java index 8d47e7139..8126b2612 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryValueDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryValueDefinitionRequestApmQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryValueDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.java deleted file mode 100644 index ef2c05ce3..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index f64546d07..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.java index 0872fed7f..d9be605dd 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryValueDefinitionRequestAuditQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryValueDefinitionRequestAuditQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryValueDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.java deleted file mode 100644 index 59667ea5f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery.java deleted file mode 100644 index b7ddf996f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.java index 9f0175b6e..bd5fdc3cd 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryValueDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryValueDefinitionRequestLogQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryValueDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index 5a7462c36..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index 12474b6f0..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.java index 72715ba28..91bd0be30 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetQueryValueDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetQueryValueDefinitionRequestQueryEve public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index dc49634d1..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index c6b047225..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.java index 28aac89a0..91481ef6a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryValueDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryValueDefinitionRequestRumQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryValueDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index 8a22e43a6..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 0fde30bca..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.java index a4072d437..08fec406d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetQueryValueDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetQueryValueDefinitionRequestSecurity @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetQueryValueDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index 2fa34a132..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 6080bf778..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.java index 3bddf28d8..34c3274ea 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQu * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestScatter public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy.java deleted file mode 100644 index b2126bce8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort sort; - - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort.java deleted file mode 100644 index 6c04f760a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.java index e377eecf8..75d8b19bc 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestXApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXApmQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.java deleted file mode 100644 index 05ca27db5..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery.java deleted file mode 100644 index 87ae4e7d4..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.java index de6d42036..0a620d618 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestXLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXLogQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.java deleted file mode 100644 index 58849bd97..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery.java deleted file mode 100644 index 3e876efb7..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.java index e4604d154..53d510dcd 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestXRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXRumQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.java deleted file mode 100644 index 85cd9e462..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery.java deleted file mode 100644 index 0428aacf3..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.java index a18aea95b..7d3ce8c90 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestXSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXSecuri @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.java deleted file mode 100644 index 569d8eecd..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 54368fb74..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.java index 69fdbca2f..e78a47b1d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestYApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYApmQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.java deleted file mode 100644 index 6d2145c44..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery.java deleted file mode 100644 index b295ae07f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.java index a9d372023..828efae65 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestYLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYLogQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.java deleted file mode 100644 index aaadc596b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery.java deleted file mode 100644 index c10282b10..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.java index 2ae4eeeb5..0a9fdbd31 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestYRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYRumQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.java deleted file mode 100644 index d8a99dee8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery.java deleted file mode 100644 index 90bfdbb34..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.java index 8b1d3431a..6d7ea9b84 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetScatterplotDefinitionRequestYSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYSecuri @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetScatterplotDefinitionReques return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.java deleted file mode 100644 index 92cde406a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 76111e966..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.java index fb4dc86d6..c3036ef99 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetSunburstDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional co * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetSunburstDefinitionRequestApmQuery d @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetSunburstDefinitionRequestAp return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.java deleted file mode 100644 index 646732f6b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index f311fc501..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.java index 000c9d453..7f4fc6648 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetSunburstDefinitionRequestAuditQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetSunburstDefinitionRequestAuditQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetSunburstDefinitionRequestAu return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.java deleted file mode 100644 index 7e68a716a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery.java deleted file mode 100644 index 2490806be..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.java index 8a0f5c2c2..70a94dd13 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetSunburstDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional co * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetSunburstDefinitionRequestLogQuery d @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetSunburstDefinitionRequestLo return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index 2e47aaae3..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index 7060aa320..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.java index a25c6515d..7ae7b31e2 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetSunburstDefinitionRequestNetworkQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetSunburstDefinitionRequestNetworkQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetSunburstDefinitionRequestNe return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.java deleted file mode 100644 index a2202eae2..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery sortQuery; - - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery.java deleted file mode 100644 index ab838d194..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.java index f7f367f70..fd87f79d4 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetSunburstDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetSunburstDefinitionRequestQueryEvent public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index 43cb452de..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index 0dbdcd8cd..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.java index 87a8de8b8..4030050ec 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetSunburstDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional co * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetSunburstDefinitionRequestRumQuery d @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetSunburstDefinitionRequestRu return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index cf3677e98..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 403eb83b1..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.java index 146a21071..3292b6f89 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetSunburstDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetSunburstDefinitionRequestSecurityQu @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetSunburstDefinitionRequestSe return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index 2a7b5b5e6..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 035b02ef5..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.java index 3fc7e415d..327b545b9 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetTimeseriesDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestApmQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.java deleted file mode 100644 index 5b1ea7413..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index 14bca8b6c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.java index e1ce7e749..d8d51da8e 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetTimeseriesDefinitionRequestAuditQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestAuditQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.java deleted file mode 100644 index 1511b0e03..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery.java deleted file mode 100644 index 1d4e5239f..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.java index 5fdf36f4a..87f998eb5 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetTimeseriesDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestLogQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index b9617f83c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index 6cb0add67..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.java index 30a04c34f..e6bf7c844 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetTimeseriesDefinitionRequestNetworkQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQ @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.java deleted file mode 100644 index 1052b23e8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery sortQuery; - - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery.java deleted file mode 100644 index 6e1daf077..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.java index 6735c96fb..9df3689c5 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestQueryEve public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index 5fffb9dc8..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index 3550973bc..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.java index c069c8872..90c4beb96 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetTimeseriesDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestRumQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index 2f27cc748..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 7867e0a12..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.java index f819f8c76..17777449c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetTimeseriesDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestSecurity @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequest return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index 79caa5f2c..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index 4394b6f81..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQuery.java index 614e0f124..ab338e096 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetToplistDefinitionRequestApmQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional com * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetToplistDefinitionRequestApmQuery de @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetToplistDefinitionRequestApm return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetToplistDefinitionRequestApmQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.java deleted file mode 100644 index 613763aae..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestApmQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery sortQuery; - - private DashboardWidgetToplistDefinitionRequestApmQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetToplistDefinitionRequestApmQueryGroupBy build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestApmQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery.java deleted file mode 100644 index 22aba4a7e..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.java index f54c95071..6a35bb247 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetToplistDefinitionRequestAuditQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional c * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetToplistDefinitionRequestAuditQuery @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetToplistDefinitionRequestAud return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.java deleted file mode 100644 index 4f907fa64..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery.java deleted file mode 100644 index f3acd5dbe..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQuery.java index 90494ac86..ca811c276 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetToplistDefinitionRequestLogQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional com * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetToplistDefinitionRequestLogQuery de @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetToplistDefinitionRequestLog return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetToplistDefinitionRequestLogQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.java deleted file mode 100644 index 2863b4df9..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestLogQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery sortQuery; - - private DashboardWidgetToplistDefinitionRequestLogQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetToplistDefinitionRequestLogQueryGroupBy build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestLogQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery.java deleted file mode 100644 index dbbc51a3a..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.java index 56741a3e5..ec972022a 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetToplistDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetToplistDefinitionRequestQueryEventQ public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index 482b83e18..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index 7a389ba04..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQuery.java index 1267ba4b8..4822bce6c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetToplistDefinitionRequestRumQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional com * @return Multiple `group_by` blocks are allowed using the structure below. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetToplistDefinitionRequestRumQuery de @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetToplistDefinitionRequestRum return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetToplistDefinitionRequestRumQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.java deleted file mode 100644 index c90728b05..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestRumQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery sortQuery; - - private DashboardWidgetToplistDefinitionRequestRumQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetToplistDefinitionRequestRumQueryGroupBy build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestRumQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery.java deleted file mode 100644 index 9d970ebf5..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.java index 7a979288a..a1070ee62 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery; -import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -25,7 +25,7 @@ public final class DashboardWidgetToplistDefinitionRequestSecurityQuery { * @return Multiple `group_by` blocks are allowed using the structure below. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return The name of the index to query. * @@ -54,7 +54,7 @@ public Optional groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -89,7 +89,7 @@ public static Builder builder(DashboardWidgetToplistDefinitionRequestSecurityQue @CustomType.Builder public static final class Builder { private @Nullable DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery computeQuery; - private @Nullable List groupBies; + private @Nullable List groupBies; private String index; private @Nullable List multiComputes; private @Nullable String searchQuery; @@ -110,12 +110,12 @@ public Builder computeQuery(@Nullable DashboardWidgetToplistDefinitionRequestSec return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.java deleted file mode 100644 index 9a2c6186b..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.java +++ /dev/null @@ -1,101 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy { - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return The maximum number of items in the group. - * - */ - private @Nullable Integer limit; - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - private @Nullable DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy() {} - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return The maximum number of items in the group. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return A list of exactly one element describing the sort query to use. - * - */ - public Optional sortQuery() { - return Optional.ofNullable(this.sortQuery); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery sortQuery; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sortQuery = defaults.sortQuery; - } - - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sortQuery(@Nullable DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery sortQuery) { - - this.sortQuery = sortQuery; - return this; - } - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sortQuery = sortQuery; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery.java deleted file mode 100644 index a3d370e66..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * @return The aggregation method. - * - */ - private String aggregation; - /** - * @return The facet name. - * - */ - private @Nullable String facet; - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - private String order; - - private DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery() {} - /** - * @return The aggregation method. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The facet name. - * - */ - public Optional facet() { - return Optional.ofNullable(this.facet); - } - /** - * @return Widget sorting methods. Valid values are `asc`, `desc`. - * - */ - public String order() { - return this.order; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String facet; - private String order; - public Builder() {} - public Builder(DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.facet = defaults.facet; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder facet(@Nullable String facet) { - - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder order(String order) { - if (order == null) { - throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery", "order"); - } - this.order = order; - return this; - } - public DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery build() { - final var _resultValue = new DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery(); - _resultValue.aggregation = aggregation; - _resultValue.facet = facet; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.java index 0ca9af1eb..c83293c35 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQuery.java @@ -4,8 +4,8 @@ package com.pulumi.datadog.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.datadog.outputs.DashboardWidgetGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute; -import com.pulumi.datadog.outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy; import com.pulumi.datadog.outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -30,7 +30,7 @@ public final class DashboardWidgetTreemapDefinitionRequestQueryEventQuery { * @return Group by options. * */ - private @Nullable List groupBies; + private @Nullable List groupBies; /** * @return An array of index names to query in the stream. * @@ -71,7 +71,7 @@ public String dataSource() { * @return Group by options. * */ - public List groupBies() { + public List groupBies() { return this.groupBies == null ? List.of() : this.groupBies; } /** @@ -114,7 +114,7 @@ public static Builder builder(DashboardWidgetTreemapDefinitionRequestQueryEventQ public static final class Builder { private List computes; private String dataSource; - private @Nullable List groupBies; + private @Nullable List groupBies; private @Nullable List indexes; private String name; private @Nullable DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch search; @@ -151,12 +151,12 @@ public Builder dataSource(String dataSource) { return this; } @CustomType.Setter - public Builder groupBies(@Nullable List groupBies) { + public Builder groupBies(@Nullable List groupBies) { this.groupBies = groupBies; return this; } - public Builder groupBies(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy... groupBies) { + public Builder groupBies(DashboardWidgetGroupBy... groupBies) { return groupBies(List.of(groupBies)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy.java deleted file mode 100644 index 163234cdb..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.datadog.outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - /** - * @return The event facet. - * - */ - private String facet; - /** - * @return The number of groups to return. - * - */ - private @Nullable Integer limit; - /** - * @return The options for sorting group by results. - * - */ - private @Nullable DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort sort; - - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy() {} - /** - * @return The event facet. - * - */ - public String facet() { - return this.facet; - } - /** - * @return The number of groups to return. - * - */ - public Optional limit() { - return Optional.ofNullable(this.limit); - } - /** - * @return The options for sorting group by results. - * - */ - public Optional sort() { - return Optional.ofNullable(this.sort); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String facet; - private @Nullable Integer limit; - private @Nullable DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort sort; - public Builder() {} - public Builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy defaults) { - Objects.requireNonNull(defaults); - this.facet = defaults.facet; - this.limit = defaults.limit; - this.sort = defaults.sort; - } - - @CustomType.Setter - public Builder facet(String facet) { - if (facet == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy", "facet"); - } - this.facet = facet; - return this; - } - @CustomType.Setter - public Builder limit(@Nullable Integer limit) { - - this.limit = limit; - return this; - } - @CustomType.Setter - public Builder sort(@Nullable DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort sort) { - - this.sort = sort; - return this; - } - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy build() { - final var _resultValue = new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy(); - _resultValue.facet = facet; - _resultValue.limit = limit; - _resultValue.sort = sort; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort.java deleted file mode 100644 index 3c8af2523..000000000 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort.java +++ /dev/null @@ -1,102 +0,0 @@ -// *** 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.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - private String aggregation; - /** - * @return The metric used for sorting group by results. - * - */ - private @Nullable String metric; - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - private @Nullable String order; - - private DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort() {} - /** - * @return The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - * - */ - public String aggregation() { - return this.aggregation; - } - /** - * @return The metric used for sorting group by results. - * - */ - public Optional metric() { - return Optional.ofNullable(this.metric); - } - /** - * @return Direction of sort. Valid values are `asc`, `desc`. - * - */ - public Optional order() { - return Optional.ofNullable(this.order); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String aggregation; - private @Nullable String metric; - private @Nullable String order; - public Builder() {} - public Builder(DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort defaults) { - Objects.requireNonNull(defaults); - this.aggregation = defaults.aggregation; - this.metric = defaults.metric; - this.order = defaults.order; - } - - @CustomType.Setter - public Builder aggregation(String aggregation) { - if (aggregation == null) { - throw new MissingRequiredPropertyException("DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort", "aggregation"); - } - this.aggregation = aggregation; - return this; - } - @CustomType.Setter - public Builder metric(@Nullable String metric) { - - this.metric = metric; - return this; - } - @CustomType.Setter - public Builder order(@Nullable String order) { - - this.order = order; - return this; - } - public DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort build() { - final var _resultValue = new DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort(); - _resultValue.aggregation = aggregation; - _resultValue.metric = metric; - _resultValue.order = order; - return _resultValue; - } - } -} diff --git a/sdk/nodejs/dashboard.ts b/sdk/nodejs/dashboard.ts index ab04da167..86ec3e6d6 100644 --- a/sdk/nodejs/dashboard.ts +++ b/sdk/nodejs/dashboard.ts @@ -9,753 +9,6 @@ import * as utilities from "./utilities"; /** * Provides a Datadog dashboard resource. This can be used to create and manage Datadog dashboards. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as datadog from "@pulumi/datadog"; - * - * // Example Ordered Layout - * const orderedDashboard = new datadog.Dashboard("ordered_dashboard", { - * title: "Ordered Layout Dashboard", - * description: "Created using the Datadog provider in Pulumi", - * layoutType: "ordered", - * widgets: [ - * { - * alertGraphDefinition: { - * alertId: "895605", - * vizType: "timeseries", - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * alertValueDefinition: { - * alertId: "895605", - * precision: 3, - * unit: "b", - * textAlign: "center", - * title: "Widget Title", - * }, - * }, - * { - * alertValueDefinition: { - * alertId: "895605", - * precision: 3, - * unit: "b", - * textAlign: "center", - * title: "Widget Title", - * }, - * }, - * { - * changeDefinition: { - * requests: [{ - * q: "avg:system.load.1{env:staging} by {account}", - * changeType: "absolute", - * compareTo: "week_before", - * increaseGood: true, - * orderBy: "name", - * orderDir: "desc", - * showPresent: true, - * }], - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * distributionDefinition: { - * requests: [{ - * q: "avg:system.load.1{env:staging} by {account}", - * style: { - * palette: "warm", - * }, - * }], - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * checkStatusDefinition: { - * check: "aws.ecs.agent_connected", - * grouping: "cluster", - * groupBies: [ - * "account", - * "cluster", - * ], - * tags: [ - * "account:demo", - * "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk", - * ], - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * heatmapDefinition: { - * requests: [{ - * q: "avg:system.load.1{env:staging} by {account}", - * style: { - * palette: "warm", - * }, - * }], - * yaxis: { - * min: "1", - * max: "2", - * includeZero: true, - * scale: "sqrt", - * }, - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * hostmapDefinition: { - * request: { - * fills: [{ - * q: "avg:system.load.1{*} by {host}", - * }], - * sizes: [{ - * q: "avg:memcache.uptime{*} by {host}", - * }], - * }, - * nodeType: "container", - * groups: [ - * "host", - * "region", - * ], - * noGroupHosts: true, - * noMetricHosts: true, - * scopes: [ - * "region:us-east-1", - * "aws_account:727006795293", - * ], - * style: { - * palette: "yellow_to_green", - * paletteFlip: true, - * fillMin: "10", - * fillMax: "20", - * }, - * title: "Widget Title", - * }, - * }, - * { - * noteDefinition: { - * content: "note text", - * backgroundColor: "pink", - * fontSize: "14", - * textAlign: "center", - * showTick: true, - * tickEdge: "left", - * tickPos: "50%", - * }, - * }, - * { - * queryValueDefinition: { - * requests: [{ - * q: "avg:system.load.1{env:staging} by {account}", - * aggregator: "sum", - * conditionalFormats: [ - * { - * comparator: "<", - * value: 2, - * palette: "white_on_green", - * }, - * { - * comparator: ">", - * value: 2.2, - * palette: "white_on_red", - * }, - * ], - * }], - * autoscale: true, - * customUnit: "xx", - * precision: 4, - * textAlign: "right", - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * queryTableDefinition: { - * requests: [{ - * q: "avg:system.load.1{env:staging} by {account}", - * aggregator: "sum", - * limit: 10, - * conditionalFormats: [ - * { - * comparator: "<", - * value: 2, - * palette: "white_on_green", - * }, - * { - * comparator: ">", - * value: 2.2, - * palette: "white_on_red", - * }, - * ], - * }], - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * scatterplotDefinition: { - * request: { - * xes: [{ - * q: "avg:system.cpu.user{*} by {service, account}", - * aggregator: "max", - * }], - * ys: [{ - * q: "avg:system.mem.used{*} by {service, account}", - * aggregator: "min", - * }], - * }, - * colorByGroups: [ - * "account", - * "apm-role-group", - * ], - * xaxis: { - * includeZero: true, - * label: "x", - * min: "1", - * max: "2000", - * scale: "pow", - * }, - * yaxis: { - * includeZero: false, - * label: "y", - * min: "5", - * max: "2222", - * scale: "log", - * }, - * title: "Widget Title", - * liveSpan: "1h", - * }, - * }, - * { - * servicemapDefinition: { - * service: "master-db", - * filters: [ - * "env:prod", - * "datacenter:dc1", - * ], - * title: "env: prod, datacenter:dc1, service: master-db", - * titleSize: "16", - * titleAlign: "left", - * }, - * }, - * { - * timeseriesDefinition: { - * requests: [ - * { - * q: "avg:system.cpu.user{app:general} by {env}", - * displayType: "line", - * style: { - * palette: "warm", - * lineType: "dashed", - * lineWidth: "thin", - * }, - * metadatas: [{ - * expression: "avg:system.cpu.user{app:general} by {env}", - * aliasName: "Alpha", - * }], - * }, - * { - * logQuery: { - * index: "mcnulty", - * computeQuery: { - * aggregation: "avg", - * facet: "@duration", - * interval: 5000, - * }, - * searchQuery: "status:info", - * groupBies: [{ - * facet: "host", - * limit: 10, - * sortQuery: { - * aggregation: "avg", - * order: "desc", - * facet: "@duration", - * }, - * }], - * }, - * displayType: "area", - * }, - * { - * apmQuery: { - * index: "apm-search", - * computeQuery: { - * aggregation: "avg", - * facet: "@duration", - * interval: 5000, - * }, - * searchQuery: "type:web", - * groupBies: [{ - * facet: "resource_name", - * limit: 50, - * sortQuery: { - * aggregation: "avg", - * order: "desc", - * facet: "@string_query.interval", - * }, - * }], - * }, - * displayType: "bars", - * }, - * { - * processQuery: { - * metric: "process.stat.cpu.total_pct", - * searchBy: "error", - * filterBies: ["active"], - * limit: 50, - * }, - * displayType: "area", - * }, - * ], - * markers: [ - * { - * displayType: "error dashed", - * label: " z=6 ", - * value: "y = 4", - * }, - * { - * displayType: "ok solid", - * value: "10 < y < 999", - * label: " x=8 ", - * }, - * ], - * title: "Widget Title", - * showLegend: true, - * legendSize: "2", - * liveSpan: "1h", - * events: [ - * { - * q: "sources:test tags:1", - * }, - * { - * q: "sources:test tags:2", - * }, - * ], - * yaxis: { - * scale: "log", - * includeZero: false, - * max: "100", - * }, - * }, - * }, - * { - * toplistDefinition: { - * requests: [{ - * q: "avg:system.cpu.user{app:general} by {env}", - * conditionalFormats: [ - * { - * comparator: "<", - * value: 2, - * palette: "white_on_green", - * }, - * { - * comparator: ">", - * value: 2.2, - * palette: "white_on_red", - * }, - * ], - * }], - * title: "Widget Title", - * }, - * }, - * { - * groupDefinition: { - * layoutType: "ordered", - * title: "Group Widget", - * widgets: [ - * { - * noteDefinition: { - * content: "cluster note widget", - * backgroundColor: "pink", - * fontSize: "14", - * textAlign: "center", - * showTick: true, - * tickEdge: "left", - * tickPos: "50%", - * }, - * }, - * { - * alertGraphDefinition: { - * alertId: "123", - * vizType: "toplist", - * title: "Alert Graph", - * liveSpan: "1h", - * }, - * }, - * ], - * }, - * }, - * { - * serviceLevelObjectiveDefinition: { - * title: "Widget Title", - * viewType: "detail", - * sloId: "56789", - * showErrorBudget: true, - * viewMode: "overall", - * timeWindows: [ - * "7d", - * "previous_week", - * ], - * }, - * }, - * ], - * templateVariables: [ - * { - * name: "var_1", - * prefix: "host", - * "default": "aws", - * }, - * { - * name: "var_2", - * prefix: "service_name", - * "default": "autoscaling", - * }, - * ], - * templateVariablePresets: [{ - * name: "preset_1", - * templateVariables: [ - * { - * name: "var_1", - * value: "host.dc", - * }, - * { - * name: "var_2", - * value: "my_service", - * }, - * ], - * }], - * }); - * // Example Free Layout - * const freeDashboard = new datadog.Dashboard("free_dashboard", { - * title: "Free Layout Dashboard", - * description: "Created using the Datadog provider in Pulumi", - * layoutType: "free", - * widgets: [ - * { - * eventStreamDefinition: { - * query: "*", - * eventSize: "l", - * title: "Widget Title", - * titleSize: "16", - * titleAlign: "left", - * liveSpan: "1h", - * }, - * widgetLayout: { - * height: 43, - * width: 32, - * x: 0, - * y: 0, - * }, - * }, - * { - * eventTimelineDefinition: { - * query: "*", - * title: "Widget Title", - * titleSize: "16", - * titleAlign: "left", - * liveSpan: "1h", - * }, - * widgetLayout: { - * height: 9, - * width: 66, - * x: 33, - * y: 60, - * }, - * }, - * { - * freeTextDefinition: { - * text: "free text content", - * color: "#d00", - * fontSize: "36", - * textAlign: "left", - * }, - * widgetLayout: { - * height: 20, - * width: 34, - * x: 33, - * y: 0, - * }, - * }, - * { - * iframeDefinition: { - * url: "http://google.com", - * }, - * widgetLayout: { - * height: 46, - * width: 39, - * x: 101, - * y: 0, - * }, - * }, - * { - * imageDefinition: { - * url: "https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350", - * sizing: "fit", - * margin: "small", - * }, - * widgetLayout: { - * height: 20, - * width: 30, - * x: 69, - * y: 0, - * }, - * }, - * { - * logStreamDefinition: { - * indexes: ["main"], - * query: "error", - * columns: [ - * "core_host", - * "core_service", - * "tag_source", - * ], - * showDateColumn: true, - * showMessageColumn: true, - * messageDisplay: "expanded-md", - * sort: { - * column: "time", - * order: "desc", - * }, - * }, - * widgetLayout: { - * height: 36, - * width: 32, - * x: 0, - * y: 45, - * }, - * }, - * { - * manageStatusDefinition: { - * colorPreference: "text", - * displayFormat: "countsAndList", - * hideZeroCounts: true, - * query: "type:metric", - * showLastTriggered: false, - * sort: "status,asc", - * summaryType: "monitors", - * title: "Widget Title", - * titleSize: "16", - * titleAlign: "left", - * }, - * widgetLayout: { - * height: 40, - * width: 30, - * x: 101, - * y: 48, - * }, - * }, - * { - * traceServiceDefinition: { - * displayFormat: "three_column", - * env: "datadog.com", - * service: "alerting-cassandra", - * showBreakdown: true, - * showDistribution: true, - * showErrors: true, - * showHits: true, - * showLatency: false, - * showResourceList: false, - * sizeFormat: "large", - * spanName: "cassandra.query", - * title: "alerting-cassandra #env:datadog.com", - * titleAlign: "center", - * titleSize: "13", - * liveSpan: "1h", - * }, - * widgetLayout: { - * height: 38, - * width: 66, - * x: 33, - * y: 21, - * }, - * }, - * { - * timeseriesDefinition: { - * requests: [{ - * formulas: [ - * { - * formulaExpression: "my_query_1 + my_query_2", - * alias: "my ff query", - * }, - * { - * formulaExpression: "my_query_1 * my_query_2", - * limit: { - * count: 5, - * order: "desc", - * }, - * alias: "my second ff query", - * }, - * ], - * queries: [ - * { - * metricQuery: { - * dataSource: "metrics", - * query: "avg:system.cpu.user{app:general} by {env}", - * name: "my_query_1", - * aggregator: "sum", - * }, - * }, - * { - * metricQuery: { - * query: "avg:system.cpu.user{app:general} by {env}", - * name: "my_query_2", - * aggregator: "sum", - * }, - * }, - * ], - * }], - * }, - * widgetLayout: { - * height: 16, - * width: 25, - * x: 58, - * y: 83, - * }, - * }, - * { - * timeseriesDefinition: { - * requests: [ - * { - * queries: [{ - * eventQuery: { - * name: "my-query", - * dataSource: "logs", - * indexes: ["days-3"], - * computes: [{ - * aggregation: "count", - * }], - * groupBies: [{ - * facet: "host", - * sort: { - * metric: "@lambda.max_memory_used", - * aggregation: "avg", - * }, - * limit: 10, - * }], - * }, - * }], - * }, - * { - * displayType: "overlay", - * queries: [{ - * metricQuery: { - * name: "MyOverlay", - * dataSource: "metrics", - * query: "avg:system.cpu.user{host:COMP-QJWVM2FYT4}", - * }, - * }], - * }, - * ], - * }, - * widgetLayout: { - * height: 16, - * width: 28, - * x: 29, - * y: 83, - * }, - * }, - * { - * timeseriesDefinition: { - * requests: [{ - * queries: [{ - * processQuery: { - * dataSource: "process", - * textFilter: "abc", - * metric: "process.stat.cpu.total_pct", - * limit: 10, - * tagFilters: ["some_filter"], - * name: "my_process_query", - * sort: "asc", - * isNormalizedCpu: true, - * aggregator: "sum", - * }, - * }], - * }], - * }, - * widgetLayout: { - * height: 16, - * width: 28, - * x: 0, - * y: 83, - * }, - * }, - * { - * timeseriesDefinition: { - * requests: [{ - * formulas: [{ - * formulaExpression: "query1", - * alias: "my cloud cost query", - * }], - * queries: [{ - * cloudCostQuery: { - * dataSource: "cloud_cost", - * query: "sum:aws.cost.amortized{*}", - * name: "query1", - * aggregator: "sum", - * }, - * }], - * }], - * }, - * }, - * { - * powerpackDefinition: { - * powerpackId: "00000000-0000-0000-0000-000000000000", - * backgroundColor: "blue", - * bannerImg: "https://example.org/example.png", - * showTitle: true, - * title: "Powerpack Widget", - * templateVariables: { - * controlledExternallies: [{ - * name: "var_2", - * values: ["autoscaling"], - * prefix: "service_name", - * }], - * controlledByPowerpacks: [{ - * name: "var_3", - * prefix: "timeframe", - * values: [ - * "default", - * "values", - * "here", - * ], - * }], - * }, - * }, - * }, - * ], - * templateVariables: [ - * { - * name: "var_1", - * prefix: "host", - * "default": "aws", - * }, - * { - * name: "var_2", - * prefix: "service_name", - * "default": "autoscaling", - * }, - * ], - * templateVariablePresets: [{ - * name: "preset_1", - * templateVariables: [ - * { - * name: "var_1", - * value: "host.dc", - * }, - * { - * name: "var_2", - * value: "my_service", - * }, - * ], - * }], - * }); - * ``` - * * ## Import * * ```sh diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index b2bd92ed1..7219fcdf6 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -511,7 +511,7 @@ export interface DashboardWidgetChangeDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -541,36 +541,6 @@ export interface DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetChangeDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -682,7 +652,7 @@ export interface DashboardWidgetChangeDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -712,36 +682,6 @@ export interface DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetChangeDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -924,7 +864,7 @@ export interface DashboardWidgetChangeDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -958,36 +898,6 @@ export interface DashboardWidgetChangeDefinitionRequestQueryEventQueryCompute { metric?: pulumi.Input; } -export interface DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -1092,7 +1002,7 @@ export interface DashboardWidgetChangeDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -1122,36 +1032,6 @@ export interface DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetChangeDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -1175,7 +1055,7 @@ export interface DashboardWidgetChangeDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -1205,36 +1085,6 @@ export interface DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -1360,7 +1210,7 @@ export interface DashboardWidgetDistributionDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -1390,36 +1240,6 @@ export interface DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -1493,7 +1313,7 @@ export interface DashboardWidgetDistributionDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -1523,36 +1343,6 @@ export interface DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -1595,7 +1385,7 @@ export interface DashboardWidgetDistributionDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -1625,36 +1415,6 @@ export interface DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -1678,7 +1438,7 @@ export interface DashboardWidgetDistributionDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -1708,36 +1468,6 @@ export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryComput interval?: pulumi.Input; } -export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -2004,7 +1734,7 @@ export interface DashboardWidgetGeomapDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -2034,52 +1764,22 @@ export interface DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy { +export interface DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute { /** - * The facet name. + * The aggregation method. */ - facet?: pulumi.Input; + aggregation: pulumi.Input; /** - * The maximum number of items in the group. + * The facet name. */ - limit?: pulumi.Input; + facet?: pulumi.Input; /** - * A list of exactly one element describing the sort query to use. + * Define the time interval in seconds. */ - sortQuery?: pulumi.Input; + interval?: pulumi.Input; } -export interface DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - -export interface DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Define the time interval in seconds. - */ - interval?: pulumi.Input; -} - -export interface DashboardWidgetGeomapDefinitionRequestQuery { +export interface DashboardWidgetGeomapDefinitionRequestQuery { /** * The APM Dependency Stats query using formulas and functions. */ @@ -2227,7 +1927,7 @@ export interface DashboardWidgetGeomapDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -2261,36 +1961,6 @@ export interface DashboardWidgetGeomapDefinitionRequestQueryEventQueryCompute { metric?: pulumi.Input; } -export interface DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -2395,7 +2065,7 @@ export interface DashboardWidgetGeomapDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -2425,36 +2095,6 @@ export interface DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -2488,6 +2128,36 @@ export interface DashboardWidgetGeomapDefinitionView { focus: pulumi.Input; } +export interface DashboardWidgetGroupBy { + /** + * The facet name. + */ + facet?: pulumi.Input; + /** + * The maximum number of items in the group. + */ + limit?: pulumi.Input; + /** + * A list of exactly one element describing the sort query to use. + */ + sortQuery?: pulumi.Input; +} + +export interface DashboardWidgetGroupBySortQuery { + /** + * The aggregation method. + */ + aggregation: pulumi.Input; + /** + * The facet name. + */ + facet?: pulumi.Input; + /** + * Widget sorting methods. Valid values are `asc`, `desc`. + */ + order: pulumi.Input; +} + export interface DashboardWidgetGroupDefinition { /** * The background color of the group title, options: `vividBlue`, `vividPurple`, `vividPink`, `vividOrange`, `vividYellow`, `vividGreen`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray` or `white` @@ -2791,7 +2461,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -2821,36 +2491,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -2962,7 +2602,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -2992,36 +2632,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -3204,7 +2814,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -3238,36 +2848,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQueryCompute { metric?: pulumi.Input; } -export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -3372,7 +2952,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -3402,36 +2982,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -3455,7 +3005,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -3485,36 +3035,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -3672,7 +3192,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -3702,47 +3222,17 @@ export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy { +export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { + /** + * The aggregation method. + */ + aggregation: pulumi.Input; /** * The facet name. */ facet?: pulumi.Input; /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Define the time interval in seconds. + * Define the time interval in seconds. */ interval?: pulumi.Input; } @@ -3755,7 +3245,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -3785,36 +3275,6 @@ export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { /** * The aggregation method. @@ -3857,7 +3317,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -3887,36 +3347,6 @@ export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { /** * The aggregation method. @@ -3940,7 +3370,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -3970,36 +3400,6 @@ export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryCompute interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { /** * The aggregation method. @@ -4050,7 +3450,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -4080,36 +3480,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { /** * The aggregation method. @@ -4133,7 +3503,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -4163,36 +3533,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { /** * The aggregation method. @@ -4235,7 +3575,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -4265,36 +3605,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { /** * The aggregation method. @@ -4318,7 +3628,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -4348,36 +3658,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryCompute interval?: pulumi.Input; } -export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { /** * The aggregation method. @@ -4861,7 +4141,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -4891,36 +4171,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -5121,7 +4371,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -5151,47 +4401,17 @@ export interface DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy { +export interface DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute { /** - * The facet name. + * The aggregation method. */ - facet?: pulumi.Input; + aggregation: pulumi.Input; /** - * The maximum number of items in the group. + * The facet name. */ - limit?: pulumi.Input; + facet?: pulumi.Input; /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - -export interface DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Define the time interval in seconds. + * Define the time interval in seconds. */ interval?: pulumi.Input; } @@ -5363,7 +4583,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -5397,36 +4617,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComput metric?: pulumi.Input; } -export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -5531,7 +4721,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -5561,36 +4751,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -5614,7 +4774,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -5644,36 +4804,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQ interval?: pulumi.Input; } -export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -5804,7 +4934,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -5834,36 +4964,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -5887,7 +4987,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -5917,36 +5017,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -6097,7 +5167,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -6127,36 +5197,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -6339,7 +5379,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -6373,36 +5413,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComput metric?: pulumi.Input; } -export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -6507,7 +5517,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -6537,36 +5547,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -6590,7 +5570,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -6620,49 +5600,19 @@ export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQ interval?: pulumi.Input; } -export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { +export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { /** - * The facet name. + * The aggregation method. */ - facet?: pulumi.Input; + aggregation: pulumi.Input; /** - * The maximum number of items in the group. + * The facet name. */ - limit?: pulumi.Input; + facet?: pulumi.Input; /** - * A list of exactly one element describing the sort query to use. + * Define the time interval in seconds. */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - -export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Define the time interval in seconds. - */ - interval?: pulumi.Input; + interval?: pulumi.Input; } export interface DashboardWidgetQueryValueDefinitionTimeseriesBackground { @@ -7001,7 +5951,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQuer /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -7035,36 +5985,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQuer metric?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { /** * The events search string. @@ -7200,7 +6120,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7230,36 +6150,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { /** * The aggregation method. @@ -7283,7 +6173,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7313,36 +6203,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { /** * The aggregation method. @@ -7385,7 +6245,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7415,36 +6275,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { /** * The aggregation method. @@ -7468,7 +6298,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7498,36 +6328,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComput interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { /** * The aggregation method. @@ -7582,7 +6382,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7612,36 +6412,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { /** * The aggregation method. @@ -7665,7 +6435,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7695,36 +6465,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { /** * The aggregation method. @@ -7767,7 +6507,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7797,36 +6537,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { /** * The aggregation method. @@ -7850,7 +6560,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -7880,36 +6590,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComput interval?: pulumi.Input; } -export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { /** * The aggregation method. @@ -8371,7 +7051,7 @@ export interface DashboardWidgetSunburstDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -8401,36 +7081,6 @@ export interface DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -8454,7 +7104,7 @@ export interface DashboardWidgetSunburstDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -8484,36 +7134,6 @@ export interface DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -8625,7 +7245,7 @@ export interface DashboardWidgetSunburstDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -8633,44 +7253,14 @@ export interface DashboardWidgetSunburstDefinitionRequestLogQuery { /** * `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. */ - multiComputes?: pulumi.Input[]>; - /** - * The search query to use. - */ - searchQuery?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Define the time interval in seconds. - */ - interval?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; + multiComputes?: pulumi.Input[]>; /** - * A list of exactly one element describing the sort query to use. + * The search query to use. */ - sortQuery?: pulumi.Input; + searchQuery?: pulumi.Input; } -export interface DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { +export interface DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery { /** * The aggregation method. */ @@ -8680,9 +7270,9 @@ export interface DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuer */ facet?: pulumi.Input; /** - * Widget sorting methods. Valid values are `asc`, `desc`. + * Define the time interval in seconds. */ - order: pulumi.Input; + interval?: pulumi.Input; } export interface DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute { @@ -8708,7 +7298,7 @@ export interface DashboardWidgetSunburstDefinitionRequestNetworkQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -8738,36 +7328,6 @@ export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { /** * The aggregation method. @@ -8950,7 +7510,7 @@ export interface DashboardWidgetSunburstDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -8984,36 +7544,6 @@ export interface DashboardWidgetSunburstDefinitionRequestQueryEventQueryCompute metric?: pulumi.Input; } -export interface DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -9118,7 +7648,7 @@ export interface DashboardWidgetSunburstDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -9148,36 +7678,6 @@ export interface DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -9201,7 +7701,7 @@ export interface DashboardWidgetSunburstDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -9231,36 +7731,6 @@ export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQue interval?: pulumi.Input; } -export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -9448,7 +7918,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -9478,36 +7948,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -9531,7 +7971,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -9561,36 +8001,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -9702,7 +8112,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -9732,36 +8142,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -9796,7 +8176,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -9826,36 +8206,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQu interval?: pulumi.Input; } -export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { /** * The aggregation method. @@ -10038,7 +8388,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -10052,54 +8402,24 @@ export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery { */ search?: pulumi.Input; /** - * Storage location (private beta). - */ - storage?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { - /** - * The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * A time interval in milliseconds. - */ - interval?: pulumi.Input; - /** - * The measurable attribute to compute. - */ - metric?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. + * Storage location (private beta). */ - sort?: pulumi.Input; + storage?: pulumi.Input; } -export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { +export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + * The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. */ aggregation: pulumi.Input; /** - * The metric used for sorting group by results. + * A time interval in milliseconds. */ - metric?: pulumi.Input; + interval?: pulumi.Input; /** - * Direction of sort. Valid values are `asc`, `desc`. + * The measurable attribute to compute. */ - order?: pulumi.Input; + metric?: pulumi.Input; } export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { @@ -10206,7 +8526,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -10236,36 +8556,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery interval?: pulumi.Input; } -export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -10289,7 +8579,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -10319,36 +8609,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQ interval?: pulumi.Input; } -export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -10520,7 +8780,7 @@ export interface DashboardWidgetToplistDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -10550,36 +8810,6 @@ export interface DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetToplistDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -10603,7 +8833,7 @@ export interface DashboardWidgetToplistDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -10633,36 +8863,6 @@ export interface DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -10813,7 +9013,7 @@ export interface DashboardWidgetToplistDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -10843,36 +9043,6 @@ export interface DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetToplistDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -11055,7 +9225,7 @@ export interface DashboardWidgetToplistDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -11089,36 +9259,6 @@ export interface DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { metric?: pulumi.Input; } -export interface DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -11223,7 +9363,7 @@ export interface DashboardWidgetToplistDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -11253,36 +9393,6 @@ export interface DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { interval?: pulumi.Input; } -export interface DashboardWidgetToplistDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -11306,7 +9416,7 @@ export interface DashboardWidgetToplistDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * The name of the index to query. */ @@ -11336,36 +9446,6 @@ export interface DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuer interval?: pulumi.Input; } -export interface DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * The maximum number of items in the group. - */ - limit?: pulumi.Input; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: pulumi.Input; -} - -export interface DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: pulumi.Input; - /** - * The facet name. - */ - facet?: pulumi.Input; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: pulumi.Input; -} - export interface DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -11771,7 +9851,7 @@ export interface DashboardWidgetTreemapDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: pulumi.Input[]>; + groupBies?: pulumi.Input[]>; /** * An array of index names to query in the stream. */ @@ -11805,36 +9885,6 @@ export interface DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { metric?: pulumi.Input; } -export interface DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: pulumi.Input; - /** - * The number of groups to return. - */ - limit?: pulumi.Input; - /** - * The options for sorting group by results. - */ - sort?: pulumi.Input; -} - -export interface DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: pulumi.Input; - /** - * The metric used for sorting group by results. - */ - metric?: pulumi.Input; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: pulumi.Input; -} - export interface DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { /** * The events search string. diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index b6fd526cb..8620e3188 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -511,7 +511,7 @@ export interface DashboardWidgetChangeDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -541,36 +541,6 @@ export interface DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery { interval?: number; } -export interface DashboardWidgetChangeDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -682,7 +652,7 @@ export interface DashboardWidgetChangeDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -712,36 +682,6 @@ export interface DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery { interval?: number; } -export interface DashboardWidgetChangeDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -924,7 +864,7 @@ export interface DashboardWidgetChangeDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -958,36 +898,6 @@ export interface DashboardWidgetChangeDefinitionRequestQueryEventQueryCompute { metric?: string; } -export interface DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -1092,7 +1002,7 @@ export interface DashboardWidgetChangeDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -1122,36 +1032,6 @@ export interface DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery { interval?: number; } -export interface DashboardWidgetChangeDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -1175,7 +1055,7 @@ export interface DashboardWidgetChangeDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -1205,36 +1085,6 @@ export interface DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery interval?: number; } -export interface DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -1360,7 +1210,7 @@ export interface DashboardWidgetDistributionDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -1390,36 +1240,6 @@ export interface DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuer interval?: number; } -export interface DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -1493,7 +1313,7 @@ export interface DashboardWidgetDistributionDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -1523,36 +1343,6 @@ export interface DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuer interval?: number; } -export interface DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -1595,7 +1385,7 @@ export interface DashboardWidgetDistributionDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -1625,36 +1415,6 @@ export interface DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuer interval?: number; } -export interface DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -1678,7 +1438,7 @@ export interface DashboardWidgetDistributionDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -1708,36 +1468,6 @@ export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryComput interval?: number; } -export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -2004,7 +1734,7 @@ export interface DashboardWidgetGeomapDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -2034,52 +1764,22 @@ export interface DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery { interval?: number; } -export interface DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy { +export interface DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute { /** - * The facet name. + * The aggregation method. */ - facet?: string; + aggregation: string; /** - * The maximum number of items in the group. + * The facet name. */ - limit?: number; + facet?: string; /** - * A list of exactly one element describing the sort query to use. + * Define the time interval in seconds. */ - sortQuery?: outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery; + interval?: number; } -export interface DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - -export interface DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Define the time interval in seconds. - */ - interval?: number; -} - -export interface DashboardWidgetGeomapDefinitionRequestQuery { +export interface DashboardWidgetGeomapDefinitionRequestQuery { /** * The APM Dependency Stats query using formulas and functions. */ @@ -2227,7 +1927,7 @@ export interface DashboardWidgetGeomapDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -2261,36 +1961,6 @@ export interface DashboardWidgetGeomapDefinitionRequestQueryEventQueryCompute { metric?: string; } -export interface DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -2395,7 +2065,7 @@ export interface DashboardWidgetGeomapDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -2425,36 +2095,6 @@ export interface DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery { interval?: number; } -export interface DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -2488,6 +2128,36 @@ export interface DashboardWidgetGeomapDefinitionView { focus: string; } +export interface DashboardWidgetGroupBy { + /** + * The facet name. + */ + facet?: string; + /** + * The maximum number of items in the group. + */ + limit?: number; + /** + * A list of exactly one element describing the sort query to use. + */ + sortQuery?: outputs.DashboardWidgetGroupBySortQuery; +} + +export interface DashboardWidgetGroupBySortQuery { + /** + * The aggregation method. + */ + aggregation: string; + /** + * The facet name. + */ + facet?: string; + /** + * Widget sorting methods. Valid values are `asc`, `desc`. + */ + order: string; +} + export interface DashboardWidgetGroupDefinition { /** * The background color of the group title, options: `vividBlue`, `vividPurple`, `vividPink`, `vividOrange`, `vividYellow`, `vividGreen`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray` or `white` @@ -2791,7 +2461,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -2821,36 +2491,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery { interval?: number; } -export interface DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -2962,7 +2602,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -2992,36 +2632,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery { interval?: number; } -export interface DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -3204,7 +2814,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -3238,36 +2848,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQueryCompute { metric?: string; } -export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -3372,7 +2952,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -3402,36 +2982,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery { interval?: number; } -export interface DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -3455,7 +3005,7 @@ export interface DashboardWidgetHeatmapDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -3485,36 +3035,6 @@ export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuer interval?: number; } -export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -3672,7 +3192,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -3702,47 +3222,17 @@ export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy { +export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { + /** + * The aggregation method. + */ + aggregation: string; /** * The facet name. */ facet?: string; /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Define the time interval in seconds. + * Define the time interval in seconds. */ interval?: number; } @@ -3755,7 +3245,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -3785,36 +3275,6 @@ export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { /** * The aggregation method. @@ -3857,7 +3317,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -3887,36 +3347,6 @@ export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute { /** * The aggregation method. @@ -3940,7 +3370,7 @@ export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -3970,36 +3400,6 @@ export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryCompute interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { /** * The aggregation method. @@ -4050,7 +3450,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -4080,36 +3480,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { /** * The aggregation method. @@ -4133,7 +3503,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -4163,36 +3533,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute { /** * The aggregation method. @@ -4235,7 +3575,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -4265,36 +3605,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { /** * The aggregation method. @@ -4318,7 +3628,7 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -4348,36 +3658,6 @@ export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryCompute interval?: number; } -export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { /** * The aggregation method. @@ -4861,7 +4141,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -4891,36 +4171,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery interval?: number; } -export interface DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -5121,7 +4371,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -5151,47 +4401,17 @@ export interface DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery interval?: number; } -export interface DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy { +export interface DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute { /** - * The facet name. + * The aggregation method. */ - facet?: string; + aggregation: string; /** - * The maximum number of items in the group. + * The facet name. */ - limit?: number; + facet?: string; /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - -export interface DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Define the time interval in seconds. + * Define the time interval in seconds. */ interval?: number; } @@ -5363,7 +4583,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -5397,36 +4617,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComput metric?: string; } -export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -5531,7 +4721,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -5561,36 +4751,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery interval?: number; } -export interface DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -5614,7 +4774,7 @@ export interface DashboardWidgetQueryTableDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -5644,36 +4804,6 @@ export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQ interval?: number; } -export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -5804,7 +4934,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -5834,36 +4964,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery interval?: number; } -export interface DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -5887,7 +4987,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -5917,36 +5017,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuer interval?: number; } -export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -6097,7 +5167,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -6127,36 +5197,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery interval?: number; } -export interface DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -6339,7 +5379,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -6373,36 +5413,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComput metric?: string; } -export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -6507,7 +5517,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -6537,36 +5547,6 @@ export interface DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery interval?: number; } -export interface DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -6590,7 +5570,7 @@ export interface DashboardWidgetQueryValueDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -6620,49 +5600,19 @@ export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQ interval?: number; } -export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { +export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { /** - * The facet name. + * The aggregation method. */ - facet?: string; + aggregation: string; /** - * The maximum number of items in the group. + * The facet name. */ - limit?: number; + facet?: string; /** - * A list of exactly one element describing the sort query to use. + * Define the time interval in seconds. */ - sortQuery?: outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - -export interface DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Define the time interval in seconds. - */ - interval?: number; + interval?: number; } export interface DashboardWidgetQueryValueDefinitionTimeseriesBackground { @@ -7001,7 +5951,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQuer /** * Group by options. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -7035,36 +5985,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQuer metric?: string; } -export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { /** * The events search string. @@ -7200,7 +6120,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7230,36 +6150,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuer interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { /** * The aggregation method. @@ -7283,7 +6173,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7313,36 +6203,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuer interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { /** * The aggregation method. @@ -7385,7 +6245,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7415,36 +6275,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuer interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { /** * The aggregation method. @@ -7468,7 +6298,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7498,36 +6328,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComput interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { /** * The aggregation method. @@ -7582,7 +6382,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7612,36 +6412,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuer interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { /** * The aggregation method. @@ -7665,7 +6435,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7695,36 +6465,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuer interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { /** * The aggregation method. @@ -7767,7 +6507,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7797,36 +6537,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuer interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute { /** * The aggregation method. @@ -7850,7 +6560,7 @@ export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -7880,36 +6590,6 @@ export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComput interval?: number; } -export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { /** * The aggregation method. @@ -8371,7 +7051,7 @@ export interface DashboardWidgetSunburstDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -8401,36 +7081,6 @@ export interface DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery { interval?: number; } -export interface DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -8454,7 +7104,7 @@ export interface DashboardWidgetSunburstDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -8484,36 +7134,6 @@ export interface DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery interval?: number; } -export interface DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery; -} - -export interface DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -8625,7 +7245,7 @@ export interface DashboardWidgetSunburstDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -8633,44 +7253,14 @@ export interface DashboardWidgetSunburstDefinitionRequestLogQuery { /** * `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. */ - multiComputes?: outputs.DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute[]; - /** - * The search query to use. - */ - searchQuery?: string; -} - -export interface DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Define the time interval in seconds. - */ - interval?: number; -} - -export interface DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; + multiComputes?: outputs.DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute[]; /** - * A list of exactly one element describing the sort query to use. + * The search query to use. */ - sortQuery?: outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery; + searchQuery?: string; } -export interface DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { +export interface DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery { /** * The aggregation method. */ @@ -8680,9 +7270,9 @@ export interface DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuer */ facet?: string; /** - * Widget sorting methods. Valid values are `asc`, `desc`. + * Define the time interval in seconds. */ - order: string; + interval?: number; } export interface DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute { @@ -8708,7 +7298,7 @@ export interface DashboardWidgetSunburstDefinitionRequestNetworkQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -8738,36 +7328,6 @@ export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuer interval?: number; } -export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery; -} - -export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { /** * The aggregation method. @@ -8950,7 +7510,7 @@ export interface DashboardWidgetSunburstDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -8984,36 +7544,6 @@ export interface DashboardWidgetSunburstDefinitionRequestQueryEventQueryCompute metric?: string; } -export interface DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -9118,7 +7648,7 @@ export interface DashboardWidgetSunburstDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -9148,36 +7678,6 @@ export interface DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery { interval?: number; } -export interface DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -9201,7 +7701,7 @@ export interface DashboardWidgetSunburstDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -9231,36 +7731,6 @@ export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQue interval?: number; } -export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -9448,7 +7918,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -9478,36 +7948,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery interval?: number; } -export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -9531,7 +7971,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -9561,36 +8001,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuer interval?: number; } -export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -9702,7 +8112,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -9732,36 +8142,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery interval?: number; } -export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -9796,7 +8176,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -9826,36 +8206,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQu interval?: number; } -export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute { /** * The aggregation method. @@ -10038,7 +8388,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -10052,54 +8402,24 @@ export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery { */ search?: outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch; /** - * Storage location (private beta). - */ - storage?: string; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { - /** - * The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * A time interval in milliseconds. - */ - interval?: number; - /** - * The measurable attribute to compute. - */ - metric?: string; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. + * Storage location (private beta). */ - sort?: outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort; + storage?: string; } -export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { +export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. + * The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. */ aggregation: string; /** - * The metric used for sorting group by results. + * A time interval in milliseconds. */ - metric?: string; + interval?: number; /** - * Direction of sort. Valid values are `asc`, `desc`. + * The measurable attribute to compute. */ - order?: string; + metric?: string; } export interface DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { @@ -10206,7 +8526,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -10236,36 +8556,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery interval?: number; } -export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -10289,7 +8579,7 @@ export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -10319,36 +8609,6 @@ export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQ interval?: number; } -export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -10520,7 +8780,7 @@ export interface DashboardWidgetToplistDefinitionRequestApmQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -10550,36 +8810,6 @@ export interface DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery { interval?: number; } -export interface DashboardWidgetToplistDefinitionRequestApmQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery; -} - -export interface DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute { /** * The aggregation method. @@ -10603,7 +8833,7 @@ export interface DashboardWidgetToplistDefinitionRequestAuditQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -10633,36 +8863,6 @@ export interface DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery { interval?: number; } -export interface DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery; -} - -export interface DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute { /** * The aggregation method. @@ -10813,7 +9013,7 @@ export interface DashboardWidgetToplistDefinitionRequestLogQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -10843,36 +9043,6 @@ export interface DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery { interval?: number; } -export interface DashboardWidgetToplistDefinitionRequestLogQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery; -} - -export interface DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute { /** * The aggregation method. @@ -11055,7 +9225,7 @@ export interface DashboardWidgetToplistDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -11089,36 +9259,6 @@ export interface DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute { metric?: string; } -export interface DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch { /** * The events search string. @@ -11223,7 +9363,7 @@ export interface DashboardWidgetToplistDefinitionRequestRumQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -11253,36 +9393,6 @@ export interface DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery { interval?: number; } -export interface DashboardWidgetToplistDefinitionRequestRumQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery; -} - -export interface DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute { /** * The aggregation method. @@ -11306,7 +9416,7 @@ export interface DashboardWidgetToplistDefinitionRequestSecurityQuery { /** * Multiple `groupBy` blocks are allowed using the structure below. */ - groupBies?: outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * The name of the index to query. */ @@ -11336,36 +9446,6 @@ export interface DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuer interval?: number; } -export interface DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy { - /** - * The facet name. - */ - facet?: string; - /** - * The maximum number of items in the group. - */ - limit?: number; - /** - * A list of exactly one element describing the sort query to use. - */ - sortQuery?: outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery; -} - -export interface DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - /** - * The aggregation method. - */ - aggregation: string; - /** - * The facet name. - */ - facet?: string; - /** - * Widget sorting methods. Valid values are `asc`, `desc`. - */ - order: string; -} - export interface DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute { /** * The aggregation method. @@ -11771,7 +9851,7 @@ export interface DashboardWidgetTreemapDefinitionRequestQueryEventQuery { /** * Group by options. */ - groupBies?: outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy[]; + groupBies?: outputs.DashboardWidgetGroupBy[]; /** * An array of index names to query in the stream. */ @@ -11805,36 +9885,6 @@ export interface DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute { metric?: string; } -export interface DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - /** - * The event facet. - */ - facet: string; - /** - * The number of groups to return. - */ - limit?: number; - /** - * The options for sorting group by results. - */ - sort?: outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort; -} - -export interface DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { - /** - * The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - */ - aggregation: string; - /** - * The metric used for sorting group by results. - */ - metric?: string; - /** - * Direction of sort. Valid values are `asc`, `desc`. - */ - order?: string; -} - export interface DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch { /** * The events search string. diff --git a/sdk/python/pulumi_datadog/_inputs.py b/sdk/python/pulumi_datadog/_inputs.py index b2ee05304..a9466eb56 100644 --- a/sdk/python/pulumi_datadog/_inputs.py +++ b/sdk/python/pulumi_datadog/_inputs.py @@ -32,8 +32,6 @@ 'DashboardWidgetChangeDefinitionRequestArgs', 'DashboardWidgetChangeDefinitionRequestApmQueryArgs', 'DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetChangeDefinitionRequestFormulaArgs', 'DashboardWidgetChangeDefinitionRequestFormulaConditionalFormatArgs', @@ -41,8 +39,6 @@ 'DashboardWidgetChangeDefinitionRequestFormulaStyleArgs', 'DashboardWidgetChangeDefinitionRequestLogQueryArgs', 'DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetChangeDefinitionRequestProcessQueryArgs', 'DashboardWidgetChangeDefinitionRequestQueryArgs', @@ -51,47 +47,33 @@ 'DashboardWidgetChangeDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetChangeDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetChangeDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetChangeDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetChangeDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetChangeDefinitionRequestRumQueryArgs', 'DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetChangeDefinitionRequestSecurityQueryArgs', 'DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetCheckStatusDefinitionArgs', 'DashboardWidgetDistributionDefinitionArgs', 'DashboardWidgetDistributionDefinitionRequestArgs', 'DashboardWidgetDistributionDefinitionRequestApmQueryArgs', 'DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetDistributionDefinitionRequestApmStatsQueryArgs', 'DashboardWidgetDistributionDefinitionRequestApmStatsQueryColumnArgs', 'DashboardWidgetDistributionDefinitionRequestLogQueryArgs', 'DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetDistributionDefinitionRequestProcessQueryArgs', 'DashboardWidgetDistributionDefinitionRequestRumQueryArgs', 'DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs', 'DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetDistributionDefinitionRequestStyleArgs', 'DashboardWidgetEventStreamDefinitionArgs', @@ -106,8 +88,6 @@ 'DashboardWidgetGeomapDefinitionRequestFormulaStyleArgs', 'DashboardWidgetGeomapDefinitionRequestLogQueryArgs', 'DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetGeomapDefinitionRequestQueryArgs', 'DashboardWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs', @@ -115,19 +95,17 @@ 'DashboardWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetGeomapDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetGeomapDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetGeomapDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetGeomapDefinitionRequestRumQueryArgs', 'DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetGeomapDefinitionStyleArgs', 'DashboardWidgetGeomapDefinitionViewArgs', + 'DashboardWidgetGroupByArgs', + 'DashboardWidgetGroupBySortQueryArgs', 'DashboardWidgetGroupDefinitionArgs', 'DashboardWidgetGroupDefinitionWidgetArgs', 'DashboardWidgetGroupDefinitionWidgetWidgetLayoutArgs', @@ -137,8 +115,6 @@ 'DashboardWidgetHeatmapDefinitionRequestArgs', 'DashboardWidgetHeatmapDefinitionRequestApmQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetHeatmapDefinitionRequestFormulaArgs', 'DashboardWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs', @@ -146,8 +122,6 @@ 'DashboardWidgetHeatmapDefinitionRequestFormulaStyleArgs', 'DashboardWidgetHeatmapDefinitionRequestLogQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetHeatmapDefinitionRequestProcessQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestQueryArgs', @@ -156,21 +130,15 @@ 'DashboardWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetHeatmapDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestRumQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetHeatmapDefinitionRequestStyleArgs', 'DashboardWidgetHeatmapDefinitionYaxisArgs', @@ -180,46 +148,30 @@ 'DashboardWidgetHostmapDefinitionRequestFillArgs', 'DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionRequestFillProcessQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionRequestSizeArgs', 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionRequestSizeProcessQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs', - 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs', 'DashboardWidgetHostmapDefinitionStyleArgs', 'DashboardWidgetIframeDefinitionArgs', @@ -242,8 +194,6 @@ 'DashboardWidgetQueryTableDefinitionRequestArgs', 'DashboardWidgetQueryTableDefinitionRequestApmQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetQueryTableDefinitionRequestApmStatsQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs', @@ -254,8 +204,6 @@ 'DashboardWidgetQueryTableDefinitionRequestFormulaStyleArgs', 'DashboardWidgetQueryTableDefinitionRequestLogQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetQueryTableDefinitionRequestProcessQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestQueryArgs', @@ -264,34 +212,24 @@ 'DashboardWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetQueryTableDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestRumQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetQueryValueDefinitionArgs', 'DashboardWidgetQueryValueDefinitionCustomLinkArgs', 'DashboardWidgetQueryValueDefinitionRequestArgs', 'DashboardWidgetQueryValueDefinitionRequestApmQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs', - 'DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs', - 'DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs', 'DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs', 'DashboardWidgetQueryValueDefinitionRequestFormulaArgs', @@ -300,8 +238,6 @@ 'DashboardWidgetQueryValueDefinitionRequestFormulaStyleArgs', 'DashboardWidgetQueryValueDefinitionRequestLogQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetQueryValueDefinitionRequestProcessQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestQueryArgs', @@ -310,21 +246,15 @@ 'DashboardWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetQueryValueDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestRumQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetQueryValueDefinitionTimeseriesBackgroundArgs', 'DashboardWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs', @@ -342,8 +272,6 @@ 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs', - 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs', @@ -351,46 +279,30 @@ 'DashboardWidgetScatterplotDefinitionRequestXArgs', 'DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionRequestXProcessQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionRequestYArgs', 'DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionRequestYProcessQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs', - 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs', - 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs', 'DashboardWidgetScatterplotDefinitionXaxisArgs', 'DashboardWidgetScatterplotDefinitionYaxisArgs', @@ -416,13 +328,9 @@ 'DashboardWidgetSunburstDefinitionRequestArgs', 'DashboardWidgetSunburstDefinitionRequestApmQueryArgs', 'DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetSunburstDefinitionRequestAuditQueryArgs', 'DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs', - 'DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs', - 'DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs', 'DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs', 'DashboardWidgetSunburstDefinitionRequestFormulaArgs', 'DashboardWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs', @@ -430,13 +338,9 @@ 'DashboardWidgetSunburstDefinitionRequestFormulaStyleArgs', 'DashboardWidgetSunburstDefinitionRequestLogQueryArgs', 'DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs', 'DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs', - 'DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs', - 'DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs', 'DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs', 'DashboardWidgetSunburstDefinitionRequestProcessQueryArgs', 'DashboardWidgetSunburstDefinitionRequestQueryArgs', @@ -445,21 +349,15 @@ 'DashboardWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetSunburstDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetSunburstDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetSunburstDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetSunburstDefinitionRequestRumQueryArgs', 'DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs', 'DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetSunburstDefinitionRequestStyleArgs', 'DashboardWidgetTimeseriesDefinitionArgs', @@ -469,13 +367,9 @@ 'DashboardWidgetTimeseriesDefinitionRequestArgs', 'DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs', - 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs', - 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs', 'DashboardWidgetTimeseriesDefinitionRequestFormulaArgs', 'DashboardWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs', @@ -483,14 +377,10 @@ 'DashboardWidgetTimeseriesDefinitionRequestFormulaStyleArgs', 'DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetTimeseriesDefinitionRequestMetadataArgs', 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs', - 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs', - 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs', 'DashboardWidgetTimeseriesDefinitionRequestProcessQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestQueryArgs', @@ -499,21 +389,15 @@ 'DashboardWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetTimeseriesDefinitionRequestStyleArgs', 'DashboardWidgetTimeseriesDefinitionRightYaxisArgs', @@ -523,13 +407,9 @@ 'DashboardWidgetToplistDefinitionRequestArgs', 'DashboardWidgetToplistDefinitionRequestApmQueryArgs', 'DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs', - 'DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs', - 'DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs', 'DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs', 'DashboardWidgetToplistDefinitionRequestAuditQueryArgs', 'DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs', - 'DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs', - 'DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs', 'DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs', 'DashboardWidgetToplistDefinitionRequestConditionalFormatArgs', 'DashboardWidgetToplistDefinitionRequestFormulaArgs', @@ -538,8 +418,6 @@ 'DashboardWidgetToplistDefinitionRequestFormulaStyleArgs', 'DashboardWidgetToplistDefinitionRequestLogQueryArgs', 'DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs', - 'DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs', - 'DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs', 'DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs', 'DashboardWidgetToplistDefinitionRequestProcessQueryArgs', 'DashboardWidgetToplistDefinitionRequestQueryArgs', @@ -548,21 +426,15 @@ 'DashboardWidgetToplistDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetToplistDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetToplistDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetToplistDefinitionRequestRumQueryArgs', 'DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs', - 'DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs', - 'DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs', 'DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs', 'DashboardWidgetToplistDefinitionRequestSecurityQueryArgs', 'DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs', - 'DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs', - 'DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs', 'DashboardWidgetToplistDefinitionRequestStyleArgs', 'DashboardWidgetTopologyMapDefinitionArgs', @@ -582,8 +454,6 @@ 'DashboardWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs', 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryArgs', 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs', - 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs', - 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs', 'DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs', 'DashboardWidgetTreemapDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetTreemapDefinitionRequestQueryProcessQueryArgs', @@ -3192,13 +3062,13 @@ class DashboardWidgetChangeDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -3238,14 +3108,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefin @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -3327,114 +3197,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -3822,13 +3584,13 @@ class DashboardWidgetChangeDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -3868,14 +3630,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefin @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -3957,114 +3719,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -4704,7 +4358,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -4712,7 +4366,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -4767,14 +4421,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -4868,114 +4522,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -5336,13 +4882,13 @@ class DashboardWidgetChangeDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -5382,14 +4928,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefin @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -5471,114 +5017,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -5638,13 +5076,13 @@ class DashboardWidgetChangeDefinitionRequestSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -5684,14 +5122,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefin @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -5773,114 +5211,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -6339,13 +5669,13 @@ class DashboardWidgetDistributionDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -6385,14 +5715,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -6474,114 +5804,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -6825,13 +6047,13 @@ class DashboardWidgetDistributionDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -6871,14 +6093,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -6960,114 +6182,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -7197,13 +6311,13 @@ class DashboardWidgetDistributionDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -7243,14 +6357,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -7332,114 +6446,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -7499,13 +6505,13 @@ class DashboardWidgetDistributionDefinitionRequestSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -7545,14 +6551,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -7634,114 +6640,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -8726,13 +7624,13 @@ class DashboardWidgetGeomapDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -8772,14 +7670,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetGeomapDefin @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -8861,114 +7759,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -9538,7 +8328,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -9546,7 +8336,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -9601,14 +8391,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -9702,114 +8492,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -10170,13 +8852,13 @@ class DashboardWidgetGeomapDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -10216,14 +8898,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetGeomapDefin @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -10305,114 +8987,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -10526,6 +9100,114 @@ def focus(self, value: pulumi.Input[str]): pulumi.set(self, "focus", value) +@pulumi.input_type +class DashboardWidgetGroupByArgs: + def __init__(__self__, *, + facet: Optional[pulumi.Input[str]] = None, + limit: Optional[pulumi.Input[int]] = None, + sort_query: Optional[pulumi.Input['DashboardWidgetGroupBySortQueryArgs']] = None): + """ + :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] limit: The maximum number of items in the group. + :param pulumi.Input['DashboardWidgetGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + """ + if facet is not None: + pulumi.set(__self__, "facet", facet) + if limit is not None: + pulumi.set(__self__, "limit", limit) + if sort_query is not None: + pulumi.set(__self__, "sort_query", sort_query) + + @property + @pulumi.getter + def facet(self) -> Optional[pulumi.Input[str]]: + """ + The facet name. + """ + return pulumi.get(self, "facet") + + @facet.setter + def facet(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "facet", value) + + @property + @pulumi.getter + def limit(self) -> Optional[pulumi.Input[int]]: + """ + The maximum number of items in the group. + """ + return pulumi.get(self, "limit") + + @limit.setter + def limit(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "limit", value) + + @property + @pulumi.getter(name="sortQuery") + def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetGroupBySortQueryArgs']]: + """ + A list of exactly one element describing the sort query to use. + """ + return pulumi.get(self, "sort_query") + + @sort_query.setter + def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetGroupBySortQueryArgs']]): + pulumi.set(self, "sort_query", value) + + +@pulumi.input_type +class DashboardWidgetGroupBySortQueryArgs: + def __init__(__self__, *, + aggregation: pulumi.Input[str], + order: pulumi.Input[str], + facet: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] aggregation: The aggregation method. + :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. + :param pulumi.Input[str] facet: The facet name. + """ + pulumi.set(__self__, "aggregation", aggregation) + pulumi.set(__self__, "order", order) + if facet is not None: + pulumi.set(__self__, "facet", facet) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) + + @property + @pulumi.getter + def order(self) -> pulumi.Input[str]: + """ + Widget sorting methods. Valid values are `asc`, `desc`. + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: pulumi.Input[str]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter + def facet(self) -> Optional[pulumi.Input[str]]: + """ + The facet name. + """ + return pulumi.get(self, "facet") + + @facet.setter + def facet(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "facet", value) + + @pulumi.input_type class DashboardWidgetGroupDefinitionArgs: def __init__(__self__, *, @@ -11686,13 +10368,13 @@ class DashboardWidgetHeatmapDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -11732,14 +10414,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -11821,114 +10503,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -12316,13 +10890,13 @@ class DashboardWidgetHeatmapDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -12362,14 +10936,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -12451,114 +11025,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -13198,7 +11664,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -13206,7 +11672,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -13261,14 +11727,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -13362,114 +11828,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -13830,13 +12188,13 @@ class DashboardWidgetHeatmapDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -13876,14 +12234,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -13966,22 +12324,33 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs: +class DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, + aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): + interval: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] aggregation: The aggregation method. :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) @property @pulumi.getter @@ -13997,44 +12366,119 @@ def facet(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: + def interval(self) -> Optional[pulumi.Input[int]]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + + +@pulumi.input_type +class DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs: + def __init__(__self__, *, + index: pulumi.Input[str], + compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, + multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, + search_query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] index: The name of the index to query. + :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param pulumi.Input[str] search_query: The search query to use. + """ + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs']]: + @pulumi.getter + def index(self) -> pulumi.Input[str]: """ - A list of exactly one element describing the sort query to use. + The name of the index to query. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "index") - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) + @index.setter + def index(self, value: pulumi.Input[str]): + pulumi.set(self, "index", value) + + @property + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']]: + """ + `compute_query` or `multi_compute` is required. The map keys are listed below. + """ + return pulumi.get(self, "compute_query") + + @compute_query.setter + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']]): + pulumi.set(self, "compute_query", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: + """ + Multiple `group_by` blocks are allowed using the structure below. + """ + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @multi_computes.setter + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]]): + pulumi.set(self, "multi_computes", value) + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[pulumi.Input[str]]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") + + @search_query.setter + def search_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_query", value) @pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs: +class DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) if facet is not None: pulumi.set(__self__, "facet", facet) + if interval is not None: + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -14048,18 +12492,6 @@ def aggregation(self) -> pulumi.Input[str]: def aggregation(self, value: pulumi.Input[str]): pulumi.set(self, "aggregation", value) - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - @property @pulumi.getter def facet(self) -> Optional[pulumi.Input[str]]: @@ -14072,311 +12504,21 @@ def facet(self) -> Optional[pulumi.Input[str]]: def facet(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "facet", value) + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + @pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestSecurityQueryArgs: - def __init__(__self__, *, - index: pulumi.Input[str], - compute_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs']]]] = None, - multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, - search_query: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] index: The name of the index to query. - :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param pulumi.Input[str] search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> pulumi.Input[str]: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @index.setter - def index(self, value: pulumi.Input[str]): - pulumi.set(self, "index", value) - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']]: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs']]): - pulumi.set(self, "compute_query", value) - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs']]]]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs']]]]): - pulumi.set(self, "group_bies", value) - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs']]]]): - pulumi.set(self, "multi_computes", value) - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[pulumi.Input[str]]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - @search_query.setter - def search_query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_query", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs: +class DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, @@ -14940,13 +13082,13 @@ class DashboardWidgetHostmapDefinitionRequestFillApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -14986,14 +13128,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -15075,114 +13217,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -15242,13 +13276,13 @@ class DashboardWidgetHostmapDefinitionRequestFillLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -15288,14 +13322,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -15377,114 +13411,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -15614,13 +13540,13 @@ class DashboardWidgetHostmapDefinitionRequestFillRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -15660,14 +13586,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -15749,114 +13675,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -15916,13 +13734,13 @@ class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -15962,14 +13780,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -16051,114 +13869,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -16321,13 +14031,13 @@ class DashboardWidgetHostmapDefinitionRequestSizeApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -16367,14 +14077,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -16457,22 +14167,33 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs: +class DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs: def __init__(__self__, *, + aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs']] = None): + interval: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] aggregation: The aggregation method. :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) @property @pulumi.getter @@ -16488,44 +14209,119 @@ def facet(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: + def interval(self) -> Optional[pulumi.Input[int]]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + + +@pulumi.input_type +class DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs: + def __init__(__self__, *, + index: pulumi.Input[str], + compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, + multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]] = None, + search_query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] index: The name of the index to query. + :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param pulumi.Input[str] search_query: The search query to use. + """ + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs']]: + @pulumi.getter + def index(self) -> pulumi.Input[str]: """ - A list of exactly one element describing the sort query to use. + The name of the index to query. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "index") - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) + @index.setter + def index(self, value: pulumi.Input[str]): + pulumi.set(self, "index", value) + + @property + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']]: + """ + `compute_query` or `multi_compute` is required. The map keys are listed below. + """ + return pulumi.get(self, "compute_query") + + @compute_query.setter + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']]): + pulumi.set(self, "compute_query", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: + """ + Multiple `group_by` blocks are allowed using the structure below. + """ + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @multi_computes.setter + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]]): + pulumi.set(self, "multi_computes", value) + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[pulumi.Input[str]]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") + + @search_query.setter + def search_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_query", value) @pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs: +class DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) if facet is not None: pulumi.set(__self__, "facet", facet) + if interval is not None: + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -16539,18 +14335,6 @@ def aggregation(self) -> pulumi.Input[str]: def aggregation(self, value: pulumi.Input[str]): pulumi.set(self, "aggregation", value) - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - @property @pulumi.getter def facet(self) -> Optional[pulumi.Input[str]]: @@ -16563,311 +14347,21 @@ def facet(self) -> Optional[pulumi.Input[str]]: def facet(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "facet", value) + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + @pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeLogQueryArgs: - def __init__(__self__, *, - index: pulumi.Input[str], - compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs']]]] = None, - multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]] = None, - search_query: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] index: The name of the index to query. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param pulumi.Input[str] search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> pulumi.Input[str]: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @index.setter - def index(self, value: pulumi.Input[str]): - pulumi.set(self, "index", value) - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']]: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs']]): - pulumi.set(self, "compute_query", value) - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs']]]]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs']]]]): - pulumi.set(self, "group_bies", value) - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs']]]]): - pulumi.set(self, "multi_computes", value) - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[pulumi.Input[str]]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - @search_query.setter - def search_query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs: +class DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, @@ -16995,13 +14489,13 @@ class DashboardWidgetHostmapDefinitionRequestSizeRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -17041,14 +14535,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -17130,114 +14624,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -17297,13 +14683,13 @@ class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -17343,14 +14729,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -17432,114 +14818,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -19348,13 +16626,13 @@ class DashboardWidgetQueryTableDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -19394,14 +16672,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -19483,114 +16761,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -20310,13 +17480,13 @@ class DashboardWidgetQueryTableDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -20356,14 +17526,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -20445,114 +17615,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -21192,7 +18254,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -21200,7 +18262,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -21255,14 +18317,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -21356,114 +18418,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -21824,13 +18778,13 @@ class DashboardWidgetQueryTableDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -21870,14 +18824,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -21959,114 +18913,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -22126,13 +18972,13 @@ class DashboardWidgetQueryTableDefinitionRequestSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -22172,14 +19018,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -22261,114 +19107,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -22857,13 +19595,13 @@ class DashboardWidgetQueryValueDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -22903,14 +19641,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -22992,114 +19730,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -23159,13 +19789,13 @@ class DashboardWidgetQueryValueDefinitionRequestAuditQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -23205,14 +19835,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -23294,114 +19924,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs: def __init__(__self__, *, @@ -23937,13 +20459,13 @@ class DashboardWidgetQueryValueDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -23983,14 +20505,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -24072,114 +20594,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -24819,7 +21233,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -24827,7 +21241,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -24882,14 +21296,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -24983,114 +21397,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -25451,13 +21757,13 @@ class DashboardWidgetQueryValueDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -25497,14 +21803,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -25586,114 +21892,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -25753,13 +21951,13 @@ class DashboardWidgetQueryValueDefinitionRequestSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -25799,14 +21997,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -25888,114 +22086,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -27275,7 +23365,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -27283,7 +23373,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -27338,14 +23428,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -27439,114 +23529,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -28026,13 +24008,13 @@ class DashboardWidgetScatterplotDefinitionRequestXApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -28072,14 +24054,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplot @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -28161,114 +24143,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -28328,13 +24202,13 @@ class DashboardWidgetScatterplotDefinitionRequestXLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -28374,14 +24248,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplot @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -28463,114 +24337,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -28700,13 +24466,13 @@ class DashboardWidgetScatterplotDefinitionRequestXRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -28746,14 +24512,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplot @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -28835,114 +24601,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -29002,13 +24660,13 @@ class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -29048,14 +24706,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplot @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -29137,114 +24795,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -29423,13 +24973,13 @@ class DashboardWidgetScatterplotDefinitionRequestYApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -29469,14 +25019,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplot @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -29559,22 +25109,33 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs: +class DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs: def __init__(__self__, *, + aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs']] = None): + interval: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] aggregation: The aggregation method. :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) @property @pulumi.getter @@ -29590,44 +25151,119 @@ def facet(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: + def interval(self) -> Optional[pulumi.Input[int]]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + + +@pulumi.input_type +class DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs: + def __init__(__self__, *, + index: pulumi.Input[str], + compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, + multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]] = None, + search_query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] index: The name of the index to query. + :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param pulumi.Input[str] search_query: The search query to use. + """ + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs']]: + @pulumi.getter + def index(self) -> pulumi.Input[str]: """ - A list of exactly one element describing the sort query to use. + The name of the index to query. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "index") - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) + @index.setter + def index(self, value: pulumi.Input[str]): + pulumi.set(self, "index", value) + + @property + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']]: + """ + `compute_query` or `multi_compute` is required. The map keys are listed below. + """ + return pulumi.get(self, "compute_query") + + @compute_query.setter + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']]): + pulumi.set(self, "compute_query", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: + """ + Multiple `group_by` blocks are allowed using the structure below. + """ + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @multi_computes.setter + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]]): + pulumi.set(self, "multi_computes", value) + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[pulumi.Input[str]]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") + + @search_query.setter + def search_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_query", value) @pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs: +class DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) if facet is not None: pulumi.set(__self__, "facet", facet) + if interval is not None: + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -29641,18 +25277,6 @@ def aggregation(self) -> pulumi.Input[str]: def aggregation(self, value: pulumi.Input[str]): pulumi.set(self, "aggregation", value) - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - @property @pulumi.getter def facet(self) -> Optional[pulumi.Input[str]]: @@ -29665,311 +25289,21 @@ def facet(self) -> Optional[pulumi.Input[str]]: def facet(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "facet", value) + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + @pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYLogQueryArgs: - def __init__(__self__, *, - index: pulumi.Input[str], - compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs']]]] = None, - multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]] = None, - search_query: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] index: The name of the index to query. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param pulumi.Input[str] search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> pulumi.Input[str]: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @index.setter - def index(self, value: pulumi.Input[str]): - pulumi.set(self, "index", value) - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']]: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs']]): - pulumi.set(self, "compute_query", value) - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs']]]]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs']]]]): - pulumi.set(self, "group_bies", value) - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs']]]]): - pulumi.set(self, "multi_computes", value) - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[pulumi.Input[str]]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - @search_query.setter - def search_query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs: +class DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, @@ -30097,13 +25431,13 @@ class DashboardWidgetScatterplotDefinitionRequestYRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -30131,340 +25465,38 @@ def index(self, value: pulumi.Input[str]): @property @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs']]: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs']]): - pulumi.set(self, "compute_query", value) - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs']]]]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs']]]]): - pulumi.set(self, "group_bies", value) - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]]]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]]]): - pulumi.set(self, "multi_computes", value) - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[pulumi.Input[str]]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - @search_query.setter - def search_query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs: - def __init__(__self__, *, - index: pulumi.Input[str], - compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs']]]] = None, - multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]] = None, - search_query: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] index: The name of the index to query. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param pulumi.Input[str] search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> pulumi.Input[str]: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @index.setter - def index(self, value: pulumi.Input[str]): - pulumi.set(self, "index", value) - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']]: + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs']]: """ `compute_query` or `multi_compute` is required. The map keys are listed below. """ return pulumi.get(self, "compute_query") @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']]): + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs']]): pulumi.set(self, "compute_query", value) @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]]: + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]]]: """ `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. """ return pulumi.get(self, "multi_computes") @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]]): + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs']]]]): pulumi.set(self, "multi_computes", value) @property @@ -30481,7 +25513,7 @@ def search_query(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs: +class DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, @@ -30535,22 +25567,33 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs: +class DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs: def __init__(__self__, *, + aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']] = None): + interval: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] aggregation: The aggregation method. :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) @property @pulumi.getter @@ -30566,44 +25609,119 @@ def facet(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: + def interval(self) -> Optional[pulumi.Input[int]]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) + +@pulumi.input_type +class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryArgs: + def __init__(__self__, *, + index: pulumi.Input[str], + compute_query: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, + multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]] = None, + search_query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] index: The name of the index to query. + :param pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param pulumi.Input[str] search_query: The search query to use. + """ + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']]: + @pulumi.getter + def index(self) -> pulumi.Input[str]: """ - A list of exactly one element describing the sort query to use. + The name of the index to query. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "index") - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) + @index.setter + def index(self, value: pulumi.Input[str]): + pulumi.set(self, "index", value) + + @property + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']]: + """ + `compute_query` or `multi_compute` is required. The map keys are listed below. + """ + return pulumi.get(self, "compute_query") + + @compute_query.setter + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs']]): + pulumi.set(self, "compute_query", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: + """ + Multiple `group_by` blocks are allowed using the structure below. + """ + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @multi_computes.setter + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs']]]]): + pulumi.set(self, "multi_computes", value) + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[pulumi.Input[str]]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") + + @search_query.setter + def search_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_query", value) @pulumi.input_type -class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs: +class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) if facet is not None: pulumi.set(__self__, "facet", facet) + if interval is not None: + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -30617,18 +25735,6 @@ def aggregation(self) -> pulumi.Input[str]: def aggregation(self, value: pulumi.Input[str]): pulumi.set(self, "aggregation", value) - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - @property @pulumi.getter def facet(self) -> Optional[pulumi.Input[str]]: @@ -30641,6 +25747,18 @@ def facet(self) -> Optional[pulumi.Input[str]]: def facet(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "facet", value) + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + @pulumi.input_type class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs: @@ -32348,13 +27466,13 @@ class DashboardWidgetSunburstDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -32394,14 +27512,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDef @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -32483,114 +27601,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -32650,13 +27660,13 @@ class DashboardWidgetSunburstDefinitionRequestAuditQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -32696,14 +27706,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDef @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -32785,114 +27795,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs: def __init__(__self__, *, @@ -33280,13 +28182,13 @@ class DashboardWidgetSunburstDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -33326,14 +28228,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDef @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -33415,114 +28317,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -33582,13 +28376,13 @@ class DashboardWidgetSunburstDefinitionRequestNetworkQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -33628,14 +28422,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDef @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -33717,114 +28511,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs: def __init__(__self__, *, @@ -34464,7 +29150,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -34472,7 +29158,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -34527,14 +29213,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -34628,114 +29314,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -35096,13 +29674,13 @@ class DashboardWidgetSunburstDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -35130,340 +29708,38 @@ def index(self, value: pulumi.Input[str]): @property @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs']]: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs']]): - pulumi.set(self, "compute_query", value) - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs']]]]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs']]]]): - pulumi.set(self, "group_bies", value) - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]]]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]]]): - pulumi.set(self, "multi_computes", value) - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[pulumi.Input[str]]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - @search_query.setter - def search_query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_query", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs: - def __init__(__self__, *, - index: pulumi.Input[str], - compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs']]]] = None, - multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, - search_query: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] index: The name of the index to query. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param pulumi.Input[str] search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> pulumi.Input[str]: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @index.setter - def index(self, value: pulumi.Input[str]): - pulumi.set(self, "index", value) - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']]: + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs']]: """ `compute_query` or `multi_compute` is required. The map keys are listed below. """ return pulumi.get(self, "compute_query") @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']]): + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs']]): pulumi.set(self, "compute_query", value) @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]]: + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]]]: """ `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. """ return pulumi.get(self, "multi_computes") @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]]): + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs']]]]): pulumi.set(self, "multi_computes", value) @property @@ -35480,7 +29756,7 @@ def search_query(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs: +class DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, @@ -35534,22 +29810,33 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs: +class DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, + aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): + interval: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] aggregation: The aggregation method. :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) @property @pulumi.getter @@ -35565,44 +29852,119 @@ def facet(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: + def interval(self) -> Optional[pulumi.Input[int]]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) + +@pulumi.input_type +class DashboardWidgetSunburstDefinitionRequestSecurityQueryArgs: + def __init__(__self__, *, + index: pulumi.Input[str], + compute_query: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, + multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, + search_query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] index: The name of the index to query. + :param pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param pulumi.Input[str] search_query: The search query to use. + """ + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: + @pulumi.getter + def index(self) -> pulumi.Input[str]: """ - A list of exactly one element describing the sort query to use. + The name of the index to query. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "index") - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) + @index.setter + def index(self, value: pulumi.Input[str]): + pulumi.set(self, "index", value) + + @property + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']]: + """ + `compute_query` or `multi_compute` is required. The map keys are listed below. + """ + return pulumi.get(self, "compute_query") + + @compute_query.setter + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs']]): + pulumi.set(self, "compute_query", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: + """ + Multiple `group_by` blocks are allowed using the structure below. + """ + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @multi_computes.setter + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs']]]]): + pulumi.set(self, "multi_computes", value) + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[pulumi.Input[str]]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") + + @search_query.setter + def search_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_query", value) @pulumi.input_type -class DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs: +class DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) if facet is not None: pulumi.set(__self__, "facet", facet) + if interval is not None: + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -35616,18 +29978,6 @@ def aggregation(self) -> pulumi.Input[str]: def aggregation(self, value: pulumi.Input[str]): pulumi.set(self, "aggregation", value) - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - @property @pulumi.getter def facet(self) -> Optional[pulumi.Input[str]]: @@ -35640,6 +29990,18 @@ def facet(self) -> Optional[pulumi.Input[str]]: def facet(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "facet", value) + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + @pulumi.input_type class DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs: @@ -36340,13 +30702,13 @@ class DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -36386,14 +30748,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -36475,114 +30837,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, @@ -36642,13 +30896,13 @@ class DashboardWidgetTimeseriesDefinitionRequestAuditQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -36688,14 +30942,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -36777,114 +31031,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs: def __init__(__self__, *, @@ -37272,13 +31418,13 @@ class DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -37318,14 +31464,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -37407,114 +31553,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -37612,13 +31650,13 @@ class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -37658,14 +31696,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -37747,114 +31785,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs: def __init__(__self__, *, @@ -38494,7 +32424,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -38502,7 +32432,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -38557,14 +32487,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -38658,114 +32588,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -39126,13 +32948,13 @@ class DashboardWidgetTimeseriesDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -39172,14 +32994,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -39261,114 +33083,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, @@ -39428,13 +33142,13 @@ class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -39474,14 +33188,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesD @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -39563,114 +33277,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs: def __init__(__self__, *, @@ -40308,13 +33914,13 @@ class DashboardWidgetToplistDefinitionRequestApmQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -40342,340 +33948,38 @@ def index(self, value: pulumi.Input[str]): @property @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs']]: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs']]): - pulumi.set(self, "compute_query", value) - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs']]]]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs']]]]): - pulumi.set(self, "group_bies", value) - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]]]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]]]): - pulumi.set(self, "multi_computes", value) - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[pulumi.Input[str]]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - @search_query.setter - def search_query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_query", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestAuditQueryArgs: - def __init__(__self__, *, - index: pulumi.Input[str], - compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs']]]] = None, - multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, - search_query: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] index: The name of the index to query. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param pulumi.Input[str] search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> pulumi.Input[str]: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @index.setter - def index(self, value: pulumi.Input[str]): - pulumi.set(self, "index", value) - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']]: + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs']]: """ `compute_query` or `multi_compute` is required. The map keys are listed below. """ return pulumi.get(self, "compute_query") @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']]): + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs']]): pulumi.set(self, "compute_query", value) @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]]: + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]]]: """ `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. """ return pulumi.get(self, "multi_computes") @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]]): + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs']]]]): pulumi.set(self, "multi_computes", value) @property @@ -40692,7 +33996,7 @@ def search_query(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs: +class DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, @@ -40746,22 +34050,33 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs: +class DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs: def __init__(__self__, *, + aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs']] = None): + interval: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] aggregation: The aggregation method. :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) @property @pulumi.getter @@ -40777,44 +34092,119 @@ def facet(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: + def interval(self) -> Optional[pulumi.Input[int]]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) + +@pulumi.input_type +class DashboardWidgetToplistDefinitionRequestAuditQueryArgs: + def __init__(__self__, *, + index: pulumi.Input[str], + compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, + multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]] = None, + search_query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] index: The name of the index to query. + :param pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param pulumi.Input[str] search_query: The search query to use. + """ + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs']]: + @pulumi.getter + def index(self) -> pulumi.Input[str]: """ - A list of exactly one element describing the sort query to use. + The name of the index to query. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "index") - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) + @index.setter + def index(self, value: pulumi.Input[str]): + pulumi.set(self, "index", value) + + @property + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']]: + """ + `compute_query` or `multi_compute` is required. The map keys are listed below. + """ + return pulumi.get(self, "compute_query") + + @compute_query.setter + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs']]): + pulumi.set(self, "compute_query", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: + """ + Multiple `group_by` blocks are allowed using the structure below. + """ + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @multi_computes.setter + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs']]]]): + pulumi.set(self, "multi_computes", value) + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[pulumi.Input[str]]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") + + @search_query.setter + def search_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_query", value) @pulumi.input_type -class DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs: +class DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) if facet is not None: pulumi.set(__self__, "facet", facet) + if interval is not None: + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -40828,18 +34218,6 @@ def aggregation(self) -> pulumi.Input[str]: def aggregation(self, value: pulumi.Input[str]): pulumi.set(self, "aggregation", value) - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - @property @pulumi.getter def facet(self) -> Optional[pulumi.Input[str]]: @@ -40852,6 +34230,18 @@ def facet(self) -> Optional[pulumi.Input[str]]: def facet(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "facet", value) + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + @pulumi.input_type class DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs: @@ -41388,13 +34778,13 @@ class DashboardWidgetToplistDefinitionRequestLogQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -41434,14 +34824,14 @@ def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefi @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -41523,114 +34913,6 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @pulumi.input_type class DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs: def __init__(__self__, *, @@ -42270,7 +35552,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -42278,7 +35560,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -42333,14 +35615,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -42434,114 +35716,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, @@ -42902,13 +36076,13 @@ class DashboardWidgetToplistDefinitionRequestRumQueryArgs: def __init__(__self__, *, index: pulumi.Input[str], compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]]] = None, search_query: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] index: The name of the index to query. :param pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param pulumi.Input[str] search_query: The search query to use. """ @@ -42936,340 +36110,38 @@ def index(self, value: pulumi.Input[str]): @property @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs']]: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs']]): - pulumi.set(self, "compute_query", value) - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs']]]]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs']]]]): - pulumi.set(self, "group_bies", value) - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]]]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]]]): - pulumi.set(self, "multi_computes", value) - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[pulumi.Input[str]]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - @search_query.setter - def search_query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_query", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs: - def __init__(__self__, *, - facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs']] = None): - """ - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs']]: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. - :param pulumi.Input[str] facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None, - interval: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def facet(self) -> Optional[pulumi.Input[str]]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def interval(self) -> Optional[pulumi.Input[int]]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - @interval.setter - def interval(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval", value) - - -@pulumi.input_type -class DashboardWidgetToplistDefinitionRequestSecurityQueryArgs: - def __init__(__self__, *, - index: pulumi.Input[str], - compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']] = None, - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs']]]] = None, - multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, - search_query: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] index: The name of the index to query. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param pulumi.Input[str] search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> pulumi.Input[str]: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @index.setter - def index(self, value: pulumi.Input[str]): - pulumi.set(self, "index", value) - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']]: + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs']]: """ `compute_query` or `multi_compute` is required. The map keys are listed below. """ return pulumi.get(self, "compute_query") @compute_query.setter - def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']]): + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs']]): pulumi.set(self, "compute_query", value) @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Multiple `group_by` blocks are allowed using the structure below. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]]: + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]]]: """ `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. """ return pulumi.get(self, "multi_computes") @multi_computes.setter - def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]]): + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs']]]]): pulumi.set(self, "multi_computes", value) @property @@ -43286,7 +36158,7 @@ def search_query(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs: +class DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, @@ -43340,22 +36212,33 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs: +class DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs: def __init__(__self__, *, + aggregation: pulumi.Input[str], facet: Optional[pulumi.Input[str]] = None, - limit: Optional[pulumi.Input[int]] = None, - sort_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs']] = None): + interval: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] aggregation: The aggregation method. :param pulumi.Input[str] facet: The facet name. - :param pulumi.Input[int] limit: The maximum number of items in the group. - :param pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs'] sort_query: A list of exactly one element describing the sort query to use. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> pulumi.Input[str]: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @aggregation.setter + def aggregation(self, value: pulumi.Input[str]): + pulumi.set(self, "aggregation", value) @property @pulumi.getter @@ -43371,44 +36254,119 @@ def facet(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: + def interval(self) -> Optional[pulumi.Input[int]]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) + +@pulumi.input_type +class DashboardWidgetToplistDefinitionRequestSecurityQueryArgs: + def __init__(__self__, *, + index: pulumi.Input[str], + compute_query: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, + multi_computes: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]] = None, + search_query: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] index: The name of the index to query. + :param pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs'] compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param pulumi.Input[str] search_query: The search query to use. + """ + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs']]: + @pulumi.getter + def index(self) -> pulumi.Input[str]: """ - A list of exactly one element describing the sort query to use. + The name of the index to query. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "index") - @sort_query.setter - def sort_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs']]): - pulumi.set(self, "sort_query", value) + @index.setter + def index(self, value: pulumi.Input[str]): + pulumi.set(self, "index", value) + + @property + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']]: + """ + `compute_query` or `multi_compute` is required. The map keys are listed below. + """ + return pulumi.get(self, "compute_query") + + @compute_query.setter + def compute_query(self, value: Optional[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs']]): + pulumi.set(self, "compute_query", value) + + @property + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: + """ + Multiple `group_by` blocks are allowed using the structure below. + """ + return pulumi.get(self, "group_bies") + + @group_bies.setter + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): + pulumi.set(self, "group_bies", value) + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @multi_computes.setter + def multi_computes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs']]]]): + pulumi.set(self, "multi_computes", value) + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[pulumi.Input[str]]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") + + @search_query.setter + def search_query(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_query", value) @pulumi.input_type -class DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs: +class DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs: def __init__(__self__, *, aggregation: pulumi.Input[str], - order: pulumi.Input[str], - facet: Optional[pulumi.Input[str]] = None): + facet: Optional[pulumi.Input[str]] = None, + interval: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] aggregation: The aggregation method. - :param pulumi.Input[str] order: Widget sorting methods. Valid values are `asc`, `desc`. :param pulumi.Input[str] facet: The facet name. + :param pulumi.Input[int] interval: Define the time interval in seconds. """ pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) if facet is not None: pulumi.set(__self__, "facet", facet) + if interval is not None: + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -43422,18 +36380,6 @@ def aggregation(self) -> pulumi.Input[str]: def aggregation(self, value: pulumi.Input[str]): pulumi.set(self, "aggregation", value) - @property - @pulumi.getter - def order(self) -> pulumi.Input[str]: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: pulumi.Input[str]): - pulumi.set(self, "order", value) - @property @pulumi.getter def facet(self) -> Optional[pulumi.Input[str]]: @@ -43446,6 +36392,18 @@ def facet(self) -> Optional[pulumi.Input[str]]: def facet(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "facet", value) + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[int]]: + """ + Define the time interval in seconds. + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval", value) + @pulumi.input_type class DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs: @@ -44926,7 +37884,7 @@ def __init__(__self__, *, computes: pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs']]], data_source: pulumi.Input[str], name: pulumi.Input[str], - group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs']]]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]] = None, indexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs']] = None, storage: Optional[pulumi.Input[str]] = None): @@ -44934,7 +37892,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs']]] computes: The compute options. :param pulumi.Input[str] data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param pulumi.Input[str] name: The name of query for use in formulas. - :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs']]] group_bies: Group by options. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]] group_bies: Group by options. :param pulumi.Input[Sequence[pulumi.Input[str]]] indexes: An array of index names to query in the stream. :param pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs'] search: The search options. :param pulumi.Input[str] storage: Storage location (private beta). @@ -44989,14 +37947,14 @@ def name(self, value: pulumi.Input[str]): @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs']]]]: + def group_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]: """ Group by options. """ return pulumi.get(self, "group_bies") @group_bies.setter - def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs']]]]): + def group_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetGroupByArgs']]]]): pulumi.set(self, "group_bies", value) @property @@ -45090,114 +38048,6 @@ def metric(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric", value) -@pulumi.input_type -class DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs: - def __init__(__self__, *, - facet: pulumi.Input[str], - limit: Optional[pulumi.Input[int]] = None, - sort: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs']] = None): - """ - :param pulumi.Input[str] facet: The event facet. - :param pulumi.Input[int] limit: The number of groups to return. - :param pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs'] sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> pulumi.Input[str]: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @facet.setter - def facet(self, value: pulumi.Input[str]): - pulumi.set(self, "facet", value) - - @property - @pulumi.getter - def limit(self) -> Optional[pulumi.Input[int]]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @limit.setter - def limit(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "limit", value) - - @property - @pulumi.getter - def sort(self) -> Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs']]: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - @sort.setter - def sort(self, value: Optional[pulumi.Input['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs']]): - pulumi.set(self, "sort", value) - - -@pulumi.input_type -class DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs: - def __init__(__self__, *, - aggregation: pulumi.Input[str], - metric: Optional[pulumi.Input[str]] = None, - order: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param pulumi.Input[str] metric: The metric used for sorting group by results. - :param pulumi.Input[str] order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> pulumi.Input[str]: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @aggregation.setter - def aggregation(self, value: pulumi.Input[str]): - pulumi.set(self, "aggregation", value) - - @property - @pulumi.getter - def metric(self) -> Optional[pulumi.Input[str]]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @metric.setter - def metric(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "metric", value) - - @property - @pulumi.getter - def order(self) -> Optional[pulumi.Input[str]]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @order.setter - def order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "order", value) - - @pulumi.input_type class DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_datadog/dashboard.py b/sdk/python/pulumi_datadog/dashboard.py index bf8da1ac6..1fc2b8881 100644 --- a/sdk/python/pulumi_datadog/dashboard.py +++ b/sdk/python/pulumi_datadog/dashboard.py @@ -485,751 +485,6 @@ def __init__(__self__, """ Provides a Datadog dashboard resource. This can be used to create and manage Datadog dashboards. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Ordered Layout - ordered_dashboard = datadog.Dashboard("ordered_dashboard", - title="Ordered Layout Dashboard", - description="Created using the Datadog provider in Pulumi", - layout_type="ordered", - widgets=[ - datadog.DashboardWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="895605", - viz_type="timeseries", - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - alert_value_definition=datadog.DashboardWidgetAlertValueDefinitionArgs( - alert_id="895605", - precision=3, - unit="b", - text_align="center", - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - alert_value_definition=datadog.DashboardWidgetAlertValueDefinitionArgs( - alert_id="895605", - precision=3, - unit="b", - text_align="center", - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - change_definition=datadog.DashboardWidgetChangeDefinitionArgs( - requests=[datadog.DashboardWidgetChangeDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - change_type="absolute", - compare_to="week_before", - increase_good=True, - order_by="name", - order_dir="desc", - show_present=True, - )], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - distribution_definition=datadog.DashboardWidgetDistributionDefinitionArgs( - requests=[datadog.DashboardWidgetDistributionDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - style=datadog.DashboardWidgetDistributionDefinitionRequestStyleArgs( - palette="warm", - ), - )], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - check_status_definition=datadog.DashboardWidgetCheckStatusDefinitionArgs( - check="aws.ecs.agent_connected", - grouping="cluster", - group_bies=[ - "account", - "cluster", - ], - tags=[ - "account:demo", - "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk", - ], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - heatmap_definition=datadog.DashboardWidgetHeatmapDefinitionArgs( - requests=[datadog.DashboardWidgetHeatmapDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - style=datadog.DashboardWidgetHeatmapDefinitionRequestStyleArgs( - palette="warm", - ), - )], - yaxis=datadog.DashboardWidgetHeatmapDefinitionYaxisArgs( - min="1", - max="2", - include_zero=True, - scale="sqrt", - ), - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - hostmap_definition=datadog.DashboardWidgetHostmapDefinitionArgs( - request=datadog.DashboardWidgetHostmapDefinitionRequestArgs( - fills=[datadog.DashboardWidgetHostmapDefinitionRequestFillArgs( - q="avg:system.load.1{*} by {host}", - )], - sizes=[datadog.DashboardWidgetHostmapDefinitionRequestSizeArgs( - q="avg:memcache.uptime{*} by {host}", - )], - ), - node_type="container", - groups=[ - "host", - "region", - ], - no_group_hosts=True, - no_metric_hosts=True, - scopes=[ - "region:us-east-1", - "aws_account:727006795293", - ], - style=datadog.DashboardWidgetHostmapDefinitionStyleArgs( - palette="yellow_to_green", - palette_flip=True, - fill_min="10", - fill_max="20", - ), - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - note_definition=datadog.DashboardWidgetNoteDefinitionArgs( - content="note text", - background_color="pink", - font_size="14", - text_align="center", - show_tick=True, - tick_edge="left", - tick_pos="50%", - ), - ), - datadog.DashboardWidgetArgs( - query_value_definition=datadog.DashboardWidgetQueryValueDefinitionArgs( - requests=[datadog.DashboardWidgetQueryValueDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - aggregator="sum", - conditional_formats=[ - datadog.DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs( - comparator="<", - value=2, - palette="white_on_green", - ), - datadog.DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs( - comparator=">", - value=2.2, - palette="white_on_red", - ), - ], - )], - autoscale=True, - custom_unit="xx", - precision=4, - text_align="right", - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - query_table_definition=datadog.DashboardWidgetQueryTableDefinitionArgs( - requests=[datadog.DashboardWidgetQueryTableDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - aggregator="sum", - limit=10, - conditional_formats=[ - datadog.DashboardWidgetQueryTableDefinitionRequestConditionalFormatArgs( - comparator="<", - value=2, - palette="white_on_green", - ), - datadog.DashboardWidgetQueryTableDefinitionRequestConditionalFormatArgs( - comparator=">", - value=2.2, - palette="white_on_red", - ), - ], - )], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - scatterplot_definition=datadog.DashboardWidgetScatterplotDefinitionArgs( - request=datadog.DashboardWidgetScatterplotDefinitionRequestArgs( - xes=[datadog.DashboardWidgetScatterplotDefinitionRequestXArgs( - q="avg:system.cpu.user{*} by {service, account}", - aggregator="max", - )], - ys=[datadog.DashboardWidgetScatterplotDefinitionRequestYArgs( - q="avg:system.mem.used{*} by {service, account}", - aggregator="min", - )], - ), - color_by_groups=[ - "account", - "apm-role-group", - ], - xaxis=datadog.DashboardWidgetScatterplotDefinitionXaxisArgs( - include_zero=True, - label="x", - min="1", - max="2000", - scale="pow", - ), - yaxis=datadog.DashboardWidgetScatterplotDefinitionYaxisArgs( - include_zero=False, - label="y", - min="5", - max="2222", - scale="log", - ), - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - servicemap_definition=datadog.DashboardWidgetServicemapDefinitionArgs( - service="master-db", - filters=[ - "env:prod", - "datacenter:dc1", - ], - title="env: prod, datacenter:dc1, service: master-db", - title_size="16", - title_align="left", - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - q="avg:system.cpu.user{app:general} by {env}", - display_type="line", - style=datadog.DashboardWidgetTimeseriesDefinitionRequestStyleArgs( - palette="warm", - line_type="dashed", - line_width="thin", - ), - metadatas=[datadog.DashboardWidgetTimeseriesDefinitionRequestMetadataArgs( - expression="avg:system.cpu.user{app:general} by {env}", - alias_name="Alpha", - )], - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - log_query=datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs( - index="mcnulty", - compute_query=datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs( - aggregation="avg", - facet="@duration", - interval=5000, - ), - search_query="status:info", - group_bies=[datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs( - facet="host", - limit=10, - sort_query=datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs( - aggregation="avg", - order="desc", - facet="@duration", - ), - )], - ), - display_type="area", - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - apm_query=datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs( - index="apm-search", - compute_query=datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs( - aggregation="avg", - facet="@duration", - interval=5000, - ), - search_query="type:web", - group_bies=[datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs( - facet="resource_name", - limit=50, - sort_query=datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs( - aggregation="avg", - order="desc", - facet="@string_query.interval", - ), - )], - ), - display_type="bars", - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - process_query=datadog.DashboardWidgetTimeseriesDefinitionRequestProcessQueryArgs( - metric="process.stat.cpu.total_pct", - search_by="error", - filter_bies=["active"], - limit=50, - ), - display_type="area", - ), - ], - markers=[ - datadog.DashboardWidgetTimeseriesDefinitionMarkerArgs( - display_type="error dashed", - label=" z=6 ", - value="y = 4", - ), - datadog.DashboardWidgetTimeseriesDefinitionMarkerArgs( - display_type="ok solid", - value="10 < y < 999", - label=" x=8 ", - ), - ], - title="Widget Title", - show_legend=True, - legend_size="2", - live_span="1h", - events=[ - datadog.DashboardWidgetTimeseriesDefinitionEventArgs( - q="sources:test tags:1", - ), - datadog.DashboardWidgetTimeseriesDefinitionEventArgs( - q="sources:test tags:2", - ), - ], - yaxis=datadog.DashboardWidgetTimeseriesDefinitionYaxisArgs( - scale="log", - include_zero=False, - max="100", - ), - ), - ), - datadog.DashboardWidgetArgs( - toplist_definition=datadog.DashboardWidgetToplistDefinitionArgs( - requests=[datadog.DashboardWidgetToplistDefinitionRequestArgs( - q="avg:system.cpu.user{app:general} by {env}", - conditional_formats=[ - datadog.DashboardWidgetToplistDefinitionRequestConditionalFormatArgs( - comparator="<", - value=2, - palette="white_on_green", - ), - datadog.DashboardWidgetToplistDefinitionRequestConditionalFormatArgs( - comparator=">", - value=2.2, - palette="white_on_red", - ), - ], - )], - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - group_definition=datadog.DashboardWidgetGroupDefinitionArgs( - layout_type="ordered", - title="Group Widget", - widgets=[ - datadog.DashboardWidgetGroupDefinitionWidgetArgs( - note_definition=datadog.DashboardWidgetNoteDefinitionArgs( - content="cluster note widget", - background_color="pink", - font_size="14", - text_align="center", - show_tick=True, - tick_edge="left", - tick_pos="50%", - ), - ), - datadog.DashboardWidgetGroupDefinitionWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="123", - viz_type="toplist", - title="Alert Graph", - live_span="1h", - ), - ), - ], - ), - ), - datadog.DashboardWidgetArgs( - service_level_objective_definition=datadog.DashboardWidgetServiceLevelObjectiveDefinitionArgs( - title="Widget Title", - view_type="detail", - slo_id="56789", - show_error_budget=True, - view_mode="overall", - time_windows=[ - "7d", - "previous_week", - ], - ), - ), - ], - template_variables=[ - datadog.DashboardTemplateVariableArgs( - name="var_1", - prefix="host", - default="aws", - ), - datadog.DashboardTemplateVariableArgs( - name="var_2", - prefix="service_name", - default="autoscaling", - ), - ], - template_variable_presets=[datadog.DashboardTemplateVariablePresetArgs( - name="preset_1", - template_variables=[ - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_1", - value="host.dc", - ), - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_2", - value="my_service", - ), - ], - )]) - # Example Free Layout - free_dashboard = datadog.Dashboard("free_dashboard", - title="Free Layout Dashboard", - description="Created using the Datadog provider in Pulumi", - layout_type="free", - widgets=[ - datadog.DashboardWidgetArgs( - event_stream_definition=datadog.DashboardWidgetEventStreamDefinitionArgs( - query="*", - event_size="l", - title="Widget Title", - title_size="16", - title_align="left", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=43, - width=32, - x=0, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - event_timeline_definition=datadog.DashboardWidgetEventTimelineDefinitionArgs( - query="*", - title="Widget Title", - title_size="16", - title_align="left", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=9, - width=66, - x=33, - y=60, - ), - ), - datadog.DashboardWidgetArgs( - free_text_definition=datadog.DashboardWidgetFreeTextDefinitionArgs( - text="free text content", - color="#d00", - font_size="36", - text_align="left", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=20, - width=34, - x=33, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - iframe_definition=datadog.DashboardWidgetIframeDefinitionArgs( - url="http://google.com", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=46, - width=39, - x=101, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - image_definition=datadog.DashboardWidgetImageDefinitionArgs( - url="https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350", - sizing="fit", - margin="small", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=20, - width=30, - x=69, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - log_stream_definition=datadog.DashboardWidgetLogStreamDefinitionArgs( - indexes=["main"], - query="error", - columns=[ - "core_host", - "core_service", - "tag_source", - ], - show_date_column=True, - show_message_column=True, - message_display="expanded-md", - sort=datadog.DashboardWidgetLogStreamDefinitionSortArgs( - column="time", - order="desc", - ), - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=36, - width=32, - x=0, - y=45, - ), - ), - datadog.DashboardWidgetArgs( - manage_status_definition=datadog.DashboardWidgetManageStatusDefinitionArgs( - color_preference="text", - display_format="countsAndList", - hide_zero_counts=True, - query="type:metric", - show_last_triggered=False, - sort="status,asc", - summary_type="monitors", - title="Widget Title", - title_size="16", - title_align="left", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=40, - width=30, - x=101, - y=48, - ), - ), - datadog.DashboardWidgetArgs( - trace_service_definition=datadog.DashboardWidgetTraceServiceDefinitionArgs( - display_format="three_column", - env="datadog.com", - service="alerting-cassandra", - show_breakdown=True, - show_distribution=True, - show_errors=True, - show_hits=True, - show_latency=False, - show_resource_list=False, - size_format="large", - span_name="cassandra.query", - title="alerting-cassandra #env:datadog.com", - title_align="center", - title_size="13", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=38, - width=66, - x=33, - y=21, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - formulas=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs( - formula_expression="my_query_1 + my_query_2", - alias="my ff query", - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs( - formula_expression="my_query_1 * my_query_2", - limit=datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaLimitArgs( - count=5, - order="desc", - ), - alias="my second ff query", - ), - ], - queries=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - metric_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs( - data_source="metrics", - query="avg:system.cpu.user{app:general} by {env}", - name="my_query_1", - aggregator="sum", - ), - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - metric_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs( - query="avg:system.cpu.user{app:general} by {env}", - name="my_query_2", - aggregator="sum", - ), - ), - ], - )], - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=16, - width=25, - x=58, - y=83, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - event_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs( - name="my-query", - data_source="logs", - indexes=["days-3"], - computes=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs( - aggregation="count", - )], - group_bies=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs( - facet="host", - sort=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs( - metric="@lambda.max_memory_used", - aggregation="avg", - ), - limit=10, - )], - ), - )], - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - display_type="overlay", - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - metric_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs( - name="MyOverlay", - data_source="metrics", - query="avg:system.cpu.user{host:COMP-QJWVM2FYT4}", - ), - )], - ), - ], - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=16, - width=28, - x=29, - y=83, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - process_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs( - data_source="process", - text_filter="abc", - metric="process.stat.cpu.total_pct", - limit=10, - tag_filters=["some_filter"], - name="my_process_query", - sort="asc", - is_normalized_cpu=True, - aggregator="sum", - ), - )], - )], - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=16, - width=28, - x=0, - y=83, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - formulas=[datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs( - formula_expression="query1", - alias="my cloud cost query", - )], - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - cloud_cost_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs( - data_source="cloud_cost", - query="sum:aws.cost.amortized{*}", - name="query1", - aggregator="sum", - ), - )], - )], - ), - ), - datadog.DashboardWidgetArgs( - powerpack_definition=datadog.DashboardWidgetPowerpackDefinitionArgs( - powerpack_id="00000000-0000-0000-0000-000000000000", - background_color="blue", - banner_img="https://example.org/example.png", - show_title=True, - title="Powerpack Widget", - template_variables=datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesArgs( - controlled_externallies=[datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledExternallyArgs( - name="var_2", - values=["autoscaling"], - prefix="service_name", - )], - controlled_by_powerpacks=[datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledByPowerpackArgs( - name="var_3", - prefix="timeframe", - values=[ - "default", - "values", - "here", - ], - )], - ), - ), - ), - ], - template_variables=[ - datadog.DashboardTemplateVariableArgs( - name="var_1", - prefix="host", - default="aws", - ), - datadog.DashboardTemplateVariableArgs( - name="var_2", - prefix="service_name", - default="autoscaling", - ), - ], - template_variable_presets=[datadog.DashboardTemplateVariablePresetArgs( - name="preset_1", - template_variables=[ - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_1", - value="host.dc", - ), - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_2", - value="my_service", - ), - ], - )]) - ``` - ## Import ```sh @@ -1260,751 +515,6 @@ def __init__(__self__, """ Provides a Datadog dashboard resource. This can be used to create and manage Datadog dashboards. - ## Example Usage - - ```python - import pulumi - import pulumi_datadog as datadog - - # Example Ordered Layout - ordered_dashboard = datadog.Dashboard("ordered_dashboard", - title="Ordered Layout Dashboard", - description="Created using the Datadog provider in Pulumi", - layout_type="ordered", - widgets=[ - datadog.DashboardWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="895605", - viz_type="timeseries", - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - alert_value_definition=datadog.DashboardWidgetAlertValueDefinitionArgs( - alert_id="895605", - precision=3, - unit="b", - text_align="center", - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - alert_value_definition=datadog.DashboardWidgetAlertValueDefinitionArgs( - alert_id="895605", - precision=3, - unit="b", - text_align="center", - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - change_definition=datadog.DashboardWidgetChangeDefinitionArgs( - requests=[datadog.DashboardWidgetChangeDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - change_type="absolute", - compare_to="week_before", - increase_good=True, - order_by="name", - order_dir="desc", - show_present=True, - )], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - distribution_definition=datadog.DashboardWidgetDistributionDefinitionArgs( - requests=[datadog.DashboardWidgetDistributionDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - style=datadog.DashboardWidgetDistributionDefinitionRequestStyleArgs( - palette="warm", - ), - )], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - check_status_definition=datadog.DashboardWidgetCheckStatusDefinitionArgs( - check="aws.ecs.agent_connected", - grouping="cluster", - group_bies=[ - "account", - "cluster", - ], - tags=[ - "account:demo", - "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk", - ], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - heatmap_definition=datadog.DashboardWidgetHeatmapDefinitionArgs( - requests=[datadog.DashboardWidgetHeatmapDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - style=datadog.DashboardWidgetHeatmapDefinitionRequestStyleArgs( - palette="warm", - ), - )], - yaxis=datadog.DashboardWidgetHeatmapDefinitionYaxisArgs( - min="1", - max="2", - include_zero=True, - scale="sqrt", - ), - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - hostmap_definition=datadog.DashboardWidgetHostmapDefinitionArgs( - request=datadog.DashboardWidgetHostmapDefinitionRequestArgs( - fills=[datadog.DashboardWidgetHostmapDefinitionRequestFillArgs( - q="avg:system.load.1{*} by {host}", - )], - sizes=[datadog.DashboardWidgetHostmapDefinitionRequestSizeArgs( - q="avg:memcache.uptime{*} by {host}", - )], - ), - node_type="container", - groups=[ - "host", - "region", - ], - no_group_hosts=True, - no_metric_hosts=True, - scopes=[ - "region:us-east-1", - "aws_account:727006795293", - ], - style=datadog.DashboardWidgetHostmapDefinitionStyleArgs( - palette="yellow_to_green", - palette_flip=True, - fill_min="10", - fill_max="20", - ), - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - note_definition=datadog.DashboardWidgetNoteDefinitionArgs( - content="note text", - background_color="pink", - font_size="14", - text_align="center", - show_tick=True, - tick_edge="left", - tick_pos="50%", - ), - ), - datadog.DashboardWidgetArgs( - query_value_definition=datadog.DashboardWidgetQueryValueDefinitionArgs( - requests=[datadog.DashboardWidgetQueryValueDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - aggregator="sum", - conditional_formats=[ - datadog.DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs( - comparator="<", - value=2, - palette="white_on_green", - ), - datadog.DashboardWidgetQueryValueDefinitionRequestConditionalFormatArgs( - comparator=">", - value=2.2, - palette="white_on_red", - ), - ], - )], - autoscale=True, - custom_unit="xx", - precision=4, - text_align="right", - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - query_table_definition=datadog.DashboardWidgetQueryTableDefinitionArgs( - requests=[datadog.DashboardWidgetQueryTableDefinitionRequestArgs( - q="avg:system.load.1{env:staging} by {account}", - aggregator="sum", - limit=10, - conditional_formats=[ - datadog.DashboardWidgetQueryTableDefinitionRequestConditionalFormatArgs( - comparator="<", - value=2, - palette="white_on_green", - ), - datadog.DashboardWidgetQueryTableDefinitionRequestConditionalFormatArgs( - comparator=">", - value=2.2, - palette="white_on_red", - ), - ], - )], - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - scatterplot_definition=datadog.DashboardWidgetScatterplotDefinitionArgs( - request=datadog.DashboardWidgetScatterplotDefinitionRequestArgs( - xes=[datadog.DashboardWidgetScatterplotDefinitionRequestXArgs( - q="avg:system.cpu.user{*} by {service, account}", - aggregator="max", - )], - ys=[datadog.DashboardWidgetScatterplotDefinitionRequestYArgs( - q="avg:system.mem.used{*} by {service, account}", - aggregator="min", - )], - ), - color_by_groups=[ - "account", - "apm-role-group", - ], - xaxis=datadog.DashboardWidgetScatterplotDefinitionXaxisArgs( - include_zero=True, - label="x", - min="1", - max="2000", - scale="pow", - ), - yaxis=datadog.DashboardWidgetScatterplotDefinitionYaxisArgs( - include_zero=False, - label="y", - min="5", - max="2222", - scale="log", - ), - title="Widget Title", - live_span="1h", - ), - ), - datadog.DashboardWidgetArgs( - servicemap_definition=datadog.DashboardWidgetServicemapDefinitionArgs( - service="master-db", - filters=[ - "env:prod", - "datacenter:dc1", - ], - title="env: prod, datacenter:dc1, service: master-db", - title_size="16", - title_align="left", - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - q="avg:system.cpu.user{app:general} by {env}", - display_type="line", - style=datadog.DashboardWidgetTimeseriesDefinitionRequestStyleArgs( - palette="warm", - line_type="dashed", - line_width="thin", - ), - metadatas=[datadog.DashboardWidgetTimeseriesDefinitionRequestMetadataArgs( - expression="avg:system.cpu.user{app:general} by {env}", - alias_name="Alpha", - )], - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - log_query=datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryArgs( - index="mcnulty", - compute_query=datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs( - aggregation="avg", - facet="@duration", - interval=5000, - ), - search_query="status:info", - group_bies=[datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs( - facet="host", - limit=10, - sort_query=datadog.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs( - aggregation="avg", - order="desc", - facet="@duration", - ), - )], - ), - display_type="area", - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - apm_query=datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryArgs( - index="apm-search", - compute_query=datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs( - aggregation="avg", - facet="@duration", - interval=5000, - ), - search_query="type:web", - group_bies=[datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs( - facet="resource_name", - limit=50, - sort_query=datadog.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs( - aggregation="avg", - order="desc", - facet="@string_query.interval", - ), - )], - ), - display_type="bars", - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - process_query=datadog.DashboardWidgetTimeseriesDefinitionRequestProcessQueryArgs( - metric="process.stat.cpu.total_pct", - search_by="error", - filter_bies=["active"], - limit=50, - ), - display_type="area", - ), - ], - markers=[ - datadog.DashboardWidgetTimeseriesDefinitionMarkerArgs( - display_type="error dashed", - label=" z=6 ", - value="y = 4", - ), - datadog.DashboardWidgetTimeseriesDefinitionMarkerArgs( - display_type="ok solid", - value="10 < y < 999", - label=" x=8 ", - ), - ], - title="Widget Title", - show_legend=True, - legend_size="2", - live_span="1h", - events=[ - datadog.DashboardWidgetTimeseriesDefinitionEventArgs( - q="sources:test tags:1", - ), - datadog.DashboardWidgetTimeseriesDefinitionEventArgs( - q="sources:test tags:2", - ), - ], - yaxis=datadog.DashboardWidgetTimeseriesDefinitionYaxisArgs( - scale="log", - include_zero=False, - max="100", - ), - ), - ), - datadog.DashboardWidgetArgs( - toplist_definition=datadog.DashboardWidgetToplistDefinitionArgs( - requests=[datadog.DashboardWidgetToplistDefinitionRequestArgs( - q="avg:system.cpu.user{app:general} by {env}", - conditional_formats=[ - datadog.DashboardWidgetToplistDefinitionRequestConditionalFormatArgs( - comparator="<", - value=2, - palette="white_on_green", - ), - datadog.DashboardWidgetToplistDefinitionRequestConditionalFormatArgs( - comparator=">", - value=2.2, - palette="white_on_red", - ), - ], - )], - title="Widget Title", - ), - ), - datadog.DashboardWidgetArgs( - group_definition=datadog.DashboardWidgetGroupDefinitionArgs( - layout_type="ordered", - title="Group Widget", - widgets=[ - datadog.DashboardWidgetGroupDefinitionWidgetArgs( - note_definition=datadog.DashboardWidgetNoteDefinitionArgs( - content="cluster note widget", - background_color="pink", - font_size="14", - text_align="center", - show_tick=True, - tick_edge="left", - tick_pos="50%", - ), - ), - datadog.DashboardWidgetGroupDefinitionWidgetArgs( - alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs( - alert_id="123", - viz_type="toplist", - title="Alert Graph", - live_span="1h", - ), - ), - ], - ), - ), - datadog.DashboardWidgetArgs( - service_level_objective_definition=datadog.DashboardWidgetServiceLevelObjectiveDefinitionArgs( - title="Widget Title", - view_type="detail", - slo_id="56789", - show_error_budget=True, - view_mode="overall", - time_windows=[ - "7d", - "previous_week", - ], - ), - ), - ], - template_variables=[ - datadog.DashboardTemplateVariableArgs( - name="var_1", - prefix="host", - default="aws", - ), - datadog.DashboardTemplateVariableArgs( - name="var_2", - prefix="service_name", - default="autoscaling", - ), - ], - template_variable_presets=[datadog.DashboardTemplateVariablePresetArgs( - name="preset_1", - template_variables=[ - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_1", - value="host.dc", - ), - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_2", - value="my_service", - ), - ], - )]) - # Example Free Layout - free_dashboard = datadog.Dashboard("free_dashboard", - title="Free Layout Dashboard", - description="Created using the Datadog provider in Pulumi", - layout_type="free", - widgets=[ - datadog.DashboardWidgetArgs( - event_stream_definition=datadog.DashboardWidgetEventStreamDefinitionArgs( - query="*", - event_size="l", - title="Widget Title", - title_size="16", - title_align="left", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=43, - width=32, - x=0, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - event_timeline_definition=datadog.DashboardWidgetEventTimelineDefinitionArgs( - query="*", - title="Widget Title", - title_size="16", - title_align="left", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=9, - width=66, - x=33, - y=60, - ), - ), - datadog.DashboardWidgetArgs( - free_text_definition=datadog.DashboardWidgetFreeTextDefinitionArgs( - text="free text content", - color="#d00", - font_size="36", - text_align="left", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=20, - width=34, - x=33, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - iframe_definition=datadog.DashboardWidgetIframeDefinitionArgs( - url="http://google.com", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=46, - width=39, - x=101, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - image_definition=datadog.DashboardWidgetImageDefinitionArgs( - url="https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350", - sizing="fit", - margin="small", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=20, - width=30, - x=69, - y=0, - ), - ), - datadog.DashboardWidgetArgs( - log_stream_definition=datadog.DashboardWidgetLogStreamDefinitionArgs( - indexes=["main"], - query="error", - columns=[ - "core_host", - "core_service", - "tag_source", - ], - show_date_column=True, - show_message_column=True, - message_display="expanded-md", - sort=datadog.DashboardWidgetLogStreamDefinitionSortArgs( - column="time", - order="desc", - ), - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=36, - width=32, - x=0, - y=45, - ), - ), - datadog.DashboardWidgetArgs( - manage_status_definition=datadog.DashboardWidgetManageStatusDefinitionArgs( - color_preference="text", - display_format="countsAndList", - hide_zero_counts=True, - query="type:metric", - show_last_triggered=False, - sort="status,asc", - summary_type="monitors", - title="Widget Title", - title_size="16", - title_align="left", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=40, - width=30, - x=101, - y=48, - ), - ), - datadog.DashboardWidgetArgs( - trace_service_definition=datadog.DashboardWidgetTraceServiceDefinitionArgs( - display_format="three_column", - env="datadog.com", - service="alerting-cassandra", - show_breakdown=True, - show_distribution=True, - show_errors=True, - show_hits=True, - show_latency=False, - show_resource_list=False, - size_format="large", - span_name="cassandra.query", - title="alerting-cassandra #env:datadog.com", - title_align="center", - title_size="13", - live_span="1h", - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=38, - width=66, - x=33, - y=21, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - formulas=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs( - formula_expression="my_query_1 + my_query_2", - alias="my ff query", - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs( - formula_expression="my_query_1 * my_query_2", - limit=datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaLimitArgs( - count=5, - order="desc", - ), - alias="my second ff query", - ), - ], - queries=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - metric_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs( - data_source="metrics", - query="avg:system.cpu.user{app:general} by {env}", - name="my_query_1", - aggregator="sum", - ), - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - metric_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs( - query="avg:system.cpu.user{app:general} by {env}", - name="my_query_2", - aggregator="sum", - ), - ), - ], - )], - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=16, - width=25, - x=58, - y=83, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[ - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - event_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryArgs( - name="my-query", - data_source="logs", - indexes=["days-3"], - computes=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs( - aggregation="count", - )], - group_bies=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs( - facet="host", - sort=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs( - metric="@lambda.max_memory_used", - aggregation="avg", - ), - limit=10, - )], - ), - )], - ), - datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - display_type="overlay", - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - metric_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs( - name="MyOverlay", - data_source="metrics", - query="avg:system.cpu.user{host:COMP-QJWVM2FYT4}", - ), - )], - ), - ], - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=16, - width=28, - x=29, - y=83, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - process_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs( - data_source="process", - text_filter="abc", - metric="process.stat.cpu.total_pct", - limit=10, - tag_filters=["some_filter"], - name="my_process_query", - sort="asc", - is_normalized_cpu=True, - aggregator="sum", - ), - )], - )], - ), - widget_layout=datadog.DashboardWidgetWidgetLayoutArgs( - height=16, - width=28, - x=0, - y=83, - ), - ), - datadog.DashboardWidgetArgs( - timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs( - requests=[datadog.DashboardWidgetTimeseriesDefinitionRequestArgs( - formulas=[datadog.DashboardWidgetTimeseriesDefinitionRequestFormulaArgs( - formula_expression="query1", - alias="my cloud cost query", - )], - queries=[datadog.DashboardWidgetTimeseriesDefinitionRequestQueryArgs( - cloud_cost_query=datadog.DashboardWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs( - data_source="cloud_cost", - query="sum:aws.cost.amortized{*}", - name="query1", - aggregator="sum", - ), - )], - )], - ), - ), - datadog.DashboardWidgetArgs( - powerpack_definition=datadog.DashboardWidgetPowerpackDefinitionArgs( - powerpack_id="00000000-0000-0000-0000-000000000000", - background_color="blue", - banner_img="https://example.org/example.png", - show_title=True, - title="Powerpack Widget", - template_variables=datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesArgs( - controlled_externallies=[datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledExternallyArgs( - name="var_2", - values=["autoscaling"], - prefix="service_name", - )], - controlled_by_powerpacks=[datadog.DashboardWidgetPowerpackDefinitionTemplateVariablesControlledByPowerpackArgs( - name="var_3", - prefix="timeframe", - values=[ - "default", - "values", - "here", - ], - )], - ), - ), - ), - ], - template_variables=[ - datadog.DashboardTemplateVariableArgs( - name="var_1", - prefix="host", - default="aws", - ), - datadog.DashboardTemplateVariableArgs( - name="var_2", - prefix="service_name", - default="autoscaling", - ), - ], - template_variable_presets=[datadog.DashboardTemplateVariablePresetArgs( - name="preset_1", - template_variables=[ - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_1", - value="host.dc", - ), - datadog.DashboardTemplateVariablePresetTemplateVariableArgs( - name="var_2", - value="my_service", - ), - ], - )]) - ``` - ## Import ```sh diff --git a/sdk/python/pulumi_datadog/outputs.py b/sdk/python/pulumi_datadog/outputs.py index 14b919fa8..a6fb4d52d 100644 --- a/sdk/python/pulumi_datadog/outputs.py +++ b/sdk/python/pulumi_datadog/outputs.py @@ -33,8 +33,6 @@ 'DashboardWidgetChangeDefinitionRequest', 'DashboardWidgetChangeDefinitionRequestApmQuery', 'DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetChangeDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetChangeDefinitionRequestFormula', 'DashboardWidgetChangeDefinitionRequestFormulaConditionalFormat', @@ -42,8 +40,6 @@ 'DashboardWidgetChangeDefinitionRequestFormulaStyle', 'DashboardWidgetChangeDefinitionRequestLogQuery', 'DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetChangeDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetChangeDefinitionRequestProcessQuery', 'DashboardWidgetChangeDefinitionRequestQuery', @@ -52,47 +48,33 @@ 'DashboardWidgetChangeDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetChangeDefinitionRequestQueryEventQuery', 'DashboardWidgetChangeDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetChangeDefinitionRequestQueryMetricQuery', 'DashboardWidgetChangeDefinitionRequestQueryProcessQuery', 'DashboardWidgetChangeDefinitionRequestQuerySloQuery', 'DashboardWidgetChangeDefinitionRequestRumQuery', 'DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetChangeDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetChangeDefinitionRequestSecurityQuery', 'DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetCheckStatusDefinition', 'DashboardWidgetDistributionDefinition', 'DashboardWidgetDistributionDefinitionRequest', 'DashboardWidgetDistributionDefinitionRequestApmQuery', 'DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetDistributionDefinitionRequestApmStatsQuery', 'DashboardWidgetDistributionDefinitionRequestApmStatsQueryColumn', 'DashboardWidgetDistributionDefinitionRequestLogQuery', 'DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetDistributionDefinitionRequestProcessQuery', 'DashboardWidgetDistributionDefinitionRequestRumQuery', 'DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetDistributionDefinitionRequestSecurityQuery', 'DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetDistributionDefinitionRequestStyle', 'DashboardWidgetEventStreamDefinition', @@ -107,8 +89,6 @@ 'DashboardWidgetGeomapDefinitionRequestFormulaStyle', 'DashboardWidgetGeomapDefinitionRequestLogQuery', 'DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetGeomapDefinitionRequestQuery', 'DashboardWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery', @@ -116,19 +96,17 @@ 'DashboardWidgetGeomapDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetGeomapDefinitionRequestQueryEventQuery', 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetGeomapDefinitionRequestQueryMetricQuery', 'DashboardWidgetGeomapDefinitionRequestQueryProcessQuery', 'DashboardWidgetGeomapDefinitionRequestQuerySloQuery', 'DashboardWidgetGeomapDefinitionRequestRumQuery', 'DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetGeomapDefinitionStyle', 'DashboardWidgetGeomapDefinitionView', + 'DashboardWidgetGroupBy', + 'DashboardWidgetGroupBySortQuery', 'DashboardWidgetGroupDefinition', 'DashboardWidgetGroupDefinitionWidget', 'DashboardWidgetGroupDefinitionWidgetWidgetLayout', @@ -138,8 +116,6 @@ 'DashboardWidgetHeatmapDefinitionRequest', 'DashboardWidgetHeatmapDefinitionRequestApmQuery', 'DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetHeatmapDefinitionRequestFormula', 'DashboardWidgetHeatmapDefinitionRequestFormulaConditionalFormat', @@ -147,8 +123,6 @@ 'DashboardWidgetHeatmapDefinitionRequestFormulaStyle', 'DashboardWidgetHeatmapDefinitionRequestLogQuery', 'DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetHeatmapDefinitionRequestProcessQuery', 'DashboardWidgetHeatmapDefinitionRequestQuery', @@ -157,21 +131,15 @@ 'DashboardWidgetHeatmapDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetHeatmapDefinitionRequestQueryEventQuery', 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetHeatmapDefinitionRequestQueryMetricQuery', 'DashboardWidgetHeatmapDefinitionRequestQueryProcessQuery', 'DashboardWidgetHeatmapDefinitionRequestQuerySloQuery', 'DashboardWidgetHeatmapDefinitionRequestRumQuery', 'DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetHeatmapDefinitionRequestSecurityQuery', 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetHeatmapDefinitionRequestStyle', 'DashboardWidgetHeatmapDefinitionYaxis', @@ -181,46 +149,30 @@ 'DashboardWidgetHostmapDefinitionRequestFill', 'DashboardWidgetHostmapDefinitionRequestFillApmQuery', 'DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute', 'DashboardWidgetHostmapDefinitionRequestFillLogQuery', 'DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute', 'DashboardWidgetHostmapDefinitionRequestFillProcessQuery', 'DashboardWidgetHostmapDefinitionRequestFillRumQuery', 'DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute', 'DashboardWidgetHostmapDefinitionRequestFillSecurityQuery', 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute', 'DashboardWidgetHostmapDefinitionRequestSize', 'DashboardWidgetHostmapDefinitionRequestSizeApmQuery', 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute', 'DashboardWidgetHostmapDefinitionRequestSizeLogQuery', 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute', 'DashboardWidgetHostmapDefinitionRequestSizeProcessQuery', 'DashboardWidgetHostmapDefinitionRequestSizeRumQuery', 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute', 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQuery', 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery', - 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy', - 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery', 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute', 'DashboardWidgetHostmapDefinitionStyle', 'DashboardWidgetIframeDefinition', @@ -243,8 +195,6 @@ 'DashboardWidgetQueryTableDefinitionRequest', 'DashboardWidgetQueryTableDefinitionRequestApmQuery', 'DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetQueryTableDefinitionRequestApmStatsQuery', 'DashboardWidgetQueryTableDefinitionRequestApmStatsQueryColumn', @@ -255,8 +205,6 @@ 'DashboardWidgetQueryTableDefinitionRequestFormulaStyle', 'DashboardWidgetQueryTableDefinitionRequestLogQuery', 'DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetQueryTableDefinitionRequestProcessQuery', 'DashboardWidgetQueryTableDefinitionRequestQuery', @@ -265,34 +213,24 @@ 'DashboardWidgetQueryTableDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetQueryTableDefinitionRequestQueryEventQuery', 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetQueryTableDefinitionRequestQueryMetricQuery', 'DashboardWidgetQueryTableDefinitionRequestQueryProcessQuery', 'DashboardWidgetQueryTableDefinitionRequestQuerySloQuery', 'DashboardWidgetQueryTableDefinitionRequestRumQuery', 'DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetQueryTableDefinitionRequestSecurityQuery', 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetQueryValueDefinition', 'DashboardWidgetQueryValueDefinitionCustomLink', 'DashboardWidgetQueryValueDefinitionRequest', 'DashboardWidgetQueryValueDefinitionRequestApmQuery', 'DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetQueryValueDefinitionRequestAuditQuery', 'DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuery', - 'DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy', - 'DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery', 'DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute', 'DashboardWidgetQueryValueDefinitionRequestConditionalFormat', 'DashboardWidgetQueryValueDefinitionRequestFormula', @@ -301,8 +239,6 @@ 'DashboardWidgetQueryValueDefinitionRequestFormulaStyle', 'DashboardWidgetQueryValueDefinitionRequestLogQuery', 'DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetQueryValueDefinitionRequestProcessQuery', 'DashboardWidgetQueryValueDefinitionRequestQuery', @@ -311,21 +247,15 @@ 'DashboardWidgetQueryValueDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetQueryValueDefinitionRequestQueryEventQuery', 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetQueryValueDefinitionRequestQueryMetricQuery', 'DashboardWidgetQueryValueDefinitionRequestQueryProcessQuery', 'DashboardWidgetQueryValueDefinitionRequestQuerySloQuery', 'DashboardWidgetQueryValueDefinitionRequestRumQuery', 'DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetQueryValueDefinitionRequestSecurityQuery', 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetQueryValueDefinitionTimeseriesBackground', 'DashboardWidgetQueryValueDefinitionTimeseriesBackgroundYaxis', @@ -343,8 +273,6 @@ 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute', - 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery', 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery', @@ -352,46 +280,30 @@ 'DashboardWidgetScatterplotDefinitionRequestX', 'DashboardWidgetScatterplotDefinitionRequestXApmQuery', 'DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionRequestXLogQuery', 'DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionRequestXProcessQuery', 'DashboardWidgetScatterplotDefinitionRequestXRumQuery', 'DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionRequestXSecurityQuery', 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionRequestY', 'DashboardWidgetScatterplotDefinitionRequestYApmQuery', 'DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionRequestYLogQuery', 'DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionRequestYProcessQuery', 'DashboardWidgetScatterplotDefinitionRequestYRumQuery', 'DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionRequestYSecurityQuery', 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery', - 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy', - 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery', 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute', 'DashboardWidgetScatterplotDefinitionXaxis', 'DashboardWidgetScatterplotDefinitionYaxis', @@ -417,13 +329,9 @@ 'DashboardWidgetSunburstDefinitionRequest', 'DashboardWidgetSunburstDefinitionRequestApmQuery', 'DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetSunburstDefinitionRequestAuditQuery', 'DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery', - 'DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy', - 'DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery', 'DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute', 'DashboardWidgetSunburstDefinitionRequestFormula', 'DashboardWidgetSunburstDefinitionRequestFormulaConditionalFormat', @@ -431,13 +339,9 @@ 'DashboardWidgetSunburstDefinitionRequestFormulaStyle', 'DashboardWidgetSunburstDefinitionRequestLogQuery', 'DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetSunburstDefinitionRequestNetworkQuery', 'DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuery', - 'DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy', - 'DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery', 'DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute', 'DashboardWidgetSunburstDefinitionRequestProcessQuery', 'DashboardWidgetSunburstDefinitionRequestQuery', @@ -446,21 +350,15 @@ 'DashboardWidgetSunburstDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetSunburstDefinitionRequestQueryEventQuery', 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetSunburstDefinitionRequestQueryMetricQuery', 'DashboardWidgetSunburstDefinitionRequestQueryProcessQuery', 'DashboardWidgetSunburstDefinitionRequestQuerySloQuery', 'DashboardWidgetSunburstDefinitionRequestRumQuery', 'DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetSunburstDefinitionRequestSecurityQuery', 'DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetSunburstDefinitionRequestStyle', 'DashboardWidgetTimeseriesDefinition', @@ -470,13 +368,9 @@ 'DashboardWidgetTimeseriesDefinitionRequest', 'DashboardWidgetTimeseriesDefinitionRequestApmQuery', 'DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetTimeseriesDefinitionRequestAuditQuery', 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery', - 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy', - 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery', 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute', 'DashboardWidgetTimeseriesDefinitionRequestFormula', 'DashboardWidgetTimeseriesDefinitionRequestFormulaConditionalFormat', @@ -484,14 +378,10 @@ 'DashboardWidgetTimeseriesDefinitionRequestFormulaStyle', 'DashboardWidgetTimeseriesDefinitionRequestLogQuery', 'DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetTimeseriesDefinitionRequestMetadata', 'DashboardWidgetTimeseriesDefinitionRequestNetworkQuery', 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery', - 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy', - 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery', 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute', 'DashboardWidgetTimeseriesDefinitionRequestProcessQuery', 'DashboardWidgetTimeseriesDefinitionRequestQuery', @@ -500,21 +390,15 @@ 'DashboardWidgetTimeseriesDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQuery', 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetTimeseriesDefinitionRequestQueryMetricQuery', 'DashboardWidgetTimeseriesDefinitionRequestQueryProcessQuery', 'DashboardWidgetTimeseriesDefinitionRequestQuerySloQuery', 'DashboardWidgetTimeseriesDefinitionRequestRumQuery', 'DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetTimeseriesDefinitionRequestSecurityQuery', 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetTimeseriesDefinitionRequestStyle', 'DashboardWidgetTimeseriesDefinitionRightYaxis', @@ -524,13 +408,9 @@ 'DashboardWidgetToplistDefinitionRequest', 'DashboardWidgetToplistDefinitionRequestApmQuery', 'DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery', - 'DashboardWidgetToplistDefinitionRequestApmQueryGroupBy', - 'DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery', 'DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute', 'DashboardWidgetToplistDefinitionRequestAuditQuery', 'DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery', - 'DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy', - 'DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery', 'DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute', 'DashboardWidgetToplistDefinitionRequestConditionalFormat', 'DashboardWidgetToplistDefinitionRequestFormula', @@ -539,8 +419,6 @@ 'DashboardWidgetToplistDefinitionRequestFormulaStyle', 'DashboardWidgetToplistDefinitionRequestLogQuery', 'DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery', - 'DashboardWidgetToplistDefinitionRequestLogQueryGroupBy', - 'DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery', 'DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute', 'DashboardWidgetToplistDefinitionRequestProcessQuery', 'DashboardWidgetToplistDefinitionRequestQuery', @@ -549,21 +427,15 @@ 'DashboardWidgetToplistDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetToplistDefinitionRequestQueryEventQuery', 'DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetToplistDefinitionRequestQueryMetricQuery', 'DashboardWidgetToplistDefinitionRequestQueryProcessQuery', 'DashboardWidgetToplistDefinitionRequestQuerySloQuery', 'DashboardWidgetToplistDefinitionRequestRumQuery', 'DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery', - 'DashboardWidgetToplistDefinitionRequestRumQueryGroupBy', - 'DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery', 'DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute', 'DashboardWidgetToplistDefinitionRequestSecurityQuery', 'DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery', - 'DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy', - 'DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery', 'DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute', 'DashboardWidgetToplistDefinitionRequestStyle', 'DashboardWidgetTopologyMapDefinition', @@ -583,8 +455,6 @@ 'DashboardWidgetTreemapDefinitionRequestQueryCloudCostQuery', 'DashboardWidgetTreemapDefinitionRequestQueryEventQuery', 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute', - 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy', - 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort', 'DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch', 'DashboardWidgetTreemapDefinitionRequestQueryMetricQuery', 'DashboardWidgetTreemapDefinitionRequestQueryProcessQuery', @@ -3123,13 +2993,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetChangeDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetChangeDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetChangeDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -3161,7 +3031,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequ @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -3226,107 +3096,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetChangeDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetChangeDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -3710,13 +3479,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetChangeDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetChangeDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetChangeDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -3748,7 +3517,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequ @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -3813,107 +3582,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetChangeDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetChangeDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -4539,7 +4207,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -4547,7 +4215,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetChangeDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetChangeDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -4590,7 +4258,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -4663,90 +4331,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetChangeDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -5111,13 +4695,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetChangeDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetChangeDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetChangeDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -5149,7 +4733,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequ @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -5214,107 +4798,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetChangeDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetChangeDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -5385,13 +4868,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetChangeDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetChangeDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetChangeDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -5423,7 +4906,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequ @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -5488,107 +4971,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -6037,13 +5419,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetDistributionDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetDistributionDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetDistributionDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -6075,7 +5457,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetDistributionDefiniti @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -6140,107 +5522,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -6487,13 +5768,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetDistributionDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetDistributionDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetDistributionDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -6525,7 +5806,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetDistributionDefiniti @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -6590,107 +5871,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -6834,13 +6014,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetDistributionDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -6872,7 +6052,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetDistributionDefiniti @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -6937,107 +6117,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -7108,13 +6187,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -7146,7 +6225,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetDistributionDefiniti @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -7211,107 +6290,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -8280,13 +7258,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetGeomapDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -8318,7 +7296,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetGeomapDefinitionRequ @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -8383,107 +7361,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetGeomapDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetGeomapDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -9036,7 +7913,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -9044,7 +7921,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -9087,7 +7964,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -9160,90 +8037,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetGeomapDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -9608,13 +8401,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetGeomapDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -9646,7 +8439,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetGeomapDefinitionRequ @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -9711,107 +8504,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetGeomapDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetGeomapDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -9918,6 +8610,107 @@ def focus(self) -> str: return pulumi.get(self, "focus") +@pulumi.output_type +class DashboardWidgetGroupBy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sortQuery": + suggest = "sort_query" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetGroupBy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetGroupBy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetGroupBy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + facet: Optional[str] = None, + limit: Optional[int] = None, + sort_query: Optional['outputs.DashboardWidgetGroupBySortQuery'] = None): + """ + :param str facet: The facet name. + :param int limit: The maximum number of items in the group. + :param 'DashboardWidgetGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. + """ + if facet is not None: + pulumi.set(__self__, "facet", facet) + if limit is not None: + pulumi.set(__self__, "limit", limit) + if sort_query is not None: + pulumi.set(__self__, "sort_query", sort_query) + + @property + @pulumi.getter + def facet(self) -> Optional[str]: + """ + The facet name. + """ + return pulumi.get(self, "facet") + + @property + @pulumi.getter + def limit(self) -> Optional[int]: + """ + The maximum number of items in the group. + """ + return pulumi.get(self, "limit") + + @property + @pulumi.getter(name="sortQuery") + def sort_query(self) -> Optional['outputs.DashboardWidgetGroupBySortQuery']: + """ + A list of exactly one element describing the sort query to use. + """ + return pulumi.get(self, "sort_query") + + +@pulumi.output_type +class DashboardWidgetGroupBySortQuery(dict): + def __init__(__self__, *, + aggregation: str, + order: str, + facet: Optional[str] = None): + """ + :param str aggregation: The aggregation method. + :param str order: Widget sorting methods. Valid values are `asc`, `desc`. + :param str facet: The facet name. + """ + pulumi.set(__self__, "aggregation", aggregation) + pulumi.set(__self__, "order", order) + if facet is not None: + pulumi.set(__self__, "facet", facet) + + @property + @pulumi.getter + def aggregation(self) -> str: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") + + @property + @pulumi.getter + def order(self) -> str: + """ + Widget sorting methods. Valid values are `asc`, `desc`. + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter + def facet(self) -> Optional[str]: + """ + The facet name. + """ + return pulumi.get(self, "facet") + + @pulumi.output_type class DashboardWidgetGroupDefinition(dict): @staticmethod @@ -11030,13 +9823,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHeatmapDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -11068,7 +9861,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -11133,107 +9926,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHeatmapDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -11617,13 +10309,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHeatmapDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -11655,7 +10347,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -11720,107 +10412,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHeatmapDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -12446,7 +11037,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -12454,7 +11045,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -12497,7 +11088,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -12570,90 +11161,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetHeatmapDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -13018,13 +11525,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHeatmapDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -13056,7 +11563,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -13121,107 +11628,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHeatmapDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -13292,13 +11698,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -13330,7 +11736,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -13395,107 +11801,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -14044,13 +12349,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -14082,7 +12387,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -14147,107 +12452,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestFillApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -14318,13 +12522,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -14356,7 +12560,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -14421,107 +12625,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestFillLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -14665,13 +12768,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -14703,7 +12806,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -14768,107 +12871,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestFillRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -14939,13 +12941,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -14977,7 +12979,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -15042,107 +13044,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -15317,13 +13218,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -15355,7 +13256,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -15420,107 +13321,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -15591,13 +13391,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -15629,7 +13429,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -15694,107 +13494,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -15938,13 +13637,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -15976,7 +13675,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -16041,107 +13740,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -16212,13 +13810,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -16250,7 +13848,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -16315,107 +13913,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -18134,13 +15631,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryTableDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -18172,7 +15669,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -18237,107 +15734,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryTableDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -19032,13 +16428,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryTableDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -19070,7 +16466,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -19135,107 +16531,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryTableDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -19861,7 +17156,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -19869,7 +17164,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -19912,7 +17207,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -19985,90 +17280,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetQueryTableDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -20433,13 +17644,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryTableDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -20471,7 +17682,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -20536,107 +17747,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryTableDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -20707,13 +17817,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -20745,7 +17855,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -20810,107 +17920,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -21383,13 +18392,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryValueDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -21421,7 +18430,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -21486,107 +18495,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryValueDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -21657,13 +18565,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -21695,7 +18603,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -21760,107 +18668,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryValueDefinitionRequestAuditQueryMultiCompute(dict): def __init__(__self__, *, @@ -22379,13 +19186,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryValueDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -22417,7 +19224,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -22482,107 +19289,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryValueDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -23208,7 +19914,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -23216,7 +19922,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -23259,7 +19965,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -23332,90 +20038,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetQueryValueDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -23780,13 +20402,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryValueDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -23818,7 +20440,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -23883,107 +20505,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryValueDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -24054,13 +20575,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -24092,7 +20613,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -24157,107 +20678,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -25495,7 +21915,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -25503,7 +21923,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -25546,7 +21966,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -25619,90 +22039,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -26183,13 +22519,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -26221,7 +22557,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -26286,107 +22622,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestXApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -26457,13 +22692,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -26495,7 +22730,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -26560,107 +22795,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestXLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -26804,13 +22938,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -26842,7 +22976,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -26907,107 +23041,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestXRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -27078,13 +23111,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -27116,7 +23149,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -27181,107 +23214,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -27468,13 +23400,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -27506,7 +23438,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -27571,107 +23503,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestYApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -27742,13 +23573,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -27780,7 +23611,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -27845,107 +23676,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestYLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -28089,13 +23819,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -28127,7 +23857,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -28192,107 +23922,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestYRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -28363,13 +23992,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -28401,7 +24030,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitio @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -28466,107 +24095,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -30284,13 +25812,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetSunburstDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -30322,7 +25850,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRe @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -30387,107 +25915,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetSunburstDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetSunburstDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -30558,13 +25985,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetSunburstDefinitionRequestAuditQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -30596,7 +26023,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRe @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -30661,107 +26088,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetSunburstDefinitionRequestAuditQueryMultiCompute(dict): def __init__(__self__, *, @@ -31145,13 +26471,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetSunburstDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -31183,7 +26509,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRe @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -31248,107 +26574,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetSunburstDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetSunburstDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -31419,13 +26644,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -31457,7 +26682,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRe @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -31522,107 +26747,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetSunburstDefinitionRequestNetworkQueryMultiCompute(dict): def __init__(__self__, *, @@ -32248,7 +27372,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -32256,7 +27380,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -32299,7 +27423,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -32372,90 +27496,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetSunburstDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -32820,13 +27860,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetSunburstDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -32858,7 +27898,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRe @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -32923,107 +27963,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetSunburstDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetSunburstDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -33094,13 +28033,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -33132,7 +28071,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRe @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -33197,107 +28136,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetSunburstDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -33975,13 +28813,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -34013,7 +28851,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -34078,107 +28916,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetTimeseriesDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -34249,13 +28986,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -34287,7 +29024,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -34352,107 +29089,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute(dict): def __init__(__self__, *, @@ -34836,13 +29472,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -34874,7 +29510,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -34940,39 +29576,29 @@ def interval(self) -> Optional[int]: @pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - +class DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, + aggregation: str, facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery'] = None): + interval: Optional[int] = None): """ + :param str aggregation: The aggregation method. :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. + :param int interval: Define the time interval in seconds. """ + pulumi.set(__self__, "aggregation", aggregation) if facet is not None: pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) + if interval is not None: + pulumi.set(__self__, "interval", interval) + + @property + @pulumi.getter + def aggregation(self) -> str: + """ + The aggregation method. + """ + return pulumi.get(self, "aggregation") @property @pulumi.getter @@ -34984,64 +29610,151 @@ def facet(self) -> Optional[str]: @property @pulumi.getter - def limit(self) -> Optional[int]: + def interval(self) -> Optional[int]: """ - The maximum number of items in the group. + Define the time interval in seconds. """ - return pulumi.get(self, "limit") + return pulumi.get(self, "interval") + + +@pulumi.output_type +class DashboardWidgetTimeseriesDefinitionRequestMetadata(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "aliasName": + suggest = "alias_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestMetadata. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetTimeseriesDefinitionRequestMetadata.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetTimeseriesDefinitionRequestMetadata.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + expression: str, + alias_name: Optional[str] = None): + """ + :param str expression: The expression name. + :param str alias_name: The expression alias. + """ + pulumi.set(__self__, "expression", expression) + if alias_name is not None: + pulumi.set(__self__, "alias_name", alias_name) @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery']: + @pulumi.getter + def expression(self) -> str: """ - A list of exactly one element describing the sort query to use. + The expression name. """ - return pulumi.get(self, "sort_query") + return pulumi.get(self, "expression") + + @property + @pulumi.getter(name="aliasName") + def alias_name(self) -> Optional[str]: + """ + The expression alias. + """ + return pulumi.get(self, "alias_name") @pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery(dict): +class DashboardWidgetTimeseriesDefinitionRequestNetworkQuery(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "computeQuery": + suggest = "compute_query" + elif key == "groupBies": + suggest = "group_bies" + elif key == "multiComputes": + suggest = "multi_computes" + elif key == "searchQuery": + suggest = "search_query" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestNetworkQuery. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): + index: str, + compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery'] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, + multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute']] = None, + search_query: Optional[str] = None): """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. + :param str index: The name of the index to query. + :param 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + :param str search_query: The search query to use. """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) + pulumi.set(__self__, "index", index) + if compute_query is not None: + pulumi.set(__self__, "compute_query", compute_query) + if group_bies is not None: + pulumi.set(__self__, "group_bies", group_bies) + if multi_computes is not None: + pulumi.set(__self__, "multi_computes", multi_computes) + if search_query is not None: + pulumi.set(__self__, "search_query", search_query) @property @pulumi.getter - def aggregation(self) -> str: + def index(self) -> str: """ - The aggregation method. + The name of the index to query. """ - return pulumi.get(self, "aggregation") + return pulumi.get(self, "index") @property - @pulumi.getter - def order(self) -> str: + @pulumi.getter(name="computeQuery") + def compute_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery']: """ - Widget sorting methods. Valid values are `asc`, `desc`. + `compute_query` or `multi_compute` is required. The map keys are listed below. """ - return pulumi.get(self, "order") + return pulumi.get(self, "compute_query") @property - @pulumi.getter - def facet(self) -> Optional[str]: + @pulumi.getter(name="groupBies") + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ - The facet name. + Multiple `group_by` blocks are allowed using the structure below. """ - return pulumi.get(self, "facet") + return pulumi.get(self, "group_bies") + + @property + @pulumi.getter(name="multiComputes") + def multi_computes(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute']]: + """ + `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. + """ + return pulumi.get(self, "multi_computes") + + @property + @pulumi.getter(name="searchQuery") + def search_query(self) -> Optional[str]: + """ + The search query to use. + """ + return pulumi.get(self, "search_query") @pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestLogQueryMultiCompute(dict): +class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery(dict): def __init__(__self__, *, aggregation: str, facet: Optional[str] = None, @@ -35082,285 +29795,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestMetadata(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "aliasName": - suggest = "alias_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestMetadata. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestMetadata.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestMetadata.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - expression: str, - alias_name: Optional[str] = None): - """ - :param str expression: The expression name. - :param str alias_name: The expression alias. - """ - pulumi.set(__self__, "expression", expression) - if alias_name is not None: - pulumi.set(__self__, "alias_name", alias_name) - - @property - @pulumi.getter - def expression(self) -> str: - """ - The expression name. - """ - return pulumi.get(self, "expression") - - @property - @pulumi.getter(name="aliasName") - def alias_name(self) -> Optional[str]: - """ - The expression alias. - """ - return pulumi.get(self, "alias_name") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestNetworkQuery(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "computeQuery": - suggest = "compute_query" - elif key == "groupBies": - suggest = "group_bies" - elif key == "multiComputes": - suggest = "multi_computes" - elif key == "searchQuery": - suggest = "search_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestNetworkQuery. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestNetworkQuery.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - index: str, - compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy']] = None, - multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute']] = None, - search_query: Optional[str] = None): - """ - :param str index: The name of the index to query. - :param 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - :param str search_query: The search query to use. - """ - pulumi.set(__self__, "index", index) - if compute_query is not None: - pulumi.set(__self__, "compute_query", compute_query) - if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) - if multi_computes is not None: - pulumi.set(__self__, "multi_computes", multi_computes) - if search_query is not None: - pulumi.set(__self__, "search_query", search_query) - - @property - @pulumi.getter - def index(self) -> str: - """ - The name of the index to query. - """ - return pulumi.get(self, "index") - - @property - @pulumi.getter(name="computeQuery") - def compute_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery']: - """ - `compute_query` or `multi_compute` is required. The map keys are listed below. - """ - return pulumi.get(self, "compute_query") - - @property - @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy']]: - """ - Multiple `group_by` blocks are allowed using the structure below. - """ - return pulumi.get(self, "group_bies") - - @property - @pulumi.getter(name="multiComputes") - def multi_computes(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute']]: - """ - `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. - """ - return pulumi.get(self, "multi_computes") - - @property - @pulumi.getter(name="searchQuery") - def search_query(self) -> Optional[str]: - """ - The search query to use. - """ - return pulumi.get(self, "search_query") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery(dict): - def __init__(__self__, *, - aggregation: str, - facet: Optional[str] = None, - interval: Optional[int] = None): - """ - :param str aggregation: The aggregation method. - :param str facet: The facet name. - :param int interval: Define the time interval in seconds. - """ - pulumi.set(__self__, "aggregation", aggregation) - if facet is not None: - pulumi.set(__self__, "facet", facet) - if interval is not None: - pulumi.set(__self__, "interval", interval) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def interval(self) -> Optional[int]: - """ - Define the time interval in seconds. - """ - return pulumi.get(self, "interval") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute(dict): def __init__(__self__, *, @@ -35986,7 +30420,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -35994,7 +30428,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -36037,7 +30471,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -36110,90 +30544,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetTimeseriesDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -36558,13 +30908,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -36596,7 +30946,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -36661,107 +31011,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetTimeseriesDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -36832,13 +31081,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -36870,7 +31119,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinition @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -36935,107 +31184,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -37672,13 +31820,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestApmQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetToplistDefinitionRequestApmQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetToplistDefinitionRequestApmQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetToplistDefinitionRequestApmQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -37710,7 +31858,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -37775,107 +31923,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestApmQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetToplistDefinitionRequestApmQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetToplistDefinitionRequestApmQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestApmQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetToplistDefinitionRequestApmQueryMultiCompute(dict): def __init__(__self__, *, @@ -37946,13 +31993,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetToplistDefinitionRequestAuditQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -37984,7 +32031,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -38049,107 +32096,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetToplistDefinitionRequestAuditQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetToplistDefinitionRequestAuditQueryMultiCompute(dict): def __init__(__self__, *, @@ -38668,13 +32614,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestLogQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetToplistDefinitionRequestLogQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetToplistDefinitionRequestLogQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetToplistDefinitionRequestLogQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -38706,7 +32652,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -38771,107 +32717,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestLogQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetToplistDefinitionRequestLogQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetToplistDefinitionRequestLogQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestLogQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetToplistDefinitionRequestLogQueryMultiCompute(dict): def __init__(__self__, *, @@ -39497,7 +33342,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -39505,7 +33350,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetToplistDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetToplistDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -39548,7 +33393,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -39621,90 +33466,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetToplistDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *, @@ -40069,13 +33830,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestRumQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetToplistDefinitionRequestRumQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetToplistDefinitionRequestRumQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetToplistDefinitionRequestRumQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -40107,7 +33868,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -40172,107 +33933,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestRumQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetToplistDefinitionRequestRumQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetToplistDefinitionRequestRumQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestRumQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetToplistDefinitionRequestRumQueryMultiCompute(dict): def __init__(__self__, *, @@ -40343,13 +34003,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, index: str, compute_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQuery'] = None, - group_bies: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, multi_computes: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute']] = None, search_query: Optional[str] = None): """ :param str index: The name of the index to query. :param 'DashboardWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs' compute_query: `compute_query` or `multi_compute` is required. The map keys are listed below. - :param Sequence['DashboardWidgetToplistDefinitionRequestSecurityQueryGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Multiple `group_by` blocks are allowed using the structure below. :param Sequence['DashboardWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs'] multi_computes: `compute_query` or `multi_compute` is required. Multiple `multi_compute` blocks are allowed using the structure below. :param str search_query: The search query to use. """ @@ -40381,7 +34041,7 @@ def compute_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionReq @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Multiple `group_by` blocks are allowed using the structure below. """ @@ -40446,107 +34106,6 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sortQuery": - suggest = "sort_query" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - facet: Optional[str] = None, - limit: Optional[int] = None, - sort_query: Optional['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery'] = None): - """ - :param str facet: The facet name. - :param int limit: The maximum number of items in the group. - :param 'DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs' sort_query: A list of exactly one element describing the sort query to use. - """ - if facet is not None: - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort_query is not None: - pulumi.set(__self__, "sort_query", sort_query) - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The maximum number of items in the group. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter(name="sortQuery") - def sort_query(self) -> Optional['outputs.DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery']: - """ - A list of exactly one element describing the sort query to use. - """ - return pulumi.get(self, "sort_query") - - -@pulumi.output_type -class DashboardWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery(dict): - def __init__(__self__, *, - aggregation: str, - order: str, - facet: Optional[str] = None): - """ - :param str aggregation: The aggregation method. - :param str order: Widget sorting methods. Valid values are `asc`, `desc`. - :param str facet: The facet name. - """ - pulumi.set(__self__, "aggregation", aggregation) - pulumi.set(__self__, "order", order) - if facet is not None: - pulumi.set(__self__, "facet", facet) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation method. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def order(self) -> str: - """ - Widget sorting methods. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @property - @pulumi.getter - def facet(self) -> Optional[str]: - """ - The facet name. - """ - return pulumi.get(self, "facet") - - @pulumi.output_type class DashboardWidgetToplistDefinitionRequestSecurityQueryMultiCompute(dict): def __init__(__self__, *, @@ -41971,7 +35530,7 @@ def __init__(__self__, *, computes: Sequence['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryCompute'], data_source: str, name: str, - group_bies: Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy']] = None, + group_bies: Optional[Sequence['outputs.DashboardWidgetGroupBy']] = None, indexes: Optional[Sequence[str]] = None, search: Optional['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch'] = None, storage: Optional[str] = None): @@ -41979,7 +35538,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs'] computes: The compute options. :param str data_source: The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `security_signals`, `profiles`, `audit`, `events`, `ci_tests`, `ci_pipelines`. :param str name: The name of query for use in formulas. - :param Sequence['DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs'] group_bies: Group by options. + :param Sequence['DashboardWidgetGroupByArgs'] group_bies: Group by options. :param Sequence[str] indexes: An array of index names to query in the stream. :param 'DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs' search: The search options. :param str storage: Storage location (private beta). @@ -42022,7 +35581,7 @@ def name(self) -> str: @property @pulumi.getter(name="groupBies") - def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy']]: + def group_bies(self) -> Optional[Sequence['outputs.DashboardWidgetGroupBy']]: """ Group by options. """ @@ -42095,90 +35654,6 @@ def metric(self) -> Optional[str]: return pulumi.get(self, "metric") -@pulumi.output_type -class DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBy(dict): - def __init__(__self__, *, - facet: str, - limit: Optional[int] = None, - sort: Optional['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort'] = None): - """ - :param str facet: The event facet. - :param int limit: The number of groups to return. - :param 'DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs' sort: The options for sorting group by results. - """ - pulumi.set(__self__, "facet", facet) - if limit is not None: - pulumi.set(__self__, "limit", limit) - if sort is not None: - pulumi.set(__self__, "sort", sort) - - @property - @pulumi.getter - def facet(self) -> str: - """ - The event facet. - """ - return pulumi.get(self, "facet") - - @property - @pulumi.getter - def limit(self) -> Optional[int]: - """ - The number of groups to return. - """ - return pulumi.get(self, "limit") - - @property - @pulumi.getter - def sort(self) -> Optional['outputs.DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort']: - """ - The options for sorting group by results. - """ - return pulumi.get(self, "sort") - - -@pulumi.output_type -class DashboardWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort(dict): - def __init__(__self__, *, - aggregation: str, - metric: Optional[str] = None, - order: Optional[str] = None): - """ - :param str aggregation: The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - :param str metric: The metric used for sorting group by results. - :param str order: Direction of sort. Valid values are `asc`, `desc`. - """ - pulumi.set(__self__, "aggregation", aggregation) - if metric is not None: - pulumi.set(__self__, "metric", metric) - if order is not None: - pulumi.set(__self__, "order", order) - - @property - @pulumi.getter - def aggregation(self) -> str: - """ - The aggregation methods for the event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. - """ - return pulumi.get(self, "aggregation") - - @property - @pulumi.getter - def metric(self) -> Optional[str]: - """ - The metric used for sorting group by results. - """ - return pulumi.get(self, "metric") - - @property - @pulumi.getter - def order(self) -> Optional[str]: - """ - Direction of sort. Valid values are `asc`, `desc`. - """ - return pulumi.get(self, "order") - - @pulumi.output_type class DashboardWidgetTreemapDefinitionRequestQueryEventQuerySearch(dict): def __init__(__self__, *,